[ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

classic Classic list List threaded Threaded
33 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb AT ASF
I've updated to the latest versions of all the plugins.

Some of these changes may well cause problems, but the best way to
find this out is for various people to try using the POM, so I've
uploaded 22-SNAPSHOT to the snapshot repo.

Please report any issues with using 22-SNAPSHOT (you have to
temporarily update your pom to use it; it does not happen
automatically).

S///

On 2 September 2011 15:58,  <[hidden email]> wrote:

> Author: sebb
> Date: Fri Sep  2 14:58:22 2011
> New Revision: 1164565
>
> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
> Log:
> Update to latest versions of plugins
> TODO - these need checking on projects
>
> Modified:
>    commons/proper/commons-parent/trunk/pom.xml
>
> Modified: commons/proper/commons-parent/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
> ==============================================================================
> --- commons/proper/commons-parent/trunk/pom.xml (original)
> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
> @@ -151,7 +151,7 @@
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-compiler-plugin</artifactId>
> -          <version>2.1</version>
> +          <version>2.3.2</version>
>           <configuration>
>             <source>${maven.compile.source}</source>
>             <target>${maven.compile.target}</target>
> @@ -164,12 +164,12 @@
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-deploy-plugin</artifactId>
> -          <version>2.6</version>
> +          <version>2.7</version>
>         </plugin>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-gpg-plugin</artifactId>
> -          <version>1.3</version>
> +          <version>1.4</version>
>         </plugin>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
> @@ -179,7 +179,7 @@
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-jar-plugin</artifactId>
> -          <version>2.3</version>
> +          <version>2.3.2</version>
>         </plugin>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
> @@ -227,7 +227,7 @@
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-site-plugin</artifactId>
> -          <version>2.2</version>
> +          <version>3.0</version>
>         </plugin>
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
> @@ -259,8 +259,7 @@
>         <plugin>
>           <groupId>org.apache.felix</groupId>
>           <artifactId>maven-bundle-plugin</artifactId>
> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
> -          <version>1.4.3</version>
> +          <version>2.3.5</version>
>           <inherited>true</inherited>
>         </plugin>
>       </plugins>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

garydgregory
I updated my settings XML per
https://maven.apache.org/guides/development/guide-testing-development-plugins.html

and M3 cannot resolve the new snapshot.

What am I missing?

Gary

On Fri, Sep 2, 2011 at 11:08 AM, sebb AT ASF <[hidden email]> wrote:

> I've updated to the latest versions of all the plugins.
>
> Some of these changes may well cause problems, but the best way to
> find this out is for various people to try using the POM, so I've
> uploaded 22-SNAPSHOT to the snapshot repo.
>
> Please report any issues with using 22-SNAPSHOT (you have to
> temporarily update your pom to use it; it does not happen
> automatically).
>
> S///
>
> On 2 September 2011 15:58,  <[hidden email]> wrote:
> > Author: sebb
> > Date: Fri Sep  2 14:58:22 2011
> > New Revision: 1164565
> >
> > URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
> > Log:
> > Update to latest versions of plugins
> > TODO - these need checking on projects
> >
> > Modified:
> >    commons/proper/commons-parent/trunk/pom.xml
> >
> > Modified: commons/proper/commons-parent/trunk/pom.xml
> > URL:
> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
> >
> ==============================================================================
> > --- commons/proper/commons-parent/trunk/pom.xml (original)
> > +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
> > @@ -151,7 +151,7 @@
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> >           <artifactId>maven-compiler-plugin</artifactId>
> > -          <version>2.1</version>
> > +          <version>2.3.2</version>
> >           <configuration>
> >             <source>${maven.compile.source}</source>
> >             <target>${maven.compile.target}</target>
> > @@ -164,12 +164,12 @@
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> >           <artifactId>maven-deploy-plugin</artifactId>
> > -          <version>2.6</version>
> > +          <version>2.7</version>
> >         </plugin>
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> >           <artifactId>maven-gpg-plugin</artifactId>
> > -          <version>1.3</version>
> > +          <version>1.4</version>
> >         </plugin>
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> > @@ -179,7 +179,7 @@
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> >           <artifactId>maven-jar-plugin</artifactId>
> > -          <version>2.3</version>
> > +          <version>2.3.2</version>
> >         </plugin>
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> > @@ -227,7 +227,7 @@
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> >           <artifactId>maven-site-plugin</artifactId>
> > -          <version>2.2</version>
> > +          <version>3.0</version>
> >         </plugin>
> >         <plugin>
> >           <groupId>org.apache.maven.plugins</groupId>
> > @@ -259,8 +259,7 @@
> >         <plugin>
> >           <groupId>org.apache.felix</groupId>
> >           <artifactId>maven-bundle-plugin</artifactId>
> > -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
> > -          <version>1.4.3</version>
> > +          <version>2.3.5</version>
> >           <inherited>true</inherited>
> >         </plugin>
> >       </plugins>
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory
Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 2 September 2011 16:28, Gary Gregory <[hidden email]> wrote:
> I updated my settings XML per
> https://maven.apache.org/guides/development/guide-testing-development-plugins.html
>
> and M3 cannot resolve the new snapshot.

Works for me with 2.2.1 and 3.0.3

> What am I missing?

 -Papache ?

Otherwise, just download commons-parent trunk and install that.

> Gary
>
> On Fri, Sep 2, 2011 at 11:08 AM, sebb AT ASF <[hidden email]> wrote:
>
>> I've updated to the latest versions of all the plugins.
>>
>> Some of these changes may well cause problems, but the best way to
>> find this out is for various people to try using the POM, so I've
>> uploaded 22-SNAPSHOT to the snapshot repo.
>>
>> Please report any issues with using 22-SNAPSHOT (you have to
>> temporarily update your pom to use it; it does not happen
>> automatically).
>>
>> S///
>>
>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>> > Author: sebb
>> > Date: Fri Sep  2 14:58:22 2011
>> > New Revision: 1164565
>> >
>> > URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>> > Log:
>> > Update to latest versions of plugins
>> > TODO - these need checking on projects
>> >
>> > Modified:
>> >    commons/proper/commons-parent/trunk/pom.xml
>> >
>> > Modified: commons/proper/commons-parent/trunk/pom.xml
>> > URL:
>> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>> >
>> ==============================================================================
>> > --- commons/proper/commons-parent/trunk/pom.xml (original)
>> > +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>> > @@ -151,7 +151,7 @@
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> >           <artifactId>maven-compiler-plugin</artifactId>
>> > -          <version>2.1</version>
>> > +          <version>2.3.2</version>
>> >           <configuration>
>> >             <source>${maven.compile.source}</source>
>> >             <target>${maven.compile.target}</target>
>> > @@ -164,12 +164,12 @@
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> >           <artifactId>maven-deploy-plugin</artifactId>
>> > -          <version>2.6</version>
>> > +          <version>2.7</version>
>> >         </plugin>
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> >           <artifactId>maven-gpg-plugin</artifactId>
>> > -          <version>1.3</version>
>> > +          <version>1.4</version>
>> >         </plugin>
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> > @@ -179,7 +179,7 @@
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> >           <artifactId>maven-jar-plugin</artifactId>
>> > -          <version>2.3</version>
>> > +          <version>2.3.2</version>
>> >         </plugin>
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> > @@ -227,7 +227,7 @@
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> >           <artifactId>maven-site-plugin</artifactId>
>> > -          <version>2.2</version>
>> > +          <version>3.0</version>
>> >         </plugin>
>> >         <plugin>
>> >           <groupId>org.apache.maven.plugins</groupId>
>> > @@ -259,8 +259,7 @@
>> >         <plugin>
>> >           <groupId>org.apache.felix</groupId>
>> >           <artifactId>maven-bundle-plugin</artifactId>
>> > -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>> > -          <version>1.4.3</version>
>> > +          <version>2.3.5</version>
>> >           <inherited>true</inherited>
>> >         </plugin>
>> >       </plugins>
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> --
> Thank you,
> Gary
>
> http://garygregory.wordpress.com/
> http://garygregory.com/
> http://people.apache.org/~ggregory/
> http://twitter.com/GaryGregory
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

garydgregory
On Fri, Sep 2, 2011 at 11:58 AM, sebb <[hidden email]> wrote:

> On 2 September 2011 16:28, Gary Gregory <[hidden email]> wrote:
> > I updated my settings XML per
> >
> https://maven.apache.org/guides/development/guide-testing-development-plugins.html
> >
> > and M3 cannot resolve the new snapshot.
>
> Works for me with 2.2.1 and 3.0.3
>
> > What am I missing?
>
>  -Papache ?
>

Did that, no love.


>
> Otherwise, just download commons-parent trunk and install that.
>

Will do.

Gary

>
> > Gary
> >
> > On Fri, Sep 2, 2011 at 11:08 AM, sebb AT ASF <[hidden email]> wrote:
> >
> >> I've updated to the latest versions of all the plugins.
> >>
> >> Some of these changes may well cause problems, but the best way to
> >> find this out is for various people to try using the POM, so I've
> >> uploaded 22-SNAPSHOT to the snapshot repo.
> >>
> >> Please report any issues with using 22-SNAPSHOT (you have to
> >> temporarily update your pom to use it; it does not happen
> >> automatically).
> >>
> >> S///
> >>
> >> On 2 September 2011 15:58,  <[hidden email]> wrote:
> >> > Author: sebb
> >> > Date: Fri Sep  2 14:58:22 2011
> >> > New Revision: 1164565
> >> >
> >> > URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
> >> > Log:
> >> > Update to latest versions of plugins
> >> > TODO - these need checking on projects
> >> >
> >> > Modified:
> >> >    commons/proper/commons-parent/trunk/pom.xml
> >> >
> >> > Modified: commons/proper/commons-parent/trunk/pom.xml
> >> > URL:
> >>
> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
> >> >
> >>
> ==============================================================================
> >> > --- commons/proper/commons-parent/trunk/pom.xml (original)
> >> > +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22
> 2011
> >> > @@ -151,7 +151,7 @@
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> >           <artifactId>maven-compiler-plugin</artifactId>
> >> > -          <version>2.1</version>
> >> > +          <version>2.3.2</version>
> >> >           <configuration>
> >> >             <source>${maven.compile.source}</source>
> >> >             <target>${maven.compile.target}</target>
> >> > @@ -164,12 +164,12 @@
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> >           <artifactId>maven-deploy-plugin</artifactId>
> >> > -          <version>2.6</version>
> >> > +          <version>2.7</version>
> >> >         </plugin>
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> >           <artifactId>maven-gpg-plugin</artifactId>
> >> > -          <version>1.3</version>
> >> > +          <version>1.4</version>
> >> >         </plugin>
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> > @@ -179,7 +179,7 @@
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> >           <artifactId>maven-jar-plugin</artifactId>
> >> > -          <version>2.3</version>
> >> > +          <version>2.3.2</version>
> >> >         </plugin>
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> > @@ -227,7 +227,7 @@
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> >           <artifactId>maven-site-plugin</artifactId>
> >> > -          <version>2.2</version>
> >> > +          <version>3.0</version>
> >> >         </plugin>
> >> >         <plugin>
> >> >           <groupId>org.apache.maven.plugins</groupId>
> >> > @@ -259,8 +259,7 @@
> >> >         <plugin>
> >> >           <groupId>org.apache.felix</groupId>
> >> >           <artifactId>maven-bundle-plugin</artifactId>
> >> > -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
> >> > -          <version>1.4.3</version>
> >> > +          <version>2.3.5</version>
> >> >           <inherited>true</inherited>
> >> >         </plugin>
> >> >       </plugins>
> >> >
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>
> >
> >
> > --
> > Thank you,
> > Gary
> >
> > http://garygregory.wordpress.com/
> > http://garygregory.com/
> > http://people.apache.org/~ggregory/
> > http://twitter.com/GaryGregory
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory
Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Phil Steitz
In reply to this post by sebb AT ASF
On 9/2/11 8:08 AM, sebb AT ASF wrote:
> I've updated to the latest versions of all the plugins.
>
> Some of these changes may well cause problems, but the best way to
> find this out is for various people to try using the POM, so I've
> uploaded 22-SNAPSHOT to the snapshot repo.
>
> Please report any issues with using 22-SNAPSHOT (you have to
> temporarily update your pom to use it; it does not happen
> automatically).

Is there a one-liner from the command line that you can use to
install the snapshot locally?

Phil

>
> S///
>
> On 2 September 2011 15:58,  <[hidden email]> wrote:
>> Author: sebb
>> Date: Fri Sep  2 14:58:22 2011
>> New Revision: 1164565
>>
>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>> Log:
>> Update to latest versions of plugins
>> TODO - these need checking on projects
>>
>> Modified:
>>    commons/proper/commons-parent/trunk/pom.xml
>>
>> Modified: commons/proper/commons-parent/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>> ==============================================================================
>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>> @@ -151,7 +151,7 @@
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>           <artifactId>maven-compiler-plugin</artifactId>
>> -          <version>2.1</version>
>> +          <version>2.3.2</version>
>>           <configuration>
>>             <source>${maven.compile.source}</source>
>>             <target>${maven.compile.target}</target>
>> @@ -164,12 +164,12 @@
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>           <artifactId>maven-deploy-plugin</artifactId>
>> -          <version>2.6</version>
>> +          <version>2.7</version>
>>         </plugin>
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>           <artifactId>maven-gpg-plugin</artifactId>
>> -          <version>1.3</version>
>> +          <version>1.4</version>
>>         </plugin>
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>> @@ -179,7 +179,7 @@
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>           <artifactId>maven-jar-plugin</artifactId>
>> -          <version>2.3</version>
>> +          <version>2.3.2</version>
>>         </plugin>
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>> @@ -227,7 +227,7 @@
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>           <artifactId>maven-site-plugin</artifactId>
>> -          <version>2.2</version>
>> +          <version>3.0</version>
>>         </plugin>
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>> @@ -259,8 +259,7 @@
>>         <plugin>
>>           <groupId>org.apache.felix</groupId>
>>           <artifactId>maven-bundle-plugin</artifactId>
>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>> -          <version>1.4.3</version>
>> +          <version>2.3.5</version>
>>           <inherited>true</inherited>
>>         </plugin>
>>       </plugins>
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Phil Steitz
On 9/3/11 1:59 PM, Phil Steitz wrote:

> On 9/2/11 8:08 AM, sebb AT ASF wrote:
>> I've updated to the latest versions of all the plugins.
>>
>> Some of these changes may well cause problems, but the best way to
>> find this out is for various people to try using the POM, so I've
>> uploaded 22-SNAPSHOT to the snapshot repo.
>>
>> Please report any issues with using 22-SNAPSHOT (you have to
>> temporarily update your pom to use it; it does not happen
>> automatically).
> Is there a one-liner from the command line that you can use to
> install the snapshot locally?

The following works4me:
mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons
-DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom

run from the directory where I downloaded the updated pom.xml.

After downloading a huge raft of new stuff, I unfortunately then get
some strange test failures in [math], e.g.

java.lang.NullPointerException
    at java.io.DataInputStream.read(DataInputStream.java:132)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at
org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281)
    at
org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267)

java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:61)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
    at
org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115)
    at
org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75)

All seem to be io-related.  Could be our setup is no longer
supported?   The failure above is using
CertifiedDataTest.class.getResourceAsStream(resource))) to load the
test files.

Phil





>
> Phil
>> S///
>>
>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>>> Author: sebb
>>> Date: Fri Sep  2 14:58:22 2011
>>> New Revision: 1164565
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>> Log:
>>> Update to latest versions of plugins
>>> TODO - these need checking on projects
>>>
>>> Modified:
>>>    commons/proper/commons-parent/trunk/pom.xml
>>>
>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>> ==============================================================================
>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>> @@ -151,7 +151,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-compiler-plugin</artifactId>
>>> -          <version>2.1</version>
>>> +          <version>2.3.2</version>
>>>           <configuration>
>>>             <source>${maven.compile.source}</source>
>>>             <target>${maven.compile.target}</target>
>>> @@ -164,12 +164,12 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-deploy-plugin</artifactId>
>>> -          <version>2.6</version>
>>> +          <version>2.7</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-gpg-plugin</artifactId>
>>> -          <version>1.3</version>
>>> +          <version>1.4</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>> @@ -179,7 +179,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-jar-plugin</artifactId>
>>> -          <version>2.3</version>
>>> +          <version>2.3.2</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>> @@ -227,7 +227,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-site-plugin</artifactId>
>>> -          <version>2.2</version>
>>> +          <version>3.0</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>> @@ -259,8 +259,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.felix</groupId>
>>>           <artifactId>maven-bundle-plugin</artifactId>
>>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>> -          <version>1.4.3</version>
>>> +          <version>2.3.5</version>
>>>           <inherited>true</inherited>
>>>         </plugin>
>>>       </plugins>
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 3 September 2011 23:49, Phil Steitz <[hidden email]> wrote:

> On 9/3/11 1:59 PM, Phil Steitz wrote:
>> On 9/2/11 8:08 AM, sebb AT ASF wrote:
>>> I've updated to the latest versions of all the plugins.
>>>
>>> Some of these changes may well cause problems, but the best way to
>>> find this out is for various people to try using the POM, so I've
>>> uploaded 22-SNAPSHOT to the snapshot repo.
>>>
>>> Please report any issues with using 22-SNAPSHOT (you have to
>>> temporarily update your pom to use it; it does not happen
>>> automatically).
>> Is there a one-liner from the command line that you can use to
>> install the snapshot locally?
>
> The following works4me:
> mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons
> -DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom
>
> run from the directory where I downloaded the updated pom.xml.

I just used

$ mvn install

> After downloading a huge raft of new stuff, I unfortunately then get
> some strange test failures in [math], e.g.
>
> java.lang.NullPointerException
>    at java.io.DataInputStream.read(DataInputStream.java:132)
>    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>    at java.io.InputStreamReader.read(InputStreamReader.java:167)
>    at java.io.BufferedReader.fill(BufferedReader.java:136)
>    at java.io.BufferedReader.readLine(BufferedReader.java:299)
>    at java.io.BufferedReader.readLine(BufferedReader.java:362)
>    at
> org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281)
>    at
> org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267)
>
> java.lang.NullPointerException
>    at java.io.Reader.<init>(Reader.java:61)
>    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
>    at
> org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115)
>    at
> org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75)
>
> All seem to be io-related.  Could be our setup is no longer
> supported?   The failure above is using
> CertifiedDataTest.class.getResourceAsStream(resource))) to load the
> test files.

Dunno - I'll have a look.

The only error I have seen so far is complaints from the bundle plugin
about duplicate property entries.

> Phil
>
>
>
>
>
>>
>> Phil
>>> S///
>>>
>>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>>>> Author: sebb
>>>> Date: Fri Sep  2 14:58:22 2011
>>>> New Revision: 1164565
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>>> Log:
>>>> Update to latest versions of plugins
>>>> TODO - these need checking on projects
>>>>
>>>> Modified:
>>>>    commons/proper/commons-parent/trunk/pom.xml
>>>>
>>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>>> ==============================================================================
>>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>>> @@ -151,7 +151,7 @@
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>           <artifactId>maven-compiler-plugin</artifactId>
>>>> -          <version>2.1</version>
>>>> +          <version>2.3.2</version>
>>>>           <configuration>
>>>>             <source>${maven.compile.source}</source>
>>>>             <target>${maven.compile.target}</target>
>>>> @@ -164,12 +164,12 @@
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>           <artifactId>maven-deploy-plugin</artifactId>
>>>> -          <version>2.6</version>
>>>> +          <version>2.7</version>
>>>>         </plugin>
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>           <artifactId>maven-gpg-plugin</artifactId>
>>>> -          <version>1.3</version>
>>>> +          <version>1.4</version>
>>>>         </plugin>
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>> @@ -179,7 +179,7 @@
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>           <artifactId>maven-jar-plugin</artifactId>
>>>> -          <version>2.3</version>
>>>> +          <version>2.3.2</version>
>>>>         </plugin>
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>> @@ -227,7 +227,7 @@
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>           <artifactId>maven-site-plugin</artifactId>
>>>> -          <version>2.2</version>
>>>> +          <version>3.0</version>
>>>>         </plugin>
>>>>         <plugin>
>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>> @@ -259,8 +259,7 @@
>>>>         <plugin>
>>>>           <groupId>org.apache.felix</groupId>
>>>>           <artifactId>maven-bundle-plugin</artifactId>
>>>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>>> -          <version>1.4.3</version>
>>>> +          <version>2.3.5</version>
>>>>           <inherited>true</inherited>
>>>>         </plugin>
>>>>       </plugins>
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 4 September 2011 01:20, sebb <[hidden email]> wrote:

> On 3 September 2011 23:49, Phil Steitz <[hidden email]> wrote:
>> On 9/3/11 1:59 PM, Phil Steitz wrote:
>>> On 9/2/11 8:08 AM, sebb AT ASF wrote:
>>>> I've updated to the latest versions of all the plugins.
>>>>
>>>> Some of these changes may well cause problems, but the best way to
>>>> find this out is for various people to try using the POM, so I've
>>>> uploaded 22-SNAPSHOT to the snapshot repo.
>>>>
>>>> Please report any issues with using 22-SNAPSHOT (you have to
>>>> temporarily update your pom to use it; it does not happen
>>>> automatically).
>>> Is there a one-liner from the command line that you can use to
>>> install the snapshot locally?
>>
>> The following works4me:
>> mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons
>> -DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom
>>
>> run from the directory where I downloaded the updated pom.xml.
>
> I just used
>
> $ mvn install
>
>> After downloading a huge raft of new stuff, I unfortunately then get
>> some strange test failures in [math], e.g.
>>
>> java.lang.NullPointerException
>>    at java.io.DataInputStream.read(DataInputStream.java:132)
>>    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>>    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>>    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>>    at java.io.InputStreamReader.read(InputStreamReader.java:167)
>>    at java.io.BufferedReader.fill(BufferedReader.java:136)
>>    at java.io.BufferedReader.readLine(BufferedReader.java:299)
>>    at java.io.BufferedReader.readLine(BufferedReader.java:362)
>>    at
>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281)
>>    at
>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267)
>>
>> java.lang.NullPointerException
>>    at java.io.Reader.<init>(Reader.java:61)
>>    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
>>    at
>> org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115)
>>    at
>> org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75)
>>
>> All seem to be io-related.  Could be our setup is no longer
>> supported?   The failure above is using
>> CertifiedDataTest.class.getResourceAsStream(resource))) to load the
>> test files.
>
> Dunno - I'll have a look.
>
> The only error I have seen so far is complaints from the bundle plugin
> about duplicate property entries.

I get no errors running "mvn test" with parent 22-SNAPSHOT and
workspace updated to r1164923

Tested with maven 2.2.1 and 3.0.3; java 1.6

>> Phil
>>
>>
>>
>>
>>
>>>
>>> Phil
>>>> S///
>>>>
>>>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>>>>> Author: sebb
>>>>> Date: Fri Sep  2 14:58:22 2011
>>>>> New Revision: 1164565
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>>>> Log:
>>>>> Update to latest versions of plugins
>>>>> TODO - these need checking on projects
>>>>>
>>>>> Modified:
>>>>>    commons/proper/commons-parent/trunk/pom.xml
>>>>>
>>>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>>>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>>>> ==============================================================================
>>>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>>>> @@ -151,7 +151,7 @@
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>           <artifactId>maven-compiler-plugin</artifactId>
>>>>> -          <version>2.1</version>
>>>>> +          <version>2.3.2</version>
>>>>>           <configuration>
>>>>>             <source>${maven.compile.source}</source>
>>>>>             <target>${maven.compile.target}</target>
>>>>> @@ -164,12 +164,12 @@
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>           <artifactId>maven-deploy-plugin</artifactId>
>>>>> -          <version>2.6</version>
>>>>> +          <version>2.7</version>
>>>>>         </plugin>
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>           <artifactId>maven-gpg-plugin</artifactId>
>>>>> -          <version>1.3</version>
>>>>> +          <version>1.4</version>
>>>>>         </plugin>
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>> @@ -179,7 +179,7 @@
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>           <artifactId>maven-jar-plugin</artifactId>
>>>>> -          <version>2.3</version>
>>>>> +          <version>2.3.2</version>
>>>>>         </plugin>
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>> @@ -227,7 +227,7 @@
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>           <artifactId>maven-site-plugin</artifactId>
>>>>> -          <version>2.2</version>
>>>>> +          <version>3.0</version>
>>>>>         </plugin>
>>>>>         <plugin>
>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>> @@ -259,8 +259,7 @@
>>>>>         <plugin>
>>>>>           <groupId>org.apache.felix</groupId>
>>>>>           <artifactId>maven-bundle-plugin</artifactId>
>>>>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>>>> -          <version>1.4.3</version>
>>>>> +          <version>2.3.5</version>
>>>>>           <inherited>true</inherited>
>>>>>         </plugin>
>>>>>       </plugins>
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Phil Steitz
On 9/3/11 6:05 PM, sebb wrote:

> On 4 September 2011 01:20, sebb <[hidden email]> wrote:
>> On 3 September 2011 23:49, Phil Steitz <[hidden email]> wrote:
>>> On 9/3/11 1:59 PM, Phil Steitz wrote:
>>>> On 9/2/11 8:08 AM, sebb AT ASF wrote:
>>>>> I've updated to the latest versions of all the plugins.
>>>>>
>>>>> Some of these changes may well cause problems, but the best way to
>>>>> find this out is for various people to try using the POM, so I've
>>>>> uploaded 22-SNAPSHOT to the snapshot repo.
>>>>>
>>>>> Please report any issues with using 22-SNAPSHOT (you have to
>>>>> temporarily update your pom to use it; it does not happen
>>>>> automatically).
>>>> Is there a one-liner from the command line that you can use to
>>>> install the snapshot locally?
>>> The following works4me:
>>> mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons
>>> -DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom
>>>
>>> run from the directory where I downloaded the updated pom.xml.
>> I just used
>>
>> $ mvn install
>>
>>> After downloading a huge raft of new stuff, I unfortunately then get
>>> some strange test failures in [math], e.g.
>>>
>>> java.lang.NullPointerException
>>>    at java.io.DataInputStream.read(DataInputStream.java:132)
>>>    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>>>    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>>>    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>>>    at java.io.InputStreamReader.read(InputStreamReader.java:167)
>>>    at java.io.BufferedReader.fill(BufferedReader.java:136)
>>>    at java.io.BufferedReader.readLine(BufferedReader.java:299)
>>>    at java.io.BufferedReader.readLine(BufferedReader.java:362)
>>>    at
>>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281)
>>>    at
>>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267)
>>>
>>> java.lang.NullPointerException
>>>    at java.io.Reader.<init>(Reader.java:61)
>>>    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
>>>    at
>>> org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115)
>>>    at
>>> org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75)
>>>
>>> All seem to be io-related.  Could be our setup is no longer
>>> supported?   The failure above is using
>>> CertifiedDataTest.class.getResourceAsStream(resource))) to load the
>>> test files.
>> Dunno - I'll have a look.
>>
>> The only error I have seen so far is complaints from the bundle plugin
>> about duplicate property entries.
> I get no errors running "mvn test" with parent 22-SNAPSHOT and
> workspace updated to r1164923
>
> Tested with maven 2.2.1 and 3.0.3; java 1.6

What OS?

I get these failures on OSX.  Let me check Linux...

Phil

>
>>> Phil
>>>
>>>
>>>
>>>
>>>
>>>> Phil
>>>>> S///
>>>>>
>>>>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>>>>>> Author: sebb
>>>>>> Date: Fri Sep  2 14:58:22 2011
>>>>>> New Revision: 1164565
>>>>>>
>>>>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>>>>> Log:
>>>>>> Update to latest versions of plugins
>>>>>> TODO - these need checking on projects
>>>>>>
>>>>>> Modified:
>>>>>>    commons/proper/commons-parent/trunk/pom.xml
>>>>>>
>>>>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>>>>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>>>>> ==============================================================================
>>>>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>>>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>>>>> @@ -151,7 +151,7 @@
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>           <artifactId>maven-compiler-plugin</artifactId>
>>>>>> -          <version>2.1</version>
>>>>>> +          <version>2.3.2</version>
>>>>>>           <configuration>
>>>>>>             <source>${maven.compile.source}</source>
>>>>>>             <target>${maven.compile.target}</target>
>>>>>> @@ -164,12 +164,12 @@
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>           <artifactId>maven-deploy-plugin</artifactId>
>>>>>> -          <version>2.6</version>
>>>>>> +          <version>2.7</version>
>>>>>>         </plugin>
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>           <artifactId>maven-gpg-plugin</artifactId>
>>>>>> -          <version>1.3</version>
>>>>>> +          <version>1.4</version>
>>>>>>         </plugin>
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>> @@ -179,7 +179,7 @@
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>           <artifactId>maven-jar-plugin</artifactId>
>>>>>> -          <version>2.3</version>
>>>>>> +          <version>2.3.2</version>
>>>>>>         </plugin>
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>> @@ -227,7 +227,7 @@
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>           <artifactId>maven-site-plugin</artifactId>
>>>>>> -          <version>2.2</version>
>>>>>> +          <version>3.0</version>
>>>>>>         </plugin>
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>> @@ -259,8 +259,7 @@
>>>>>>         <plugin>
>>>>>>           <groupId>org.apache.felix</groupId>
>>>>>>           <artifactId>maven-bundle-plugin</artifactId>
>>>>>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>>>>> -          <version>1.4.3</version>
>>>>>> +          <version>2.3.5</version>
>>>>>>           <inherited>true</inherited>
>>>>>>         </plugin>
>>>>>>       </plugins>
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>>
>>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 4 September 2011 02:29, Phil Steitz <[hidden email]> wrote:

