openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: mvn package failing
Date Thu, 21 Oct 2010 14:05:35 GMT
Looks like I should be running "mvn package -DskipTests".

On Thu, Oct 21, 2010 at 8:46 AM, Rick Curtis <curtisr7@gmail.com> wrote:

> Has anyone tried to run "mvn package -Dmaven.test.skip=true" recently?
>
> I'm seeing this failure (on both IBM and Sun) :
>
> C:\...\trunk\openjpa-parent>mvn package -Dmaven.test.skip=true
> ....
> [INFO] [jar:test-jar {execution: attach-tests}]
> [INFO] Skipping packaging of the test-jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building OpenJPA XML Store
> [INFO]    task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> ....
> [INFO] [openjpa:test-enhance {execution: enhancer}]
> 78  xmlstore-simple  INFO   [main] openjpa.Tool - No targets were given.
> Running on all classes in your persistent classes list, or all metadata
> files in classpath directories
>  if you have not listed your persistent classes.  Use -help to display tool
> usage information.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] java.lang.ClassNotFoundException:
> org.apache.openjpa.xmlstore.simple.AllFieldTypes
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalArgumentException: java.lang.ClassNotFoundException:
> org.apache.openjpa.xmlstore.simple.AllFieldTypes
>         at serp.util.Strings.toClass(Strings.java:164)
>         at serp.util.Strings.toClass(Strings.java:108)
>         at serp.bytecode.BCClass.getType(BCClass.java:566)
>         at
> org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:283)
>         at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4676)
>         at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4623)
>         at
> org.apache.openjpa.enhance.PCEnhancer$1.run(PCEnhancer.java:4593)
>         at
> org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:741)
>         at
> org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:731)
>         at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4588)
>         at
> org.codehaus.mojo.openjpa.AbstractOpenJpaEnhancerMojo.enhance(AbstractOpenJpaEnhancerMojo.java:136)
>         at
> org.codehaus.mojo.openjpa.AbstractOpenJpaEnhancerMojo.execute(AbstractOpenJpaEnhancerMojo.java:95)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>         at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:600)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message