On Wed, Jun 19, 2013 at 12:02 AM, Dan Klco <[email protected]>wrote:

> Dishara,
>
> Hm, not that I know of at least.  I was not able to reproduce the issue
> you indicated.  Can you try re-running the item build with the command
> below?  This should run Maven in debug mode and start it at the project
> which failed.
>
> mvn install -rf :sling-servlet-archetype -X
>
> Now it gives me.

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test
(default-integration-test) on project sling-servlet-archetype:
[ERROR] Archetype IT 'normal' failed: Cannot run additions goals.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test
(default-integration-test) on project sling-servlet-archetype:
Archetype IT 'normal' failed: Cannot run additions goals.
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:319)
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:
Archetype IT 'normal' failed: Cannot run additions goals.
at
org.apache.maven.archetype.mojos.IntegrationTestMojo.execute(IntegrationTestMojo.java:268)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]


This is a checkout that I took like 1month back. I will totally update the
trunk and try build again.


> Also, what kind of environment do you have? OS? Java Versions? Etc.
>
It is a Linux(Ubuntu) and Sun JDK 1.6.X.



> Regards,
> Dan
>
>
> On 6/18/13 1:17 PM, "Dishara Wijewardana" <[email protected]> wrote:
>
> >Hi all,
> >I checked out the source from trunk and try to build from root.
> >Is this a known build failure. This occurs when building the trunk with or
> >without tests. Have anybody came across with this ?
> >
> >[INFO] Apache Sling Launchpad Testing Fragment Bundle .... SKIPPED
> >[INFO] Apache Sling Launchpad Test Bundles ............... SKIPPED
> >[INFO] Apache Sling Integration Tests .................... SKIPPED
> >[INFO] Apache Sling Launchpad Testing .................... SKIPPED
> >[INFO] Apache Sling (Builder) ............................ SKIPPED
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO] BUILD FAILURE
> >[INFO]
> >------------------------------------------------------------------------
> >[INFO] Total time: 1:15.047s
> >[INFO] Finished at: Tue Jun 18 14:43:28 IST 2013
> >[INFO] Final Memory: 85M/926M
> >[INFO]
> >------------------------------------------------------------------------
> >[ERROR] Failed to execute goal
> >org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test
> >(default-integration-test) on project sling-servlet-archetype:
> >[ERROR] Archetype IT 'normal' failed: Cannot run additions goals.
> >[ERROR] -> [Help 1]
> >[ERROR]
> >[ERROR] To see the full stack trace of the errors, re-run Maven with the
> >-e
> >switch.
> >[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 :sling-servlet-archetype
> >
> >
> >--
> >Thanks
> >/Dishara
>
>


-- 
Thanks
/Dishara

Reply via email to