Skip to content

Instantly share code, notes, and snippets.

@jbq
Created February 15, 2017 16:30
Show Gist options
  • Save jbq/aa7e2b7db56aa2cacd6364b220204889 to your computer and use it in GitHub Desktop.
Save jbq/aa7e2b7db56aa2cacd6364b220204889 to your computer and use it in GitHub Desktop.
pipeline-stage-view build error
[INFO] Pipeline Stage View Plugin: Parent POM ............. SUCCESS [ 9.067 s]
[INFO] Pipeline: REST API Plugin .......................... SUCCESS [01:41 min]
[INFO] Pipeline: Stage View Plugin ........................ FAILURE [ 30.300 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:22 min
[INFO] Finished at: 2017-02-15T17:29:24+01:00
[INFO] Final Memory: 52M/1422M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:1.117:resolve-test-dependencies (default-resolve-test-dependencies) on project pipeline-stage-view: Failed to copy dependency plugins: Source '/Users/jbq/ubleam/jenkins/pipeline-stage-view-plugin/rest-api/target/classes' exists but is a directory -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jenkins-ci.tools:maven-hpi-plugin:1.117:resolve-test-dependencies (default-resolve-test-dependencies) on project pipeline-stage-view: Failed to copy dependency plugins
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to copy dependency plugins
at org.jenkinsci.maven.plugins.hpi.TestDependencyMojo.execute(TestDependencyMojo.java:44)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: java.io.IOException: Source '/Users/jbq/ubleam/jenkins/pipeline-stage-view-plugin/rest-api/target/classes' exists but is a directory
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:639)
at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:606)
at org.jenkinsci.maven.plugins.hpi.TestDependencyMojo.execute(TestDependencyMojo.java:38)
... 22 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :pipeline-stage-view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment