I notice you are running maven as root and not as the user dishara. The failure is caused when maven tries to run itself, as there is no listing produced by the embeded maven run. Just after [INFO] Invoking post-archetype-generation goals: package
there should be [INFO] [INFO] Error stacktraces are turned on. [INFO] [INFO] Scanning for projects... indicating the internal maven command is running. The build is failing in [1] in invokePostArchetypeGenerationGoals doing InvocationResult result = invoker.execute( request ); It should be possible to get the invoker to log in debug mode, in which case it will print out the command it is trying to execute[2] (if it gets that far.) if ( getLogger().isDebugEnabled() ) { getLogger().debug( "Executing: " + cli ); } -X does not put the invoker into debug mode. I'll look into how to make the invoker log the command line. In the meantime, could you run as the user "dishara" and not as root. You will need to start from a fresh checkout as the permissions on the source tree will be all wrong now. Best Regards Ian 1 http://jarvana.com/jarvana/view/org/apache/maven/plugins/maven-archetype-plugin/2.2/maven-archetype-plugin-2.2-sources.jar!/org/apache/maven/archetype/mojos/IntegrationTestMojo.java?format=ok 2 http://jarvana.com/jarvana/view/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11-sources.jar!/org/apache/maven/shared/invoker/DefaultInvoker.java?format=ok On 3 August 2013 01:15, Dishara Wijewardana <ddwijeward...@gmail.com> wrote: > On Fri, Aug 2, 2013 at 1:05 PM, Ian Boston <i...@tfd.co.uk> wrote: > > > Hi, > > Although the main pom says 3.0.2 or later, it will be worth trying with > the > > very latest version ie 3.0.5. > > I am building with that and it works. > > > > Before you do build, to make 100% certain remove your local maven > > repository e.g.: > > cd ~/.m2/ > > mv repository repository.m303 > > > > Also, strangely, when you edited the mvn command and added the -X flag, > no > > [DEBUG] was in the output you shared which indicates that you are not > > running that command. Something strange is going on in your setup. > > > > Please make 100% certain the mvn you expect to run is on the path of a > > fresh shell. > > > > which mvn > > mvn -v > > > Hi all, > I tested in downloaded mvn 3.0.5. Same result !. > Following is the mvn -v result. Here is the link of mvn clean install -X > result http://pastebin.com/9gsHxfFZ > > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 > 19:21:28+0530) > Maven home: /home/dishara/mystuff/apache-maven-3.0.5 > Java version: 1.6.0_26, vendor: Sun Microsystems Inc. > Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "3.0.0-12-generic", arch: "amd64", family: > "unix" > > > > > > > > > should verify that. > > > > Best Regards > > Ian > > > > > > > > > > > > On 1 August 2013 23:27, Dishara Wijewardana <ddwijeward...@gmail.com> > > wrote: > > > > > On Fri, Aug 2, 2013 at 2:39 AM, Robert Munteanu <rob...@lmn.ro> wrote: > > > > > > > On Thu, Aug 1, 2013 at 3:49 AM, Dishara Wijewardana > > > > <ddwijeward...@gmail.com> wrote: > > > > > On Wed, Jul 31, 2013 at 12:08 PM, Ian Boston <i...@tfd.co.uk> > wrote: > > > > > > > > > >> Hi, > > > > >> Opps sorry, what I meant was to edit the mvn bash script to add > the > > -X > > > > >> option to the maven launch command, not to set MAVEN_OPTS within > the > > > > maven > > > > >> bash script. If you do that it will just add it as a Java option, > as > > > > >> before. > > > > >> > > > > >> In code: > > > > >> x43543:sling ieb$ which mvn > > > > >> /usr/bin/mvn > > > > >> x43543:sling ieb$ vi /usr/bin/mvn > > > > >> # At the bottom of the file > > > > >> # Change > > > > >> exec "$JAVACMD" \ > > > > >> $MAVEN_OPTS \ > > > > >> -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \ > > > > >> "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \ > > > > >> "-Dmaven.home=${M2_HOME}" \ > > > > >> ${CLASSWORLDS_LAUNCHER} "$@" > > > > >> # To > > > > >> exec "$JAVACMD" \ > > > > >> $MAVEN_OPTS \ > > > > >> -classpath "${M2_HOME}"/boot/plexus-classworlds-*.jar \ > > > > >> "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \ > > > > >> "-Dmaven.home=${M2_HOME}" \ > > > > >> ${CLASSWORLDS_LAUNCHER} -X "$@" > > > > >> # and save > > > > >> > > > > >> > > > > >> > > > > > OK. I tried those steps. Please find the log file at > > > > > http://pastebin.com/5EYirzQp. > > > > > > > > This is puzzling :| . I'd like to rule out the habit of Linux distros > > > > to patch things around and maybe ship stuff which is Open Source but > > > > not optimal. Not that I disagree, but we have a problem to solve :-) > > > > > > > > Please try running your build with > > > > > > > > Hi > > > Currently I am using > > > > > > > > > > - Maven 3.0.5 or 3.1.0 downloaded from http://maven.apache.org > > > > > > > > > Downloaded version of maven 3.0.3. > > > > > > > > > > - Java 6 or Java 7 downloaded from http://java.sun.com > > > > > > > > > > > And sun java 6 (not openjdk) . > > > > > > > > > > And, for my curiousity, please post the result of mvn -v with your > > > > current configuration and the new configuration ( downloaded, not > from > > > > the package repositories ). > > > > > > > > > > > Currently what I have is with mvn -v > > > > > > Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) > > > Maven home: /home/dishara/setups/mvn3/apache-maven-3.0.3 > > > Java version: 1.6.0_26, vendor: Sun Microsystems Inc. > > > Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre > > > Default locale: en_US, platform encoding: UTF-8 > > > OS name: "linux", version: "3.0.0-12-generic", arch: "amd64", family: > > > "unix" > > > > > > If you think this is specific to 3.0.3, I will download maven 3.0.5 and > > > send you the mvn -v result. > > > > > > > > > > Robert > > > > > > > > > > > > > > > > > > >> That should add the -X to the internal build. I just tried it here > > and > > > > it > > > > >> had the desired effect. > > > > >> > > > > >> Best Regards > > > > >> Ian > > > > >> > > > > >> > > > > >> On 31 July 2013 02:40, Dishara Wijewardana < > ddwijeward...@gmail.com > > > > > > > >> wrote: > > > > >> > > > > >> > On Sun, Jul 28, 2013 at 12:47 AM, Ian Boston <i...@tfd.co.uk> > > wrote: > > > > >> > > > > > >> > > Oops sorry, I was trying to get the -X option in the mvn sub > > > build. > > > > >> > > MAVEN_OPTS is the Java Opts, not the maven options. > > > > >> > > > > > > >> > > Anyone know how to do that ? > > > > >> > > > > > > >> > Hi Ian, > > > > >> > I added export MAVEN_OPTS="$MAVEN_OPTS -X" to my bash file and > run > > > > maven. > > > > >> > Same result. Am I doing something wrong here. What is this > command > > > > export > > > > >> > MAVEN_OPTS="$MAVEN_OPTS -X" means ? To run maven in debug mode ? > > > > >> > > > > > >> > > > > > >> > > > > > >> > > You could find the mvn command and have look in it. IIRC its > a > > > bash > > > > >> > > script. > > > > >> > > Ian > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > On 27 July 2013 16:01, Dishara Wijewardana < > > > ddwijeward...@gmail.com > > > > > > > > > >> > > wrote: > > > > >> > > > > > > >> > > > On Sat, Jul 27, 2013 at 10:41 AM, Ian Boston <i...@tfd.co.uk > > > > > > wrote: > > > > >> > > > > > > > >> > > > > Somethings to check. > > > > >> > > > > 1: Your SVN is 100% uptodate and you find the > > > > >> sling-servlet-archetype > > > > >> > > > under > > > > >> > > > > tooling (there were some changes recently) > > > > >> > > > > x43543:trunk ieb$ find . -name pom.xml -exec grep -rl > > > > >> > > > > "sling-servlet-archetype" * \; > > > > >> > > > > tooling/maven/archetypes/servlet/pom.xml > > > > >> > > > > > > > > >> > > > > 2: both java and maven are in your class path, and are > late > > > > enough > > > > >> > > > > versions. The log file should have produced a header like: > > > > >> > > > > (Some of the debug messages are different which makes me > > think > > > > your > > > > >> > > > version > > > > >> > > > > of maven is different, not necessarily wrong, just > > different) > > > > >> > > > > x43543:servlet ieb$ mvn -X clean install > > > > >> > > > > Apache Maven 3.0.5 > > (r01de14724cdef164cd33c7c8c2fe155faf9602da; > > > > >> > > 2013-02-19 > > > > >> > > > > 13:51:28+0000) > > > > >> > > > > Maven home: /usr/share/maven > > > > >> > > > > Java version: 1.6.0_51, vendor: Apple Inc. > > > > >> > > > > Java home: > > > > >> > > > > > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > > > >> > > > > Default locale: en_US, platform encoding: MacRoman > > > > >> > > > > OS name: "mac os x", version: "10.8.4", arch: "x86_64", > > > family: > > > > >> "mac" > > > > >> > > > > [INFO] Error stacktraces are turned on. > > > > >> > > > > [DEBUG] Reading global settings from > > > > >> > /usr/share/maven/conf/settings.xml > > > > >> > > > > [DEBUG] Reading user settings from > > /Users/ieb/.m2/settings.xml > > > > >> > > > > [DEBUG] Using local repository at > /Users/ieb/.m2/repository > > > > >> > > > > [DEBUG] Using manager EnhancedLocalRepositoryManager with > > > > priority > > > > >> 10 > > > > >> > > for > > > > >> > > > > /Users/ieb/.m2/repository > > > > >> > > > > .... > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > 3: The point at which it fails, maven forks a internal > > > builder, > > > > I > > > > >> am > > > > >> > > > seeing > > > > >> > > > > [INFO] Invoking post-archetype-generation goals: package > > > > >> > > > > > > > > >> > > > > [INFO] [INFO] Error stacktraces are turned on. > > > > >> > > > > [INFO] [INFO] Scanning for projects... > > > > >> > > > > [INFO] [INFO] > > > > >> > > > > > > > > >> > > > > [INFO] [INFO] > > > > >> > > > > > > > > >> > > > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > [INFO] [INFO] Building test-servlet-archetype-project > > > > >> 0.0.1-SNAPSHOT > > > > >> > > > > [INFO] [INFO] > > > > >> > > > > > > > > >> > > > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > The second build is running without debug but it is > > launching, > > > > your > > > > >> > > build > > > > >> > > > > fails to launch, hence the questions. > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > try: > > > > >> > > > > export MAVEN_OPTS="$MAVEN_OPTS -X" > > > > >> > > > > cd tooling/maven/archetypes/servlet > > > > >> > > > > mvn clean install 1> build.log 2>&1 > > > > >> > > > > and when it finishes pastebin the build.log > > > > >> > > > > > > > > >> > > > > > > > >> > > > Perhaps I have not understood what you told. I did exact > above > > > > steps > > > > >> > and > > > > >> > > > seems it didn't build. and following is the build.log > > > > >> > > > > > > > >> > > > -Xmixed mixed mode execution (default) > > > > >> > > > -Xint interpreted mode execution only > > > > >> > > > -Xbootclasspath:<directories and zip/jar files separated > > by > > > :> > > > > >> > > > set search path for bootstrap classes > > and > > > > >> > resources > > > > >> > > > -Xbootclasspath/a:<directories and zip/jar files > separated > > > by > > > > :> > > > > >> > > > append to end of bootstrap class path > > > > >> > > > -Xbootclasspath/p:<directories and zip/jar files > separated > > > by > > > > :> > > > > >> > > > prepend in front of bootstrap class > path > > > > >> > > > -Xnoclassgc disable class garbage collection > > > > >> > > > -Xincgc enable incremental garbage collection > > > > >> > > > -Xloggc:<file> log GC status to a file with time > stamps > > > > >> > > > -Xbatch disable background compilation > > > > >> > > > -Xms<size> set initial Java heap size > > > > >> > > > -Xmx<size> set maximum Java heap size > > > > >> > > > -Xss<size> set java thread stack size > > > > >> > > > -Xprof output cpu profiling data > > > > >> > > > -Xfuture enable strictest checks, anticipating > > > future > > > > >> > > default > > > > >> > > > -Xrs reduce use of OS signals by Java/VM > (see > > > > >> > > > documentation) > > > > >> > > > -Xcheck:jni perform additional checks for JNI > > > functions > > > > >> > > > -Xshare:off do not attempt to use shared class > data > > > > >> > > > -Xshare:auto use shared class data if possible > > > (default) > > > > >> > > > -Xshare:on require using shared class data, > > otherwise > > > > >> fail. > > > > >> > > > > > > > >> > > > The -X options are non-standard and subject to change > without > > > > notice. > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > Best Regards > > > > >> > > > > Ian > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > On 27 July 2013 00:15, Dishara Wijewardana < > > > > >> ddwijeward...@gmail.com> > > > > >> > > > > wrote: > > > > >> > > > > > > > > >> > > > > > On Fri, Jul 26, 2013 at 1:36 PM, Ian Boston < > > i...@tfd.co.uk> > > > > >> wrote: > > > > >> > > > > > > > > > >> > > > > > > Hi, > > > > >> > > > > > > Looking at the log there is no reported error for the > > > > failure. > > > > >> > > > > > > Can you do > > > > >> > > > > > > mvn -X clean install -rf :sling-servlet-archetype > > > > >> > > > > > > > > > > >> > > > > > > And post the output to a paste bin. > > > > >> > > > > > > > > > > >> > > > > > Hi Ian, > > > > >> > > > > > Please find the log at here > http://pastebin.com/FBrDjJ6L > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > Thanks > > > > >> > > > > > > Ian > > > > >> > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > On 26 July 2013 04:35, Dishara Wijewardana < > > > > >> > > ddwijeward...@gmail.com> > > > > >> > > > > > > wrote: > > > > >> > > > > > > > > > > >> > > > > > > > Hi all, > > > > >> > > > > > > > I checked out the trunk code to a new location and > > > > removed my > > > > >> > > > > existing > > > > >> > > > > > M2 > > > > >> > > > > > > > repository and do a mvn clean install. Still fails > in > > > same > > > > >> > place. > > > > >> > > > So > > > > >> > > > > I > > > > >> > > > > > > > believe this should fail in clean repo. I am > compiling > > > > this > > > > >> > code > > > > >> > > in > > > > >> > > > > 1.6 > > > > >> > > > > > > JDK > > > > >> > > > > > > > in Ubuntu 11.10. These are the only facts left for > me > > to > > > > >> > compare > > > > >> > > > with > > > > >> > > > > > if > > > > >> > > > > > > > this is local to me. > > > > >> > > > > > > > > > > > >> > > > > > > > On Fri, Jul 26, 2013 at 6:30 AM, Dishara > Wijewardana < > > > > >> > > > > > > > ddwijeward...@gmail.com> wrote: > > > > >> > > > > > > > > > > > >> > > > > > > > > Still getting the same error. > > > > >> > > > > > > > > > > > > >> > > > > > > > > 1. Command is mvn clean install -DskipTests. > > > > >> > > > > > > > > 2. Please find the link [1] for the pastebin build > > > log. > > > > >> > > > > > > > > > > > > >> > > > > > > > > [1] - http://pastebin.com/12x8F4UG > > > > >> > > > > > > > > > > > > >> > > > > > > > > On Thu, Jul 25, 2013 at 6:53 PM, Robert Munteanu < > > > > >> > > rob...@lmn.ro> > > > > >> > > > > > > wrote: > > > > >> > > > > > > > > > > > > >> > > > > > > > >> On Thu, Jul 25, 2013 at 3:04 PM, Dishara > > Wijewardana > > > > >> > > > > > > > >> <ddwijeward...@gmail.com> wrote: > > > > >> > > > > > > > >> > On Thu, Jul 25, 2013 at 11:22 AM, Carsten > > Ziegeler > > > < > > > > >> > > > > > > > >> cziege...@apache.org>wrote: > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> >> The first error you reported is fixed - now > > you're > > > > >> > running > > > > >> > > > > into a > > > > >> > > > > > > new > > > > >> > > > > > > > >> issue > > > > >> > > > > > > > >> >> which I can't reproduce on my machine. I'm > > usually > > > > >> doing > > > > >> > a > > > > >> > > > full > > > > >> > > > > > > clean > > > > >> > > > > > > > >> build > > > > >> > > > > > > > >> >> with tests > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> > Hi Carsten > > > > >> > > > > > > > >> > Sorry for the inconvenience. The initial error > I > > > > posted > > > > >> > was > > > > >> > > > > doing > > > > >> > > > > > > the > > > > >> > > > > > > > >> build > > > > >> > > > > > > > >> > in inside some sub module (Because the error I > am > > > > >> getting > > > > >> > > when > > > > >> > > > > > > > building > > > > >> > > > > > > > >> in > > > > >> > > > > > > > >> > parent level is not very descriptive. Hence I > > went > > > in > > > > >> side > > > > >> > > the > > > > >> > > > > > > failing > > > > >> > > > > > > > >> > module and build it specifically and posted the > > > > log.). > > > > >> > > > > > > > >> > The latest error log is the one I get when > > building > > > > from > > > > >> > > > parent > > > > >> > > > > > > level. > > > > >> > > > > > > > >> > Still I am getting the same when I go inside > and > > > > build. > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> 1. Does the build work with -DskipTests for you? > > > > >> > > > > > > > >> 2. Can you paste somewhere ( pastebin, github > gist > > > etc > > > > ) > > > > >> the > > > > >> > > > full > > > > >> > > > > > > > >> command and build output? > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> Robert > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> Carsten > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> 2013/7/25 Dishara Wijewardana < > > > > ddwijeward...@gmail.com > > > > >> > > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> > Hi all, > > > > >> > > > > > > > >> >> > Does any body could build the trunk in clean > > > repo > > > > >> > > > > with/without > > > > >> > > > > > > > tests > > > > >> > > > > > > > >> ? > > > > >> > > > > > > > >> >> > > > > > >> > > > > > > > >> >> > On Thu, Jul 25, 2013 at 6:28 AM, Dishara > > > > Wijewardana > > > > >> < > > > > >> > > > > > > > >> >> > ddwijeward...@gmail.com> wrote: > > > > >> > > > > > > > >> >> > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > On Wed, Jul 24, 2013 at 1:18 PM, Carsten > > > > Ziegeler < > > > > >> > > > > > > > >> >> cziege...@apache.org > > > > >> > > > > > > > >> >> > >wrote: > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > >> Should be fixed now > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > > This is not yet fixed. I tried both ways. > > With > > > > >> tests > > > > >> > > and > > > > >> > > > > > > without > > > > >> > > > > > > > >> tests. > > > > >> > > > > > > > >> >> > My > > > > >> > > > > > > > >> >> > > revision is 1506788. > > > > >> > > > > > > > >> >> > > I am building from root level. And fails > > with > > > > >> > > following. > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > [INFO] > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> > > > > >> > > > > > > > > > > >> > > > > > > > > >> > > > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > > > > >> >> > > [INFO] BUILD FAILURE > > > > >> > > > > > > > >> >> > > [INFO] > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> > > > > >> > > > > > > > > > > >> > > > > > > > > >> > > > > > > >> > > > > ------------------------------------------------------------------------ > > > > >> > > > > > > > >> >> > > [INFO] Total time: 30.506s > > > > >> > > > > > > > >> >> > > [INFO] Finished at: Thu Jul 25 06:27:09 > IST > > > 2013 > > > > >> > > > > > > > >> >> > > [INFO] Final Memory: 89M/975M > > > > >> > > > > > > > >> >> > > [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 > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > >> 2013/7/24 Ian Boston <i...@tfd.co.uk> > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > >> > 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 > > > > >> > > > > > > > >> >> > >> > > > > > > >> > > > > > > > >> >> > >> > > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > >> -- > > > > >> > > > > > > > >> >> > >> Carsten Ziegeler > > > > >> > > > > > > > >> >> > >> cziege...@apache.org > > > > >> > > > > > > > >> >> > >> > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > -- > > > > >> > > > > > > > >> >> > > Thanks > > > > >> > > > > > > > >> >> > > /Dishara > > > > >> > > > > > > > >> >> > > > > > > >> > > > > > > > >> >> > > > > > >> > > > > > > > >> >> > > > > > >> > > > > > > > >> >> > > > > > >> > > > > > > > >> >> > -- > > > > >> > > > > > > > >> >> > Thanks > > > > >> > > > > > > > >> >> > /Dishara > > > > >> > > > > > > > >> >> > > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> >> -- > > > > >> > > > > > > > >> >> Carsten Ziegeler > > > > >> > > > > > > > >> >> cziege...@apache.org > > > > >> > > > > > > > >> >> > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> > -- > > > > >> > > > > > > > >> > Thanks > > > > >> > > > > > > > >> > /Dishara > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> -- > > > > >> > > > > > > > >> Sent from my (old) computer > > > > >> > > > > > > > >> > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > > > >> > > > > > > > > -- > > > > >> > > > > > > > > Thanks > > > > >> > > > > > > > > /Dishara > > > > >> > > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > > > > > >> > > > > > > > -- > > > > >> > > > > > > > Thanks > > > > >> > > > > > > > /Dishara > > > > >> > > > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > -- > > > > >> > > > > > Thanks > > > > >> > > > > > /Dishara > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > -- > > > > >> > > > Thanks > > > > >> > > > /Dishara > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> > -- > > > > >> > Thanks > > > > >> > /Dishara > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > > > > Thanks > > > > > /Dishara > > > > > > > > > > > > > > > > -- > > > > Sent from my (old) computer > > > > > > > > > > > > > > > > -- > > > Thanks > > > /Dishara > > > > > > > > > -- > Thanks > /Dishara >