> On 9/3/11 6:05 PM, sebb wrote:
>> On 4 September 2011 01:20, sebb <[hidden email]> wrote:
>>> On 3 September 2011 23:49, Phil Steitz <[hidden email]> wrote:
>>>> On 9/3/11 1:59 PM, Phil Steitz wrote:
>>>>> On 9/2/11 8:08 AM, sebb AT ASF wrote:
>>>>>> I've updated to the latest versions of all the plugins.
>>>>>>
>>>>>> Some of these changes may well cause problems, but the best way to
>>>>>> find this out is for various people to try using the POM, so I've
>>>>>> uploaded 22-SNAPSHOT to the snapshot repo.
>>>>>>
>>>>>> Please report any issues with using 22-SNAPSHOT (you have to
>>>>>> temporarily update your pom to use it; it does not happen
>>>>>> automatically).
>>>>> Is there a one-liner from the command line that you can use to
>>>>> install the snapshot locally?
>>>> The following works4me:
>>>> mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons
>>>> -DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom
>>>>
>>>> run from the directory where I downloaded the updated pom.xml.
>>> I just used
>>>
>>> $ mvn install
>>>
>>>> After downloading a huge raft of new stuff, I unfortunately then get
>>>> some strange test failures in [math], e.g.
>>>>
>>>> java.lang.NullPointerException
>>>>    at java.io.DataInputStream.read(DataInputStream.java:132)
>>>>    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>>>>    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>>>>    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>>>>    at java.io.InputStreamReader.read(InputStreamReader.java:167)
>>>>    at java.io.BufferedReader.fill(BufferedReader.java:136)
>>>>    at java.io.BufferedReader.readLine(BufferedReader.java:299)
>>>>    at java.io.BufferedReader.readLine(BufferedReader.java:362)
>>>>    at
>>>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281)
>>>>    at
>>>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267)
>>>>
>>>> java.lang.NullPointerException
>>>>    at java.io.Reader.<init>(Reader.java:61)
>>>>    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
>>>>    at
>>>> org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115)
>>>>    at
>>>> org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75)
>>>>
>>>> All seem to be io-related.  Could be our setup is no longer
>>>> supported?   The failure above is using
>>>> CertifiedDataTest.class.getResourceAsStream(resource))) to load the
>>>> test files.
>>> Dunno - I'll have a look.
>>>
>>> The only error I have seen so far is complaints from the bundle plugin
>>> about duplicate property entries.
>> I get no errors running "mvn test" with parent 22-SNAPSHOT and
>> workspace updated to r1164923
>>
>> Tested with maven 2.2.1 and 3.0.3; java 1.6
>
> What OS?
>
> I get these failures on OSX.  Let me check Linux...

Win32/XP/SP3

Have you also tried parent 21? I noticed that Math was still on 20.

> Phil
>>
>>>> Phil
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Phil
>>>>>> S///
>>>>>>
>>>>>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>>>>>>> Author: sebb
>>>>>>> Date: Fri Sep  2 14:58:22 2011
>>>>>>> New Revision: 1164565
>>>>>>>
>>>>>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>>>>>> Log:
>>>>>>> Update to latest versions of plugins
>>>>>>> TODO - these need checking on projects
>>>>>>>
>>>>>>> Modified:
>>>>>>>    commons/proper/commons-parent/trunk/pom.xml
>>>>>>>
>>>>>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>>>>>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>>>>>> ==============================================================================
>>>>>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>>>>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>>>>>> @@ -151,7 +151,7 @@
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>           <artifactId>maven-compiler-plugin</artifactId>
>>>>>>> -          <version>2.1</version>
>>>>>>> +          <version>2.3.2</version>
>>>>>>>           <configuration>
>>>>>>>             <source>${maven.compile.source}</source>
>>>>>>>             <target>${maven.compile.target}</target>
>>>>>>> @@ -164,12 +164,12 @@
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>           <artifactId>maven-deploy-plugin</artifactId>
>>>>>>> -          <version>2.6</version>
>>>>>>> +          <version>2.7</version>
>>>>>>>         </plugin>
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>           <artifactId>maven-gpg-plugin</artifactId>
>>>>>>> -          <version>1.3</version>
>>>>>>> +          <version>1.4</version>
>>>>>>>         </plugin>
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>> @@ -179,7 +179,7 @@
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>           <artifactId>maven-jar-plugin</artifactId>
>>>>>>> -          <version>2.3</version>
>>>>>>> +          <version>2.3.2</version>
>>>>>>>         </plugin>
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>> @@ -227,7 +227,7 @@
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>           <artifactId>maven-site-plugin</artifactId>
>>>>>>> -          <version>2.2</version>
>>>>>>> +          <version>3.0</version>
>>>>>>>         </plugin>
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>> @@ -259,8 +259,7 @@
>>>>>>>         <plugin>
>>>>>>>           <groupId>org.apache.felix</groupId>
>>>>>>>           <artifactId>maven-bundle-plugin</artifactId>
>>>>>>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>>>>>> -          <version>1.4.3</version>
>>>>>>> +          <version>2.3.5</version>
>>>>>>>           <inherited>true</inherited>
>>>>>>>         </plugin>
>>>>>>>       </plugins>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>> For additional commands, e-mail: [hidden email]
>>>>>>
>>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Phil Steitz
On 9/3/11 7:20 PM, sebb wrote:

> On 4 September 2011 02:29, Phil Steitz <[hidden email]> wrote:
>> On 9/3/11 6:05 PM, sebb wrote:
>>> On 4 September 2011 01:20, sebb <[hidden email]> wrote:
>>>> On 3 September 2011 23:49, Phil Steitz <[hidden email]> wrote:
>>>>> On 9/3/11 1:59 PM, Phil Steitz wrote:
>>>>>> On 9/2/11 8:08 AM, sebb AT ASF wrote:
>>>>>>> I've updated to the latest versions of all the plugins.
>>>>>>>
>>>>>>> Some of these changes may well cause problems, but the best way to
>>>>>>> find this out is for various people to try using the POM, so I've
>>>>>>> uploaded 22-SNAPSHOT to the snapshot repo.
>>>>>>>
>>>>>>> Please report any issues with using 22-SNAPSHOT (you have to
>>>>>>> temporarily update your pom to use it; it does not happen
>>>>>>> automatically).
>>>>>> Is there a one-liner from the command line that you can use to
>>>>>> install the snapshot locally?
>>>>> The following works4me:
>>>>> mvn install:install-file -Dfile=pom.xml -DgroupId=org.apache.commons
>>>>> -DartifactId=commons-parent -Dversion=22-SNAPSHOT -Dpackaging=pom
>>>>>
>>>>> run from the directory where I downloaded the updated pom.xml.
>>>> I just used
>>>>
>>>> $ mvn install
>>>>
>>>>> After downloading a huge raft of new stuff, I unfortunately then get
>>>>> some strange test failures in [math], e.g.
>>>>>
>>>>> java.lang.NullPointerException
>>>>>    at java.io.DataInputStream.read(DataInputStream.java:132)
>>>>>    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
>>>>>    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
>>>>>    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
>>>>>    at java.io.InputStreamReader.read(InputStreamReader.java:167)
>>>>>    at java.io.BufferedReader.fill(BufferedReader.java:136)
>>>>>    at java.io.BufferedReader.readLine(BufferedReader.java:299)
>>>>>    at java.io.BufferedReader.readLine(BufferedReader.java:362)
>>>>>    at
>>>>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.loadRealMatrix(SingularValueDecompositionImplTest.java:281)
>>>>>    at
>>>>> org.apache.commons.math.linear.SingularValueDecompositionImplTest.testStability2(SingularValueDecompositionImplTest.java:267)
>>>>>
>>>>> java.lang.NullPointerException
>>>>>    at java.io.Reader.<init>(Reader.java:61)
>>>>>    at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
>>>>>    at
>>>>> org.apache.commons.math.stat.CertifiedDataTest.loadStats(CertifiedDataTest.java:115)
>>>>>    at
>>>>> org.apache.commons.math.stat.CertifiedDataTest.testDescriptiveStatistics(CertifiedDataTest.java:75)
>>>>>
>>>>> All seem to be io-related.  Could be our setup is no longer
>>>>> supported?   The failure above is using
>>>>> CertifiedDataTest.class.getResourceAsStream(resource))) to load the
>>>>> test files.
>>>> Dunno - I'll have a look.
>>>>
>>>> The only error I have seen so far is complaints from the bundle plugin
>>>> about duplicate property entries.
>>> I get no errors running "mvn test" with parent 22-SNAPSHOT and
>>> workspace updated to r1164923
>>>
>>> Tested with maven 2.2.1 and 3.0.3; java 1.6
>> What OS?
>>
>> I get these failures on OSX.  Let me check Linux...
> Win32/XP/SP3
>
> Have you also tried parent 21? I noticed that Math was still on 20.

Good idea to test that.  Same problem.  Setting up Linux tests now.

Phil

>
>> Phil
>>>>> Phil
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Phil
>>>>>>> S///
>>>>>>>
>>>>>>> On 2 September 2011 15:58,  <[hidden email]> wrote:
>>>>>>>> Author: sebb
>>>>>>>> Date: Fri Sep  2 14:58:22 2011
>>>>>>>> New Revision: 1164565
>>>>>>>>
>>>>>>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>>>>>>> Log:
>>>>>>>> Update to latest versions of plugins
>>>>>>>> TODO - these need checking on projects
>>>>>>>>
>>>>>>>> Modified:
>>>>>>>>    commons/proper/commons-parent/trunk/pom.xml
>>>>>>>>
>>>>>>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>>>>>>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>>>>>>> ==============================================================================
>>>>>>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>>>>>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>>>>>>> @@ -151,7 +151,7 @@
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>>           <artifactId>maven-compiler-plugin</artifactId>
>>>>>>>> -          <version>2.1</version>
>>>>>>>> +          <version>2.3.2</version>
>>>>>>>>           <configuration>
>>>>>>>>             <source>${maven.compile.source}</source>
>>>>>>>>             <target>${maven.compile.target}</target>
>>>>>>>> @@ -164,12 +164,12 @@
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>>           <artifactId>maven-deploy-plugin</artifactId>
>>>>>>>> -          <version>2.6</version>
>>>>>>>> +          <version>2.7</version>
>>>>>>>>         </plugin>
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>>           <artifactId>maven-gpg-plugin</artifactId>
>>>>>>>> -          <version>1.3</version>
>>>>>>>> +          <version>1.4</version>
>>>>>>>>         </plugin>
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>> @@ -179,7 +179,7 @@
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>>           <artifactId>maven-jar-plugin</artifactId>
>>>>>>>> -          <version>2.3</version>
>>>>>>>> +          <version>2.3.2</version>
>>>>>>>>         </plugin>
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>> @@ -227,7 +227,7 @@
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>>           <artifactId>maven-site-plugin</artifactId>
>>>>>>>> -          <version>2.2</version>
>>>>>>>> +          <version>3.0</version>
>>>>>>>>         </plugin>
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.maven.plugins</groupId>
>>>>>>>> @@ -259,8 +259,7 @@
>>>>>>>>         <plugin>
>>>>>>>>           <groupId>org.apache.felix</groupId>
>>>>>>>>           <artifactId>maven-bundle-plugin</artifactId>
>>>>>>>> -          <!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>>>>>>> -          <version>1.4.3</version>
>>>>>>>> +          <version>2.3.5</version>
>>>>>>>>           <inherited>true</inherited>
>>>>>>>>         </plugin>
>>>>>>>>       </plugins>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: [hidden email]
>>>>>>> For additional commands, e-mail: [hidden email]
>>>>>>>
>>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Phil Steitz
Same problem under Linux for parent 21.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Luc Maisonobe
Le 04/09/2011 04:57, Phil Steitz a écrit :
> Same problem under Linux for parent 21.

Isn't it related to a problem that arose some weeks ago about the
resource not being copied from source tree to classpath ? I think it
appeared first in Gump and someone updated the configuration to match
what maven did automatically. Perhaps these new plugins do not behave
like the previous one with respect to copying data files for tests ?

I'm sorry, I have no time yet to test this.

Luc

>
> Phil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 4 September 2011 10:53, Luc Maisonobe <[hidden email]> wrote:
> Le 04/09/2011 04:57, Phil Steitz a écrit :
>>
>> Same problem under Linux for parent 21.
>
> Isn't it related to a problem that arose some weeks ago about the resource
> not being copied from source tree to classpath ? I think it appeared first
> in Gump and someone updated the configuration to match what maven did
> automatically. Perhaps these new plugins do not behave like the previous one
> with respect to copying data files for tests ?

Yes, I think that may be it.

Just run another test using "mvn clean" first, and that now causes the
error on Windows too.
Sorry, I thought I had done that previously.

I propose to update the test case to replace the NPE with a more
useful message if possible.

And I'll have a look at which plugin is causing the problem.

> I'm sorry, I have no time yet to test this.
>
> Luc
>
>>
>> Phil
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 4 September 2011 11:23, sebb <[hidden email]> wrote:

> On 4 September 2011 10:53, Luc Maisonobe <[hidden email]> wrote:
>> Le 04/09/2011 04:57, Phil Steitz a écrit :
>>>
>>> Same problem under Linux for parent 21.
>>
>> Isn't it related to a problem that arose some weeks ago about the resource
>> not being copied from source tree to classpath ? I think it appeared first
>> in Gump and someone updated the configuration to match what maven did
>> automatically. Perhaps these new plugins do not behave like the previous one
>> with respect to copying data files for tests ?
>
> Yes, I think that may be it.
>
> Just run another test using "mvn clean" first, and that now causes the
> error on Windows too.
> Sorry, I thought I had done that previously.
>
> I propose to update the test case to replace the NPE with a more
> useful message if possible.
>
> And I'll have a look at which plugin is causing the problem.

Problem solved.

It was not a plugin version issue. The problem was caused by the
change in parent from 20->21 which added the following:

    <!-- ensure test jars also get NOTICE & LICENSE files -->
    <testResources>
      <testResource>
        <directory>${basedir}</directory>
        <targetPath>META-INF</targetPath>
        <includes>
          <include>NOTICE.txt</include>
          <include>LICENSE.txt</include>
        </includes>
      </testResource>
    </testResources>

This replaced the default testResources definition in the super-Pom, which is:

    <testResources>
      <testResource>
        <directory>src/test/resources</directory>
      </testResource>
    </testResources>

The parent POM also redefines <resources>:

    <resources>
      <resource>
        <directory>${basedir}</directory>
        <targetPath>META-INF</targetPath>
        <includes>
          <include>NOTICE.txt</include>
          <include>LICENSE.txt</include>
        </includes>
      </resource>
    </resources>

This has been there since version 3. This replaces:

    <resources>
      <resource>
        <directory>src/main/resources</directory>
      </resource>
    </resources>

which is presumably why the MATH pom has to define its own <resources>
entry to include the localisation directory.

I think we have two ways forward here:
1) ensure that the parent resources and testResources entries include
the default provided by the super-pom
2) find a different way to include the N&L files which does not
require overriding the super-pom

The second approach would be safer, as it would not rely on knowing
what the super-pom does, but the first is trivial to do, so I'll start
with that.

>> I'm sorry, I have no time yet to test this.

But well done for providing the essential hint!

>> Luc
>>
>>>
>>> Phil
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Luc Maisonobe
Le 04/09/2011 12:59, sebb a écrit :

