You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-dev@incubator.apache.org by Lars Corneliussen <me...@lcorneliussen.de> on 2011/03/28 06:30:18 UTC

Building NPanday using newest NPanday and Maven 3

Hi,

I really find it an obstacle to build NPanday trunk itself with an old 
NPanday version. It feels like stone age :) But sadly, due to a bug in 
MVN 2.2.1, it is not possible to use plugin-versions that just built 
within the same reactor.

So i suggest to move on to Maven 3.0.x for building NPanday trunk.

Suggestion:

1) Bootstrapping NPanday with current NPanday. (not possible on MVN 2.2.x)
2) Require Maven >= 3 for *building* NPanday >= 1.3.1

We should still make sure, that NPanday does work with Maven 2.2.x, though.

Integration tests should run both in Maven 2.2.1 and Maven 3.0.2 or 3.0.3

*TODO:*
* Add a Jira-Issue
* change npanday.stable.version to npanday.bootstrap.version
* preconfigure npanday.bootstrap.version with ${project.version}
* update docs
* remove all .NET-PATHes from the PATH environment
* remove most of the PATH-related docs

*Helpers on Windows for rapid switching of maven versions:*

*mvn3.bat* (somewhere on the PATH)
set M2=C:\Program Files\Apache\apache-maven-3.0.2\bin
set M2_HOME=C:\Program Files\Apache\apache-maven-3.0.2
set PATH=C:\Program Files\Apache\apache-maven-3.0.2\bin;%PATH%
mvn --version

*mvn2.bat* (somewhere on the PATH)
set M2=C:\Program Files\Apache\apache-maven-2.2.1\bin
set M2_HOME=C:\Program Files\Apache\apache-maven-2.2.1
set PATH=C:\Program Files\Apache\apache-maven-2.2.1\bin;%PATH%
mvn --version


Re: Building NPanday using newest NPanday and Maven 3

Posted by Adelita Padilla <ap...@maestrodev.com>.
+1 on moving and +1 on the documentation.


Thanks,

--

liit

On Tue, Mar 29, 2011 at 7:15 AM, Josimpson Ocaba <jo...@maestrodev.com>wrote:

> I'm ok with moving to maven3 as long as the transition is well documented.
>

Re: Building NPanday using newest NPanday and Maven 3

Posted by Josimpson Ocaba <jo...@maestrodev.com>.
I'm ok with moving to maven3 as long as the transition is well documented.

Re: Building NPanday using newest NPanday and Maven 3

Posted by Lars Corneliussen <me...@lcorneliussen.de>.
What do the others think? Vote necessary?

Am 28.03.11 16:51, schrieb Brett Porter:
> Definitely helpful in trying to ship a self-contained release.
>
> On 28/03/2011, at 5:30 PM, Lars Corneliussen wrote:
>
>> Hi,
>>
>> I really find it an obstacle to build NPanday trunk itself with an old NPanday version. It feels like stone age :) But sadly, due to a bug in MVN 2.2.1, it is not possible to use plugin-versions that just built within the same reactor.
>>
>> So i suggest to move on to Maven 3.0.x for building NPanday trunk.
>>
>> Suggestion:
>>
>> 1) Bootstrapping NPanday with current NPanday. (not possible on MVN 2.2.x)
>> 2) Require Maven>= 3 for *building* NPanday>= 1.3.1
>>
>> We should still make sure, that NPanday does work with Maven 2.2.x, though.
>>
>> Integration tests should run both in Maven 2.2.1 and Maven 3.0.2 or 3.0.3
>>
>> *TODO:*
>> * Add a Jira-Issue
>> * change npanday.stable.version to npanday.bootstrap.version
>> * preconfigure npanday.bootstrap.version with ${project.version}
>> * update docs
>> * remove all .NET-PATHes from the PATH environment
>> * remove most of the PATH-related docs
>>
>> *Helpers on Windows for rapid switching of maven versions:*
>>
>> *mvn3.bat* (somewhere on the PATH)
>> set M2=C:\Program Files\Apache\apache-maven-3.0.2\bin
>> set M2_HOME=C:\Program Files\Apache\apache-maven-3.0.2
>> set PATH=C:\Program Files\Apache\apache-maven-3.0.2\bin;%PATH%
>> mvn --version
>>
>> *mvn2.bat* (somewhere on the PATH)
>> set M2=C:\Program Files\Apache\apache-maven-2.2.1\bin
>> set M2_HOME=C:\Program Files\Apache\apache-maven-2.2.1
>> set PATH=C:\Program Files\Apache\apache-maven-2.2.1\bin;%PATH%
>> mvn --version
>>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>


Re: Building NPanday using newest NPanday and Maven 3

Posted by Brett Porter <br...@apache.org>.
Definitely helpful in trying to ship a self-contained release.

On 28/03/2011, at 5:30 PM, Lars Corneliussen wrote:

> Hi,
> 
> I really find it an obstacle to build NPanday trunk itself with an old NPanday version. It feels like stone age :) But sadly, due to a bug in MVN 2.2.1, it is not possible to use plugin-versions that just built within the same reactor.
> 
> So i suggest to move on to Maven 3.0.x for building NPanday trunk.
> 
> Suggestion:
> 
> 1) Bootstrapping NPanday with current NPanday. (not possible on MVN 2.2.x)
> 2) Require Maven >= 3 for *building* NPanday >= 1.3.1
> 
> We should still make sure, that NPanday does work with Maven 2.2.x, though.
> 
> Integration tests should run both in Maven 2.2.1 and Maven 3.0.2 or 3.0.3
> 
> *TODO:*
> * Add a Jira-Issue
> * change npanday.stable.version to npanday.bootstrap.version
> * preconfigure npanday.bootstrap.version with ${project.version}
> * update docs
> * remove all .NET-PATHes from the PATH environment
> * remove most of the PATH-related docs
> 
> *Helpers on Windows for rapid switching of maven versions:*
> 
> *mvn3.bat* (somewhere on the PATH)
> set M2=C:\Program Files\Apache\apache-maven-3.0.2\bin
> set M2_HOME=C:\Program Files\Apache\apache-maven-3.0.2
> set PATH=C:\Program Files\Apache\apache-maven-3.0.2\bin;%PATH%
> mvn --version
> 
> *mvn2.bat* (somewhere on the PATH)
> set M2=C:\Program Files\Apache\apache-maven-2.2.1\bin
> set M2_HOME=C:\Program Files\Apache\apache-maven-2.2.1
> set PATH=C:\Program Files\Apache\apache-maven-2.2.1\bin;%PATH%
> mvn --version
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter