[
https://issues.jboss.org/browse/JBIDE-12278?page=com.atlassian.jira.plugi...
]
Nick Boldt closed JBIDE-12278.
------------------------------
Assignee: Nick Boldt (was: Mickael Istria)
Resolution: Done
This was simply an issue of "files not checked out into workspace, so could not be
found." Adding the extra checkout to the job config fixes this.
http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job...
maven-antrun-plugin fails on Central job
----------------------------------------
Key: JBIDE-12278
URL:
https://issues.jboss.org/browse/JBIDE-12278
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng, maven
Reporter: Mickael Istria
Assignee: Nick Boldt
Fix For: 3.4.0.M1
The maven-antrun-plugin in --central component build on CI fails:
See
http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job...
The cause is an issue when locating the ant file to run:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run
(install) on project central.site: An Ant BuildException has occured: Basedir
/mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--central/build/aggregate
does not exist -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.3:run (install) on project central.site: An
Ant BuildException has occured: Basedir
/mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--central/build/aggregate
does not exist
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException has
occured: Basedir
/mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--central/build/aggregate
does not exist
at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:131)
at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:98)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: Basedir
/mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.component--central/build/aggregate
does not exist
at org.apache.tools.ant.Project.setBaseDir(Project.java:819)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:324)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:118)
... 22 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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 :central.site
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira