Re: Build Failure in Trunk

2013-08-05 Thread Ian Boston
Excellent, news. Ian On 5 August 2013 00:42, Dishara Wijewardana ddwijeward...@gmail.com wrote: On Sun, Aug 4, 2013 at 1:05 PM, Ian Boston i...@tfd.co.uk wrote: Hi, ARCHETYPE-436 is a different issue with the same plugin. I can't tell if the issue on stackoverflow is the same issue. You

Re: Build Failure in Trunk

2013-08-04 Thread Ian Boston
Hi, ARCHETYPE-436 is a different issue with the same plugin. I can't tell if the issue on stackoverflow is the same issue. You could try this, to get more debug output, but I dont think that will tell you anything, as the invoker didnt load maven. diff --git

Re: Build Failure in Trunk

2013-08-04 Thread Dishara Wijewardana
On Sun, Aug 4, 2013 at 1:05 PM, Ian Boston i...@tfd.co.uk wrote: Hi, ARCHETYPE-436 is a different issue with the same plugin. I can't tell if the issue on stackoverflow is the same issue. You could try this, to get more debug output, but I dont think that will tell you anything, as the

Re: Build Failure in Trunk

2013-08-03 Thread Ian Boston
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

Re: Build Failure in Trunk

2013-08-03 Thread Ian Boston
I have not been able to persuade the shared maven invoker to log the command line being used, the code says that -Dinvoker.debug=true should activate debug output, however in this instance the invoker is ignoring all properties including when the the properties are set within the pom file. I'll

Re: Build Failure in Trunk

2013-08-03 Thread Dishara Wijewardana
Hi Ian, Yes, I was running as root. Then I tried as dishara with a fresh checkout and a clean repository and it fails again with the same result. On Sat, Aug 3, 2013 at 12:33 PM, Ian Boston i...@tfd.co.uk wrote: I have not been able to persuade the shared maven invoker to log the command line

Re: Build Failure in Trunk

2013-08-03 Thread Dishara Wijewardana
Hi all, an this [1] has some relation to this problem. It is bit different but has the same error I am getting. And it is in unresolved state. [1] - https://jira.codehaus.org/browse/ARCHETYPE-436 On Sun, Aug 4, 2013 at 3:17 AM, Dishara Wijewardana ddwijeward...@gmail.com wrote: Hi Ian, Yes, I

Re: Build Failure in Trunk

2013-08-03 Thread Dishara Wijewardana
Hi Just noticed the same issue was posted before as well. http://stackoverflow.com/questions/9862153/build-sling-failure-failed-to-execute-goal-org-apache-maven-pluginsmaven-arche On Sun, Aug 4, 2013 at 3:23 AM, Dishara Wijewardana ddwijeward...@gmail.com wrote: Hi all, an this [1] has some

Re: Build Failure in Trunk

2013-08-02 Thread Ian Boston
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

Re: Build Failure in Trunk

2013-08-02 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-08-01 Thread Robert Munteanu
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

Re: Build Failure in Trunk

2013-08-01 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-07-31 Thread Ian Boston
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

Re: Build Failure in Trunk

2013-07-31 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-07-30 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-07-27 Thread Dishara Wijewardana
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 * \;

Re: Build Failure in Trunk

2013-07-27 Thread Ian Boston
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 ? 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

Re: Build Failure in Trunk

2013-07-26 Thread Ian Boston
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. Thanks Ian On 26 July 2013 04:35, Dishara Wijewardana ddwijeward...@gmail.com wrote: Hi all, I checked out the trunk code to a

Re: Build Failure in Trunk

2013-07-26 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-07-26 Thread Ian Boston
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

Re: Build Failure in Trunk

2013-07-25 Thread Dishara Wijewardana
On Thu, Jul 25, 2013 at 11:22 AM, Carsten Ziegeler cziege...@apache.orgwrote: 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

Re: Build Failure in Trunk

2013-07-25 Thread Ian Boston
Hi Dishara, mvn clean install worked for me thismorning at On 25 July 2013 13:04, 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

Re: Build Failure in Trunk

2013-07-25 Thread Ian Boston
On 25 July 2013 14:17, Ian Boston i...@tfd.co.uk wrote: Hi Dishara, mvn clean install worked for me thismorning at oops somehow hit send. at: r1506645 I had to restart the build once because I hit a timeout in an integration test in org.apache.sling.event Ian On 25 July 2013 13:04,

Re: Build Failure in Trunk

2013-07-25 Thread Robert Munteanu
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.orgwrote: 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

Re: Build Failure in Trunk

2013-07-25 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-07-25 Thread Dishara Wijewardana
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

Re: Build Failure in Trunk

2013-07-24 Thread Ian Boston
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

Re: Build Failure in Trunk

2013-07-24 Thread Robert Munteanu
On Wed, Jul 24, 2013 at 5:02 AM, 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? Try running with

Re: Build Failure in Trunk

2013-07-24 Thread Carsten Ziegeler
Should be fixed now 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

Re: Build Failure in Trunk

2013-07-24 Thread Dishara Wijewardana
On Wed, Jul 24, 2013 at 1:18 PM, Carsten Ziegeler cziege...@apache.orgwrote: 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]

Re: Build Failure in Trunk

2013-07-24 Thread Dishara Wijewardana
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.orgwrote: Should be fixed now This is not yet fixed. I

Re: Build Failure in Trunk

2013-07-24 Thread Carsten Ziegeler
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 Carsten 2013/7/25 Dishara Wijewardana ddwijeward...@gmail.com Hi all, Does any body could build the trunk in clean repo

Build Failure in Trunk

2013-07-23 Thread Dishara Wijewardana
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]