Hi,
I got a fresh checkout from trunk [1] and still it build fails. I am using
maven 3 to build this. I also tried adding the settings.xml file as per
readme inside .m2/settings.xml.
Still fails. Any idea why ?

[1] - https://svn.apache.org/repos/asf/sling/trunk


[INFO] Reactor Summary:
[INFO]
[INFO] Apache Sling JAR Resource Bundle .................. SUCCESS [2.325s]
[INFO] Apache Sling (Parent) ............................. SUCCESS [4.092s]
[INFO] Sling Adapter Annotations ......................... SUCCESS [3.493s]
[INFO] Apache Sling Maven Plugin to create Jackrabbit OCM descriptors
 SUCCESS [2.021s]
[INFO] Apache Sling Maven Plugin for Compiling JSP Sources into Bundles
 SUCCESS [1.560s]
[INFO] Apache Sling Maven Plugin for Supporting Bundle Development  SUCCESS
[1.533s]
[INFO] Apache Sling Launchpad Maven Plugin ............... SUCCESS [5.988s]
[INFO] Sling Launchpad Standalone Archetype .............. SUCCESS [1.539s]
[INFO] Sling Launchpad Webapp Archetype .................. SUCCESS [0.508s]
[INFO] Sling Initial Content Archetype ................... SUCCESS [0.478s]
[INFO] Sling Servlet Archetype ........................... FAILURE [2.460s]
[INFO] Sling Bundle Archetype ............................ SKIPPED
[INFO] Sling JCRInstall Bundle Archetype ................. SKIPPED
[INFO] Sling Taglib Archetype ............................ SKIPPED
[INFO] Apache Sling API .................................. SKIPPED
[INFO] Apache Sling Resource Resolver .................... SKIPPED
[INFO] Apache Sling System Bundle Extension: Java Transaction API  SKIPPED
[INFO] Apache Sling System Bundle Extension: XML APIs .... SKIPPED
[INFO] Apache Sling System Bundle Extension: Activation API  SKIPPED
[INFO] Apache Sling System Bundle Extension: WS APIs ..... SKIPPED
[INFO] Apache Sling Dynamic Class Loader Support ......... SKIPPED
[INFO] Apache Sling JSON Library ......................... SKIPPED
[INFO] Apache Sling SLF4J Implementation ................. SKIPPED
[INFO] Apache Sling OSGi LogService Implementation ....... SKIPPED
[INFO] Apache Sling MIME type mapping support ............ SKIPPED
[INFO] Apache Sling Commons OSGi support ................. SKIPPED
[INFO] Apache Sling Scheduler Support .................... SKIPPED
[INFO] Apache Sling Testing Utilities .................... SKIPPED
[INFO] Apache Sling Thread Support ....................... SKIPPED
[INFO] Apache Sling Authentication Service ............... SKIPPED
[INFO] Apache Sling OpenID Authentication ................ SKIPPED
[INFO] Apache Sling Form Based Authentication Handler .... SKIPPED
[INFO] Apache Sling Authentication Selector .............. SKIPPED
[INFO] Apache Sling Engine Implementation ................ SKIPPED
[INFO] Apache Sling Repository API Bundle ................ SKIPPED
[INFO] Apache Sling JCR Base Bundle ...................... SKIPPED
[INFO] Apache Sling JCR ClassLoader ...................... SKIPPED
[INFO] Apache Sling Initial Content Loader ............... SKIPPED
[INFO] Apache Sling Jackrabbit Embedded Repository ....... SKIPPED
[INFO] Apache Sling Jackrabbit UserManager Support ....... SKIPPED
[INFO] Apache Sling Jackrabbit JSR-283 Access Control Manager Support
 SKIPPED
