This looks like an unfixed bug [1], try without disabling tests.

Ian

1. https://issues.apache.org/jira/browse/SLING-2804


On 24 July 2013 03:02, Dishara Wijewardana <ddwijeward...@gmail.com> wrote:

> Hi all,
> I am building the trunk to build a latest pack to try deploy the
> implementation.
> I am seeing following when building the trunk with  -Dtest.skip=true. Is
> this a known issue?
>
>
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Sling Servlet Archetype 1.0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
> sling-servlet-archetype ---
> [INFO] Deleting
> /home/dishara/mystuff/sling/svn/sling/maven/archetypes/servlet/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-java) @
> sling-servlet-archetype ---
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run
> (set-bundle-required-execution-environment) @ sling-servlet-archetype ---
> [INFO] Executing tasks
>
> main:
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-remote-resources-plugin:1.4:process (default) @
> sling-servlet-archetype ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
> sling-servlet-archetype ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 6 resources
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (check-memory-task) @
> sling-servlet-archetype ---
> [INFO] Executing tasks
>
> main:
>      [echo] **************** WARNING (SLING-443/SLING-1782)
> ******************************
>      [echo] On most platforms, you'll get OutOfMemoryErrors when building
> unless you set
>      [echo] on 32bit platforms: MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=256M",
> see SLING-443
>      [echo] on 64bit platforms: MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M",
> see SLING-1782
>      [echo]
>
> ******************************************************************************
> [INFO] Executed tasks
> [INFO]
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
> @ sling-servlet-archetype ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-antrun-plugin:1.7:run (fix-crlfs) @
> sling-servlet-archetype ---
> [INFO] Executing tasks
>
> main:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.380s
> [INFO] Finished at: Wed Jul 24 07:28:14 IST 2013
> [INFO] Final Memory: 11M/490M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.7:run (fix-crlfs) on project
> sling-servlet-archetype: An Ant BuildException has occured: <fixcrlf>
> error: srcdir does not exist:
>
> '/home/dishara/mystuff/sling/svn/sling/maven/archetypes/servlet/target/test-classes'
> [ERROR] around Ant part ...<fixcrlf
>
> srcdir="/home/dishara/mystuff/sling/svn/sling/maven/archetypes/servlet/target/test-classes"/>...
> @ 4:105 in
>
> /home/dishara/mystuff/sling/svn/sling/maven/archetypes/servlet/target/antrun/build-main.xml
> [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:
>
>
>
>
> --
> Thanks
> /Dishara
>

Reply via email to