> On 4 September 2011 11:23, sebb<[hidden email]>  wrote:
>> On 4 September 2011 10:53, Luc Maisonobe<[hidden email]>  wrote:
>>> Le 04/09/2011 04:57, Phil Steitz a écrit :
>>>>
>>>> Same problem under Linux for parent 21.
>>>
>>> Isn't it related to a problem that arose some weeks ago about the resource
>>> not being copied from source tree to classpath ? I think it appeared first
>>> in Gump and someone updated the configuration to match what maven did
>>> automatically. Perhaps these new plugins do not behave like the previous one
>>> with respect to copying data files for tests ?
>>
>> Yes, I think that may be it.
>>
>> Just run another test using "mvn clean" first, and that now causes the
>> error on Windows too.
>> Sorry, I thought I had done that previously.
>>
>> I propose to update the test case to replace the NPE with a more
>> useful message if possible.
>>
>> And I'll have a look at which plugin is causing the problem.
>
> Problem solved.
>
> It was not a plugin version issue. The problem was caused by the
> change in parent from 20->21 which added the following:
>
>      <!-- ensure test jars also get NOTICE&  LICENSE files -->
>      <testResources>
>        <testResource>
>          <directory>${basedir}</directory>
>          <targetPath>META-INF</targetPath>
>          <includes>
>            <include>NOTICE.txt</include>
>            <include>LICENSE.txt</include>
>          </includes>
>        </testResource>
>      </testResources>
>
> This replaced the default testResources definition in the super-Pom, which is:
>
>      <testResources>
>        <testResource>
>          <directory>src/test/resources</directory>
>        </testResource>
>      </testResources>
>
> The parent POM also redefines<resources>:
>
>      <resources>
>        <resource>
>          <directory>${basedir}</directory>
>          <targetPath>META-INF</targetPath>
>          <includes>
>            <include>NOTICE.txt</include>
>            <include>LICENSE.txt</include>
>          </includes>
>        </resource>
>      </resources>
>
> This has been there since version 3. This replaces:
>
>      <resources>
>        <resource>
>          <directory>src/main/resources</directory>
>        </resource>
>      </resources>
>
> which is presumably why the MATH pom has to define its own<resources>
> entry to include the localisation directory.
>
> I think we have two ways forward here:
> 1) ensure that the parent resources and testResources entries include
> the default provided by the super-pom
> 2) find a different way to include the N&L files which does not
> require overriding the super-pom

I'm not sure this is related, but in another project with a similar
layout, we add some problems getting the resources on an Android system.
I thought putting a few thing in META-INF was safe and maven compliant,
so I put the localization files there. However, android seems to put
only its own stuff in META-INF, so reusing this location is perhaps bad.

Should we take this opportunity to move some resources in another folder
? Android seems to use an "assets" folder, would it be maven compliant ?
Should we use something more specific to our components ?

Luc

>
> The second approach would be safer, as it would not rely on knowing
> what the super-pom does, but the first is trivial to do, so I'll start
> with that.
>
>>> I'm sorry, I have no time yet to test this.
>
> But well done for providing the essential hint!
>
>>> Luc
>>>
>>>>
>>>> Phil
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 4 September 2011 12:24, Luc Maisonobe <[hidden email]> wrote:

> Le 04/09/2011 12:59, sebb a écrit :
>>
>> On 4 September 2011 11:23, sebb<[hidden email]>  wrote:
>>>
>>> On 4 September 2011 10:53, Luc Maisonobe<[hidden email]>  wrote:
>>>>
>>>> Le 04/09/2011 04:57, Phil Steitz a écrit :
>>>>>
>>>>> Same problem under Linux for parent 21.
>>>>
>>>> Isn't it related to a problem that arose some weeks ago about the
>>>> resource
>>>> not being copied from source tree to classpath ? I think it appeared
>>>> first
>>>> in Gump and someone updated the configuration to match what maven did
>>>> automatically. Perhaps these new plugins do not behave like the previous
>>>> one
>>>> with respect to copying data files for tests ?
>>>
>>> Yes, I think that may be it.
>>>
>>> Just run another test using "mvn clean" first, and that now causes the
>>> error on Windows too.
>>> Sorry, I thought I had done that previously.
>>>
>>> I propose to update the test case to replace the NPE with a more
>>> useful message if possible.
>>>
>>> And I'll have a look at which plugin is causing the problem.
>>
>> Problem solved.
>>
>> It was not a plugin version issue. The problem was caused by the
>> change in parent from 20->21 which added the following:
>>
>>     <!-- ensure test jars also get NOTICE&  LICENSE files -->
>>     <testResources>
>>       <testResource>
>>         <directory>${basedir}</directory>
>>         <targetPath>META-INF</targetPath>
>>         <includes>
>>           <include>NOTICE.txt</include>
>>           <include>LICENSE.txt</include>
>>         </includes>
>>       </testResource>
>>     </testResources>
>>
>> This replaced the default testResources definition in the super-Pom, which
>> is:
>>
>>     <testResources>
>>       <testResource>
>>         <directory>src/test/resources</directory>
>>       </testResource>
>>     </testResources>
>>
>> The parent POM also redefines<resources>:
>>
>>     <resources>
>>       <resource>
>>         <directory>${basedir}</directory>
>>         <targetPath>META-INF</targetPath>
>>         <includes>
>>           <include>NOTICE.txt</include>
>>           <include>LICENSE.txt</include>
>>         </includes>
>>       </resource>
>>     </resources>
>>
>> This has been there since version 3. This replaces:
>>
>>     <resources>
>>       <resource>
>>         <directory>src/main/resources</directory>
>>       </resource>
>>     </resources>
>>
>> which is presumably why the MATH pom has to define its own<resources>
>> entry to include the localisation directory.
>>
>> I think we have two ways forward here:
>> 1) ensure that the parent resources and testResources entries include
>> the default provided by the super-pom
>> 2) find a different way to include the N&L files which does not
>> require overriding the super-pom
>
> I'm not sure this is related, but in another project with a similar layout,
> we add some problems getting the resources on an Android system. I thought
> putting a few thing in META-INF was safe and maven compliant, so I put the
> localization files there. However, android seems to put only its own stuff
> in META-INF, so reusing this location is perhaps bad.

Maven assumes resources are under:

src/main/resources

It just copies any files/folders under there to classes/ and does not
care what the names are.

> Should we take this opportunity to move some resources in another folder ?
> Android seems to use an "assets" folder, would it be maven compliant ?

If it is under src/main/resources, Maven does not care.

> Should we use something more specific to our components ?

Probably better to leave META-INF directory for the files that truly
belong there, such as MANIFEST.MF and service provider property files.

We can drop the entire <resources> customisation in the Math pom once
it uses version 22.
Meanwhile, we could just change the localisation part to the standard:

<resource>
     <directory>src/main/resources</directory>
 </resource>

which would work even if the resources are moved from META-INF

> Luc
>
>>
>> The second approach would be safer, as it would not rely on knowing
>> what the super-pom does, but the first is trivial to do, so I'll start
>> with that.
>>
>>>> I'm sorry, I have no time yet to test this.
>>
>> But well done for providing the essential hint!
>>
>>>> Luc
>>>>
>>>>>
>>>>> Phil
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [hidden email]
>>>>> For additional commands, e-mail: [hidden email]
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Oliver Heger-3
In reply to this post by sebb AT ASF
Am 02.09.2011 17:08, schrieb sebb AT ASF:

> I've updated to the latest versions of all the plugins.
>
> Some of these changes may well cause problems, but the best way to
> find this out is for various people to try using the POM, so I've
> uploaded 22-SNAPSHOT to the snapshot repo.
>
> Please report any issues with using 22-SNAPSHOT (you have to
> temporarily update your pom to use it; it does not happen
> automatically).
>
> S///

I tested the new snapshot version with [configuration]. Both building
the jar and the site succeed.

However, the generated site has some defects: The navigation is missing
some links, e.g. for project info and reports. Also, the header and the
logo are not displayed correctly. It seems that elements inherited from
the template for all commons sites are not processed.

Oliver

>
> On 2 September 2011 15:58,<[hidden email]>  wrote:
>> Author: sebb
>> Date: Fri Sep  2 14:58:22 2011
>> New Revision: 1164565
>>
>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>> Log:
>> Update to latest versions of plugins
>> TODO - these need checking on projects
>>
>> Modified:
>>     commons/proper/commons-parent/trunk/pom.xml
>>
>> Modified: commons/proper/commons-parent/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>> ==============================================================================
>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>> @@ -151,7 +151,7 @@
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>>            <artifactId>maven-compiler-plugin</artifactId>
>> -<version>2.1</version>
>> +<version>2.3.2</version>
>>            <configuration>
>>              <source>${maven.compile.source}</source>
>>              <target>${maven.compile.target}</target>
>> @@ -164,12 +164,12 @@
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>>            <artifactId>maven-deploy-plugin</artifactId>
>> -<version>2.6</version>
>> +<version>2.7</version>
>>          </plugin>
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>>            <artifactId>maven-gpg-plugin</artifactId>
>> -<version>1.3</version>
>> +<version>1.4</version>
>>          </plugin>
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>> @@ -179,7 +179,7 @@
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>>            <artifactId>maven-jar-plugin</artifactId>
>> -<version>2.3</version>
>> +<version>2.3.2</version>
>>          </plugin>
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>> @@ -227,7 +227,7 @@
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>>            <artifactId>maven-site-plugin</artifactId>
>> -<version>2.2</version>
>> +<version>3.0</version>
>>          </plugin>
>>          <plugin>
>>            <groupId>org.apache.maven.plugins</groupId>
>> @@ -259,8 +259,7 @@
>>          <plugin>
>>            <groupId>org.apache.felix</groupId>
>>            <artifactId>maven-bundle-plugin</artifactId>
>> -<!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>> -<version>1.4.3</version>
>> +<version>2.3.5</version>
>>            <inherited>true</inherited>
>>          </plugin>
>>        </plugins>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

sebb-2-2
On 4 September 2011 20:07, Oliver Heger <[hidden email]> wrote:

> Am 02.09.2011 17:08, schrieb sebb AT ASF:
>>
>> I've updated to the latest versions of all the plugins.
>>
>> Some of these changes may well cause problems, but the best way to
>> find this out is for various people to try using the POM, so I've
>> uploaded 22-SNAPSHOT to the snapshot repo.
>>
>> Please report any issues with using 22-SNAPSHOT (you have to
>> temporarily update your pom to use it; it does not happen
>> automatically).
>>
>> S///
>
> I tested the new snapshot version with [configuration]. Both building the
> jar and the site succeed.
>
> However, the generated site has some defects: The navigation is missing some
> links, e.g. for project info and reports. Also, the header and the logo are
> not displayed correctly. It seems that elements inherited from the template
> for all commons sites are not processed.

What was the last comons parent version for which the site did build correctly?

> Oliver
>
>>
>> On 2 September 2011 15:58,<[hidden email]>  wrote:
>>>
>>> Author: sebb
>>> Date: Fri Sep  2 14:58:22 2011
>>> New Revision: 1164565
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1164565&view=rev
>>> Log:
>>> Update to latest versions of plugins
>>> TODO - these need checking on projects
>>>
>>> Modified:
>>>    commons/proper/commons-parent/trunk/pom.xml
>>>
>>> Modified: commons/proper/commons-parent/trunk/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1164565&r1=1164564&r2=1164565&view=diff
>>>
>>> ==============================================================================
>>> --- commons/proper/commons-parent/trunk/pom.xml (original)
>>> +++ commons/proper/commons-parent/trunk/pom.xml Fri Sep  2 14:58:22 2011
>>> @@ -151,7 +151,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-compiler-plugin</artifactId>
>>> -<version>2.1</version>
>>> +<version>2.3.2</version>
>>>           <configuration>
>>>             <source>${maven.compile.source}</source>
>>>             <target>${maven.compile.target}</target>
>>> @@ -164,12 +164,12 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-deploy-plugin</artifactId>
>>> -<version>2.6</version>
>>> +<version>2.7</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-gpg-plugin</artifactId>
>>> -<version>1.3</version>
>>> +<version>1.4</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>> @@ -179,7 +179,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-jar-plugin</artifactId>
>>> -<version>2.3</version>
>>> +<version>2.3.2</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>> @@ -227,7 +227,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-site-plugin</artifactId>
>>> -<version>2.2</version>
>>> +<version>3.0</version>
>>>         </plugin>
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>> @@ -259,8 +259,7 @@
>>>         <plugin>
>>>           <groupId>org.apache.felix</groupId>
>>>           <artifactId>maven-bundle-plugin</artifactId>
>>> -<!-- version 1.4.x is required for JDK 1.4 compatibilty -->
>>> -<version>1.4.3</version>
>>> +<version>2.3.5</version>
>>>           <inherited>true</inherited>
>>>         </plugin>
>>>       </plugins>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]

Jörg Schaible-3
In reply to this post by sebb-2-2
sebb wrote:

> On 4 September 2011 11:23, sebb <[hidden email]> wrote:
>> On 4 September 2011 10:53, Luc Maisonobe <[hidden email]> wrote:
>>> Le 04/09/2011 04:57, Phil Steitz a écrit :
>>>>
>>>> Same problem under Linux for parent 21.
>>>
>>> Isn't it related to a problem that arose some weeks ago about the
>>> resource not being copied from source tree to classpath ? I think it
>>> appeared first in Gump and someone updated the configuration to match
>>> what maven did automatically. Perhaps these new plugins do not behave
>>> like the previous one with respect to copying data files for tests ?
>>
>> Yes, I think that may be it.
>>
>> Just run another test using "mvn clean" first, and that now causes the
>> error on Windows too.
>> Sorry, I thought I had done that previously.
>>
>> I propose to update the test case to replace the NPE with a more
>> useful message if possible.
>>
>> And I'll have a look at which plugin is causing the problem.
>
> Problem solved.
>
> It was not a plugin version issue. The problem was caused by the
> change in parent from 20->21 which added the following:
>
>     <!-- ensure test jars also get NOTICE & LICENSE files -->
>     <testResources>
>       <testResource>
>         <directory>${basedir}</directory>
>         <targetPath>META-INF</targetPath>
>         <includes>
>           <include>NOTICE.txt</include>
>           <include>LICENSE.txt</include>
>         </includes>
>       </testResource>
>     </testResources>
>
> This replaced the default testResources definition in the super-Pom, which
> is:
>
>     <testResources>
>       <testResource>
>         <directory>src/test/resources</directory>
>       </testResource>
>     </testResources>
>
> The parent POM also redefines <resources>:
>
>     <resources>
>       <resource>
>         <directory>${basedir}</directory>
>         <targetPath>META-INF</targetPath>
>         <includes>
>           <include>NOTICE.txt</include>
>           <include>LICENSE.txt</include>
>         </includes>
>       </resource>
>     </resources>
>
> This has been there since version 3. This replaces:
>
>     <resources>
>       <resource>
>         <directory>src/main/resources</directory>
>       </resource>
>     </resources>
>
> which is presumably why the MATH pom has to define its own <resources>
> entry to include the localisation directory.
>
> I think we have two ways forward here:
> 1) ensure that the parent resources and testResources entries include
> the default provided by the super-pom
> 2) find a different way to include the N&L files which does not
> require overriding the super-pom
>
> The second approach would be safer, as it would not rely on knowing
> what the super-pom does, but the first is trivial to do, so I'll start
> with that.

I'd like to find definitely a solution following 2. The maven-eclipse-plugin
always produces invalid entries in the .classpath for those two resource
definitions.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

12