[INFO] Apache Sling Wrapper Bundle for the JCR API ....... SKIPPED
[INFO] Apache Sling Object Content Mapping ............... SKIPPED
[INFO] Apache Sling JCR Resource Resolver ................ SKIPPED
[INFO] Apache Sling JCR Repository Registration .......... SKIPPED
[INFO] Apache Sling Simple WebDAV Access to repositories . SKIPPED
[INFO] Apache Sling DavEx Access to repositories ......... SKIPPED
[INFO] Apache Sling JCR WebConsole Bundle ................ SKIPPED
[INFO] Apache Sling Servlet Resolver ..................... SKIPPED
[INFO] Apache Sling Default GET Servlets ................. SKIPPED
[INFO] Apache Sling Default POST Servlets ................ SKIPPED
[INFO] Apache Sling Compat Servlets ...................... SKIPPED
[INFO] Apache Sling Scripting Implementation API ......... SKIPPED
[INFO] Apache Sling Scripting Core implementation ........ SKIPPED
[INFO] Apache Sling Scripting JavaScript Support ......... SKIPPED
[INFO] Apache Sling Scripting JSP Support ................ SKIPPED
[INFO] Apache Sling JSP Tag Library ...................... SKIPPED
[INFO] Apache Sling JSP Standard Tag Library ............. SKIPPED
[INFO] Apache Sling Adapter Manager Implementation ....... SKIPPED
[INFO] Apache Sling Bundle Resource Provider ............. SKIPPED
[INFO] Apache Sling Discovery API ........................ SKIPPED
[INFO] Apache Sling Resource-Based Discovery Service ..... SKIPPED
[INFO] Apache Sling Discovery Support Bundle ............. SKIPPED
[INFO] Apache Sling Discovery Standalone Implementation .. SKIPPED
[INFO] Apache Sling Event Support ........................ SKIPPED
[INFO] Apache Sling Filesystem Resource Provider ......... SKIPPED
[INFO] Apache Sling javax.activation bundle .............. SKIPPED
[INFO] Apache Sling Settings ............................. SKIPPED
[INFO] Apache Sling Thread Dumper ........................ SKIPPED
[INFO] Apache Sling Web Console Branding ................. SKIPPED
[INFO] Apache Sling Web Console Security Provider ........ SKIPPED
[INFO] Apache Sling Groovy Extensions .................... SKIPPED
[INFO] Apache Sling Explorer ............................. SKIPPED
[INFO] Apache Sling Test Tools ........................... SKIPPED
[INFO] Apache Sling JUnit Core ........................... SKIPPED
[INFO] Apache Sling JUnit Scriptable Tests Provider ...... SKIPPED
[INFO] Apache Sling JUnit Remote Tests Runners ........... SKIPPED
[INFO] Apache Sling Testing Resource Resolver Mock ....... SKIPPED
[INFO] Apache Sling Installer API ........................ SKIPPED
[INFO] Apache Sling Installer ............................ SKIPPED
[INFO] Apache Sling Installer WebConsole Plugin .......... SKIPPED
[INFO] Apache Sling File Installer ....................... SKIPPED
[INFO] Apache Sling JCR Installer ........................ SKIPPED
[INFO] Apache Sling Installer Configuration Admin Support  SKIPPED
[INFO] Apache Sling Deployment Package Installer ......... SKIPPED
[INFO] Apache Sling Installer Integration Tests .......... SKIPPED
[INFO] Apache Sling Launchpad API ........................ SKIPPED
[INFO] Apache Sling Launchpad Base ....................... SKIPPED
[INFO] Apache Sling Launchpad Installer .................. SKIPPED
[INFO] Apache Sling Launchpad Content .................... SKIPPED
[INFO] Apache Sling Launchpad Application Builder ........ SKIPPED
[INFO] Apache Sling Sample Server-Side Tests ............. SKIPPED
[INFO] Apache Sling Failing Server-Side Tests ............ SKIPPED
[INFO] Apache Sling Sample Integration Tests ............. SKIPPED
[INFO] Apache Sling Launchpad Testing Services ........... SKIPPED
[INFO] Apache Sling Launchpad Testing Services WAR ....... SKIPPED
[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: 30.095s
[INFO] Finished at: Thu Jun 20 02:29:03 IST 2013
[INFO] Final Memory: 92M/928M
[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




On Wed, Jun 19, 2013 at 12:53 AM, Dishara Wijewardana <
[email protected]> wrote:

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



-- 
Thanks
/Dishara

Reply via email to