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)

coderanch.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Maven archetypes broken? (Ant, Maven and Build Tools forum at Coderanch)

    coderanch.com | 6 months ago
    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)
  2. 0

    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] ------------------------------------------------------------------------

    Jenkins JIRA | 7 years ago | bshine
    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)
  3. 0

    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

    Jenkins JIRA | 8 years ago | francisdb
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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] ------------------------------------------------------------------------

    Jenkins JIRA | 7 years ago | bshine
    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)
  6. 0

    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

    Jenkins JIRA | 8 years ago | francisdb
    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)

  1. davidvanlaatum 2 times, last 5 months ago
31 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    2. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    2 frames
  3. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    1 frame
  4. Java RT
    NativeMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    2 frames