-
Bug
-
Resolution: Fixed
-
Major
-
None
When I try to use maven assembly 2.2 with maven 3.0.2 it fails with exception:
[HUDSON] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ batch-service-activation --- [INFO] Building jar: /data/hudson/jobs/batch-svc-act-prod/workspace/target/batch-service-activation-2.0-SNAPSHOT.jar projectSucceeded sk.datalan.t-mobile.camib:batch-service-activation:2.0-SNAPSHOT [HUDSON] Archiving /data/hudson/jobs/batch-svc-act-prod/workspace/pom.xml to /data/hudson/jobs/batch-svc-act-prod/modules/sk.datalan.t-mobile.camib$batch-service-activation/builds/2011-02-21_13-31-32/archive/sk.datalan.t-mobile.camib/batch-service-activation/2.0-SNAPSHOT/pom.xml [HUDSON] Archiving /data/hudson/jobs/batch-svc-act-prod/workspace/target/batch-service-activation-2.0-SNAPSHOT.jar to /data/hudson/jobs/batch-svc-act-prod/modules/sk.datalan.t-mobile.camib$batch-service-activation/builds/2011-02-21_13-31-32/archive/sk.datalan.t-mobile.camib/batch-service-activation/2.0-SNAPSHOT/batch-service-activation-2.0-SNAPSHOT.jar [HUDSON] Collecting dependencies info [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Extranet :: Batch Service Activation 2.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ mojo forkStarted org.apache.maven.plugins:maven-assembly-plugin:2.2(default-cli) projectFailed sk.datalan.t-mobile.camib:batch-service-activation:2.0-SNAPSHOT sessionEnded [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.925s [INFO] Finished at: Mon Feb 21 13:32:29 CET 2011 [INFO] Final Memory: 13M/84M [INFO] ------------------------------------------------------------------------ mavenExecutionResult exceptions not empty org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:145) at hudson.maven.Maven3Builder.call(Maven3Builder.java:124) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at hudson.maven.MojoInfo.intercept(MojoInfo.java:208) at hudson.maven.reporters.MavenArtifactArchiver.preExecute(MavenArtifactArchiver.java:79) at hudson.maven.Maven3Builder$MavenExecutionListener.reccordMojoStarted(Maven3Builder.java:513) at hudson.maven.Maven3Builder$MavenExecutionListener.forkStarted(Maven3Builder.java:649) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:94) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:328) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) ... 24 more
- is duplicated by
-
JENKINS-8388 Maven plugin unable to make use of Maven 3's Paralell Builds
- Resolved