org.apache.maven.lifecycle.LifecycleExecutionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I just sync'd to 1.328 and tried mvn clean install. Some investigation led me to discover a problem finding apt. I am running mac os x 10.5.8, and I have been able to build in the past without this problem. The workaround is: $ cd $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 $ sudo ln - s Home/bin bin Here's the maven output: 655 ~/src/svn-fresh/yhudson/hudson/trunk $ mvn -e install -DskipTests + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Hudson main module [INFO] Hudson remoting layer [INFO] Hudson CLI [INFO] Hudson core [INFO] Hudson Maven PluginManager interceptor [INFO] Hudson Maven CLI agent [INFO] Maven Integration plugin [INFO] Hudson war [INFO] Test harness for Hudson and plugins WAGON_VERSION: 1.0-beta-2 [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson main module [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/pom.xml to /Users/bshine/.m2/repository/org/jvnet/hudson/main/pom/1.328/pom-1.328.pom [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 3 source files to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/classes [INFO] [antrun-extended:run {execution: default}] [INFO] Executing tasks [unjar] Expanding: /Users/bshine/.m2/repository/args4j/args4j/2.0.16/args4j-2.0.16.jar into /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/classes [INFO] Executed tasks [INFO] [resources:testResources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 1 source file to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/test-classes [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] [jar:sign {execution: default}] [debug] jarsigner executable=[/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jarsigner] [debug] Executing: /bin/sh -c "cd /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting && /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jarsigner -verify /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/remoting-1.328.jar" [info] jar verified. [INFO] JAR /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/remoting-1.328.jar is already signed. Skipping. [INFO] [install:install] [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/remoting-1.328.jar to /Users/bshine/.m2/repository/org/jvnet/hudson/main/remoting/1.328/remoting-1.328.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson CLI [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] [localizer:generate {execution: default}] [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [WARNING] DEPRECATED [descriptorId]: Please use descriptorRefs instead [INFO] [assembly:attached {execution: default}] [INFO] Processing DependencySet (output=) [INFO] Building jar: /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/cli/target/cli-1.328-jar-with-dependencies.jar [INFO] [install:install] [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/cli/target/cli-1.328.jar to /Users/bshine/.m2/repository/org/jvnet/hudson/main/cli/1.328/cli-1.328.jar [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/cli/target/cli-1.328-jar-with-dependencies.jar to /Users/bshine/.m2/repository/org/jvnet/hudson/main/cli/1.328/cli-1.328-jar-with-dependencies.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson core [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] [localizer:generate {execution: default}] [INFO] [antlr:generate {execution: default}] [INFO] grammar: /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core/src/main/grammar/crontab.g [INFO] The grammar is already generated [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [antrun-extended:run {execution: default}] [INFO] Executing tasks [exec] Result: 1 [echo] The build id is: 1.328 (private-10/12/2009 04:18-bshine) [resolveArtifact] Copying /Users/bshine/.m2/repository/com/sun/winsw/winsw/1.8/winsw-1.8-bin.exe to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core/target/classes/windows-service/hudson.exe [INFO] Executed tasks [INFO] [resources:resources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [stapler:apt-compile] [INFO] Compiling 586 source files to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Fatal error compiling Embedded error: Error while executing the external compiler. error=2, No such file or directory [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error compiling at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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.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) Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling at org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:491) at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more Caused by: org.codehaus.plexus.compiler.CompilerException: Error while executing the external compiler. at org.kohsuke.stapler.AptCompiler.compileOutOfProcess(AptCompiler.java:148) at org.kohsuke.stapler.AptCompiler.compile(AptCompiler.java:71) at org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:486) ... 20 more Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:697) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:60) at org.kohsuke.stapler.AptCompiler.compileOutOfProcess(AptCompiler.java:143) ... 22 more Caused by: java.io.IOException: Cannot run program "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/../bin/apt" (in directory "/Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at java.lang.Runtime.exec(Runtime.java:593) at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:692) ... 25 more Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 27 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Mon Oct 12 16:18:53 PDT 2009 [INFO] Final Memory: 64M/125M [INFO] ------------------------------------------------------------------------
    via by bshine,
  • mvn clean site on the command line gives me no exceptions running it in hudson with the findbugs plugin disabled gives me no exceptions when enabling the plugin I have the following exception: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-site-plugin:2.0-beta-6 Cause: Cannot find setter nor field in org.apache.maven.plugins.site.SiteMojo for 'xmlOutput' [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.apache.maven.plugins:maven-site-plugin. Reason: Unable to parse the created DOM for plugin configuration at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:42) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:135) at hudson.maven.MavenBuilder.call(MavenBuilder.java:139) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:542) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:488) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:213) 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: org.apache.maven.plugin.PluginConfigurationException: Error configuring: org.apache.maven.plugins:maven-site-plugin. Reason: Unable to parse the created DOM for plugin configuration at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1288) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:661) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:159) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 28 more Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot find setter nor field in org.apache.maven.plugins.site.SiteMojo for 'xmlOutput' at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.<init>(ComponentValueSetter.java:68) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:134) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) at hudson.maven.agent.ComponentConfiguratorFilter.configureComponent(ComponentConfiguratorFilter.java:26) at hudson.maven.agent.PluginManagerInterceptor$MojoIntercepter.configureComponent(PluginManagerInterceptor.java:123) at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1282) ... 32 more
    via by francisdb,
  • I just sync'd to 1.328 and tried mvn clean install. Some investigation led me to discover a problem finding apt. I am running mac os x 10.5.8, and I have been able to build in the past without this problem. The workaround is: $ cd $JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0 $ sudo ln - s Home/bin bin Here's the maven output: 655 ~/src/svn-fresh/yhudson/hudson/trunk $ mvn -e install -DskipTests + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Hudson main module [INFO] Hudson remoting layer [INFO] Hudson CLI [INFO] Hudson core [INFO] Hudson Maven PluginManager interceptor [INFO] Hudson Maven CLI agent [INFO] Maven Integration plugin [INFO] Hudson war [INFO] Test harness for Hudson and plugins WAGON_VERSION: 1.0-beta-2 [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson main module [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/pom.xml to /Users/bshine/.m2/repository/org/jvnet/hudson/main/pom/1.328/pom-1.328.pom [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson remoting layer [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 3 source files to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/classes [INFO] [antrun-extended:run {execution: default}] [INFO] Executing tasks [unjar] Expanding: /Users/bshine/.m2/repository/args4j/args4j/2.0.16/args4j-2.0.16.jar into /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/classes [INFO] Executed tasks [INFO] [resources:testResources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 1 source file to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/test-classes [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] [jar:sign {execution: default}] [debug] jarsigner executable=[/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jarsigner] [debug] Executing: /bin/sh -c "cd /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting && /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/jarsigner -verify /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/remoting-1.328.jar" [info] jar verified. [INFO] JAR /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/remoting-1.328.jar is already signed. Skipping. [INFO] [install:install] [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/remoting/target/remoting-1.328.jar to /Users/bshine/.m2/repository/org/jvnet/hudson/main/remoting/1.328/remoting-1.328.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson CLI [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] [localizer:generate {execution: default}] [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [resources:resources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [WARNING] DEPRECATED [descriptorId]: Please use descriptorRefs instead [INFO] [assembly:attached {execution: default}] [INFO] Processing DependencySet (output=) [INFO] Building jar: /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/cli/target/cli-1.328-jar-with-dependencies.jar [INFO] [install:install] [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/cli/target/cli-1.328.jar to /Users/bshine/.m2/repository/org/jvnet/hudson/main/cli/1.328/cli-1.328.jar [INFO] Installing /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/cli/target/cli-1.328-jar-with-dependencies.jar to /Users/bshine/.m2/repository/org/jvnet/hudson/main/cli/1.328/cli-1.328-jar-with-dependencies.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Hudson core [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce {execution: default}] [INFO] [enforcer:display-info {execution: default}] [INFO] Maven Version: 2.0.9 [INFO] JDK Version: 1.6.0_15 normalized as: 1.6.0-15 [INFO] OS Info: Arch: x86_64 Family: mac Name: mac os x Version: 10.5.8 [INFO] [localizer:generate {execution: default}] [INFO] [antlr:generate {execution: default}] [INFO] grammar: /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core/src/main/grammar/crontab.g [INFO] The grammar is already generated [INFO] [remote-resources:process {execution: default}] [INFO] inceptionYear not specified, defaulting to 2009 [INFO] [antrun-extended:run {execution: default}] [INFO] Executing tasks [exec] Result: 1 [echo] The build id is: 1.328 (private-10/12/2009 04:18-bshine) [resolveArtifact] Copying /Users/bshine/.m2/repository/com/sun/winsw/winsw/1.8/winsw-1.8-bin.exe to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core/target/classes/windows-service/hudson.exe [INFO] Executed tasks [INFO] [resources:resources] [INFO] Using encoding: 'UTF-8' to copy filtered resources. [INFO] [stapler:apt-compile] [INFO] Compiling 586 source files to /Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core/target/classes [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Fatal error compiling Embedded error: Error while executing the external compiler. error=2, No such file or directory [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error compiling at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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.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) Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling at org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:491) at org.kohsuke.stapler.CompilerMojo.execute(CompilerMojo.java:111) at org.kohsuke.stapler.AptMojo.execute(AptMojo.java:21) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more Caused by: org.codehaus.plexus.compiler.CompilerException: Error while executing the external compiler. at org.kohsuke.stapler.AptCompiler.compileOutOfProcess(AptCompiler.java:148) at org.kohsuke.stapler.AptCompiler.compile(AptCompiler.java:71) at org.kohsuke.stapler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:486) ... 20 more Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process. at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:697) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:60) at org.kohsuke.stapler.AptCompiler.compileOutOfProcess(AptCompiler.java:143) ... 22 more Caused by: java.io.IOException: Cannot run program "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/../bin/apt" (in directory "/Users/bshine/src/svn-fresh/yhudson/hudson/trunk/core"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at java.lang.Runtime.exec(Runtime.java:593) at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:692) ... 25 more Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 27 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Mon Oct 12 16:18:53 PDT 2009 [INFO] Final Memory: 64M/125M [INFO] ------------------------------------------------------------------------
    via by bshine,
  • mvn clean site on the command line gives me no exceptions running it in hudson with the findbugs plugin disabled gives me no exceptions when enabling the plugin I have the following exception: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-site-plugin:2.0-beta-6 Cause: Cannot find setter nor field in org.apache.maven.plugins.site.SiteMojo for 'xmlOutput' [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.apache.maven.plugins:maven-site-plugin. Reason: Unable to parse the created DOM for plugin configuration at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:42) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:135) at hudson.maven.MavenBuilder.call(MavenBuilder.java:139) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:542) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:488) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:213) 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: org.apache.maven.plugin.PluginConfigurationException: Error configuring: org.apache.maven.plugins:maven-site-plugin. Reason: Unable to parse the created DOM for plugin configuration at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1288) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:661) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:159) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 28 more Caused by: org.codehaus.plexus.component.configurator.ComponentConfigurationException: Cannot find setter nor field in org.apache.maven.plugins.site.SiteMojo for 'xmlOutput' at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.<init>(ComponentValueSetter.java:68) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:134) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56) at hudson.maven.agent.ComponentConfiguratorFilter.configureComponent(ComponentConfiguratorFilter.java:26) at hudson.maven.agent.PluginManagerInterceptor$MojoIntercepter.configureComponent(PluginManagerInterceptor.java:123) at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1282) ... 32 more
    via by francisdb,
  • Hello, Environment: Windows 2003, Java 1.5.0_09-b03, Hudson ver.1.321 (war + Winstone) - Linux master + several slaves (Windows, Sun Sparc, ...). This build is ran on Windows. We have a Maven build which launches a PDE build script. The build tries to delete some folders but it fails to, and then the whole build fails. The build works locally, it does not work in Hudson. Maybe Hudson is failing to close some processes which use those folders? Part of the stack trace: [INFO] [pde:clean {execution: clean-pde}] [TASKS] Scanning folder '$HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\..\..\plugins' for tasks ... [TASKS] Found 91. [TASKS] Skipping non-existent folder '$HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\src\main\resources'... [TASKS] File encoding has not been set in pom.xml, using platform encoding windows-1252, i.e. build is platform dependent (see <a href="http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding">Maven FAQ</a>). [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.2:clean' --> [DEBUG] (f) directory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target [DEBUG] (f) failOnError = true [DEBUG] (f) followSymLinks = false [DEBUG] (f) outputDirectory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target\pdeTemp\plugins [DEBUG] (f) project = MavenProject: com.axway.$PROJECT.features:com.axway.$PROJECT.features.alltests:1.0.0-SNAPSHOT @ $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\pom.xml [DEBUG] (f) reportDirectory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target\site [DEBUG] (f) skip = false [DEBUG] (f) testOutputDirectory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target\test-classes [DEBUG] (f) verbose = false [DEBUG] -- end configuration -- [INFO] [clean:clean] [INFO] Deleting directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target [TASKS] Skipping maven reporter: there is already a result available. [HUDSON] Archiving $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\pom.xml to /home/axhudson/.hudson/jobs/$PROJECT_trunk/modules/com.axway.$PROJECT.features$com.axway.$PROJECT.features.alltests/builds/2009-08-25_16-01-49/archive/com.axway.$PROJECT.features/com.axway.$PROJECT.features.alltests/1.0.0-SNAPSHOT/pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to delete directory: $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target. Reason: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Failed to delete directory: $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target. Reason: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:685) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:631) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) 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: org.apache.maven.plugin.MojoExecutionException: Failed to delete directory: $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target. Reason: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target at org.apache.maven.plugin.clean.CleanMojo.removeDirectory(CleanMojo.java:265) at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:173) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 28 more Caused by: java.io.IOException: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target at org.apache.maven.shared.model.fileset.util.FileSetManager.removeDir(FileSetManager.java:599) at org.apache.maven.shared.model.fileset.util.FileSetManager.delete(FileSetManager.java:309) at org.apache.maven.plugin.clean.CleanMojo.removeDirectory(CleanMojo.java:261) ... 32 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20 minutes 13 seconds [INFO] Finished at: Tue Aug 25 17:23:25 EEST 2009 [INFO] Final Memory: 68M/254M [INFO] ------------------------------------------------------------------------ ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) at hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:98) at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:676) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:486) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) project=hudson.maven.MavenModuleSet@fd3fba[$PROJECT_trunk] project.getModules()=[hudson.maven.MavenModule@de4588[$PROJECT_trunk/com.axway.$PROJECT:com.axway.$PROJECT], hudson.maven.MavenModule@a6fed5[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.aggregator], hudson.maven.MavenModule@1a489ad[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.eclipseunpacker], hudson.maven.MavenModule@14ae19a[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.externals], hudson.maven.MavenModule@1214726[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.site], hudson.maven.MavenModule@1c624e2[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.allfeatures], hudson.maven.MavenModule@19f963e[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.alltests], hudson.maven.MavenModule@40d1b0[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.build], hudson.maven.MavenModule@186b570[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.core], hudson.maven.MavenModule@f1f2cc[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.service], hudson.maven.MavenModule@7b6d1c[$PROJECT_trunk/com.axway.$PROJECT.plugins:com.axway.$PROJECT.plugins.application], hudson.maven.MavenModule@1387498[$PROJECT_trunk/com.axway.$PROJECT.plugins:com.axway.$PROJECT.plugins.libs], hudson.maven.MavenModule@16ee240[$PROJECT_trunk/com.axway.$PROJECT.plugins:com.axway.$PROJECT.plugins.libstest], hudson.maven.MavenModule@132b832[$PROJECT_trunk/com.axway.$PROJECT.tools:com.axway.$PROJECT.tools.commons], hudson.maven.MavenModule@c8191c[$PROJECT_trunk/com.axway.$PROJECT.tools:com.axway.$PROJECT.tools.runtimeprocessor]] project.getRootModule()=hudson.maven.MavenModule@a6fed5[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.aggregator] FATAL: /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test not found. /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) at hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:98) at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:676) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:486) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) I decided to follow the instructions at in the log :) My guess is that Hudson is somehow messing up the paths here: /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test The start of the path seems to be from the master, while the rest is from the slave ($HUDSON_DIR contains a drive letter, for example). Thank you, Costin.
    via by Costin Caraivan,
  • This is the same as issue #503. I was not able to re-open that one. I'm getting it in 1.132. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error assembling WAR Embedded error: The attribute "Hudson-Build-Number" may not occur more than once in the same section [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error assembling WAR at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:35) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) 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:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:97) at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:175) at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:143) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:178) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.maven.plugin.MojoExecutionException: Error assembling WAR at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:135) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:132) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 24 more Caused by: org.codehaus.plexus.archiver.jar.ManifestException: The attribute "Hudson-Build-Number" may not occur more than once in the same section at org.codehaus.plexus.archiver.jar.Manifest$Section.addAttributeAndCheck(Manifest.java:727) at org.codehaus.plexus.archiver.jar.Manifest$Section.addConfiguredAttribute(Manifest.java:658) at org.codehaus.plexus.archiver.jar.Manifest.addConfiguredAttribute(Manifest.java:1000) at org.apache.maven.archiver.MavenArchiver.createArchive(MavenArchiver.java:354) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:177) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:127) ... 27 more
    via by kgeis,
  • Hello, Environment: Windows 2003, Java 1.5.0_09-b03, Hudson ver.1.321 (war + Winstone) - Linux master + several slaves (Windows, Sun Sparc, ...). This build is ran on Windows. We have a Maven build which launches a PDE build script. The build tries to delete some folders but it fails to, and then the whole build fails. The build works locally, it does not work in Hudson. Maybe Hudson is failing to close some processes which use those folders? Part of the stack trace: [INFO] [pde:clean {execution: clean-pde}] [TASKS] Scanning folder '$HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\..\..\plugins' for tasks ... [TASKS] Found 91. [TASKS] Skipping non-existent folder '$HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\src\main\resources'... [TASKS] File encoding has not been set in pom.xml, using platform encoding windows-1252, i.e. build is platform dependent (see <a href="http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding">Maven FAQ</a>). [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.2:clean' --> [DEBUG] (f) directory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target [DEBUG] (f) failOnError = true [DEBUG] (f) followSymLinks = false [DEBUG] (f) outputDirectory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target\pdeTemp\plugins [DEBUG] (f) project = MavenProject: com.axway.$PROJECT.features:com.axway.$PROJECT.features.alltests:1.0.0-SNAPSHOT @ $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\pom.xml [DEBUG] (f) reportDirectory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target\site [DEBUG] (f) skip = false [DEBUG] (f) testOutputDirectory = $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target\test-classes [DEBUG] (f) verbose = false [DEBUG] -- end configuration -- [INFO] [clean:clean] [INFO] Deleting directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target [TASKS] Skipping maven reporter: there is already a result available. [HUDSON] Archiving $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\pom.xml to /home/axhudson/.hudson/jobs/$PROJECT_trunk/modules/com.axway.$PROJECT.features$com.axway.$PROJECT.features.alltests/builds/2009-08-25_16-01-49/archive/com.axway.$PROJECT.features/com.axway.$PROJECT.features.alltests/1.0.0-SNAPSHOT/pom.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to delete directory: $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target. Reason: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Failed to delete directory: $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target. Reason: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:685) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:631) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) 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: org.apache.maven.plugin.MojoExecutionException: Failed to delete directory: $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target. Reason: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target at org.apache.maven.plugin.clean.CleanMojo.removeDirectory(CleanMojo.java:265) at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:173) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678) ... 28 more Caused by: java.io.IOException: Unable to delete directory $HUDSON_DIR\workspace\$PROJECT_trunk\$PROJECT\features\com.axway.$PROJECT.features.all$PROJECT.test\target at org.apache.maven.shared.model.fileset.util.FileSetManager.removeDir(FileSetManager.java:599) at org.apache.maven.shared.model.fileset.util.FileSetManager.delete(FileSetManager.java:309) at org.apache.maven.plugin.clean.CleanMojo.removeDirectory(CleanMojo.java:261) ... 32 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20 minutes 13 seconds [INFO] Finished at: Tue Aug 25 17:23:25 EEST 2009 [INFO] Final Memory: 68M/254M [INFO] ------------------------------------------------------------------------ ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) at hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:98) at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:676) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:486) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) project=hudson.maven.MavenModuleSet@fd3fba[$PROJECT_trunk] project.getModules()=[hudson.maven.MavenModule@de4588[$PROJECT_trunk/com.axway.$PROJECT:com.axway.$PROJECT], hudson.maven.MavenModule@a6fed5[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.aggregator], hudson.maven.MavenModule@1a489ad[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.eclipseunpacker], hudson.maven.MavenModule@14ae19a[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.externals], hudson.maven.MavenModule@1214726[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.site], hudson.maven.MavenModule@1c624e2[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.allfeatures], hudson.maven.MavenModule@19f963e[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.alltests], hudson.maven.MavenModule@40d1b0[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.build], hudson.maven.MavenModule@186b570[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.core], hudson.maven.MavenModule@f1f2cc[$PROJECT_trunk/com.axway.$PROJECT.features:com.axway.$PROJECT.features.service], hudson.maven.MavenModule@7b6d1c[$PROJECT_trunk/com.axway.$PROJECT.plugins:com.axway.$PROJECT.plugins.application], hudson.maven.MavenModule@1387498[$PROJECT_trunk/com.axway.$PROJECT.plugins:com.axway.$PROJECT.plugins.libs], hudson.maven.MavenModule@16ee240[$PROJECT_trunk/com.axway.$PROJECT.plugins:com.axway.$PROJECT.plugins.libstest], hudson.maven.MavenModule@132b832[$PROJECT_trunk/com.axway.$PROJECT.tools:com.axway.$PROJECT.tools.commons], hudson.maven.MavenModule@c8191c[$PROJECT_trunk/com.axway.$PROJECT.tools:com.axway.$PROJECT.tools.runtimeprocessor]] project.getRootModule()=hudson.maven.MavenModule@a6fed5[$PROJECT_trunk/com.axway.$PROJECT.config:com.axway.$PROJECT.config.aggregator] FATAL: /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test not found. /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) at hudson.plugins.violations.ViolationsCollector.findFiles(ViolationsCollector.java:215) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:166) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:110) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:98) at hudson.maven.MavenModuleSetBuild$Builder.end(MavenModuleSetBuild.java:676) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:486) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) I decided to follow the instructions at in the log :) My guess is that Hudson is somehow messing up the paths here: /axinteg/users/axhudson/tools/scripts/$HUDSON_DIR/workspace/$PROJECT_trunk/$PROJECT/scripts/pom-libs/../../plugins/com.axway.$PROJECT.libs.test The start of the path seems to be from the master, while the rest is from the slave ($HUDSON_DIR contains a drive letter, for example). Thank you, Costin.
    via by Costin Caraivan,
  • maven resourse pluggin error
    via Stack Overflow by user3879057
    ,
    • org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin mana ger executing goal 'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:generate' : Unable to find the mojo 'org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-3:ge nerate' in the plugin 'org.apache.maven.plugins:maven-archetype-plugin' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecy cleExecutor.java:562) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(Defa ultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecyc leExecutor.java:482) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailur es(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defaul tLifecycleExecutor.java:227) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleEx ecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    2 times, last one,
    Unknown visitor1 times, last one,
    28 more bugmates