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