org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default- resources) on project anuragropu: Error loading property file 'D:\...\src\main\environments\${env}.properties'

Stack Overflow | user3879057 | 2 years ago
  1. 0

    maven resourse pluggin error

    Stack Overflow | 2 years ago | user3879057
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default- resources) on project anuragropu: Error loading property file 'D:\...\src\main\environments\${env}.properties'
  2. 0

    jshint maven goal fails with an exception during report generation

    GitHub | 2 years ago | GoogleCodeExporter
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint (default-cli) on project ops-ext4: Execution default-cli of goal ro.isdc.wro4j:wro4j-maven-plugin:1.6.0:jshint failed: Problem while adapting lint item at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifecycl eModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lifecycl eModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lifecyc leStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.ja va:161)
  3. 0

    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.

    Jenkins JIRA | 7 years ago | Costin Caraivan
    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)
  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 3 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

    Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default- resources) on project anuragropu: Error loading property file 'D:\...\src\main\environments\${env}.properties'

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute()
  2. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
    6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
    9 frames
  3. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
    3 frames
  4. Java RT
    NativeMethodAccessorImpl.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    2 frames