You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb AT ASF <se...@apache.org> on 2011/09/02 17:08:34 UTC

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

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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Gary Gregory <ga...@gmail.com>.
FYI: 22-SNAPSHOT works with [codec].

Gary

On Mon, Sep 5, 2011 at 5:59 AM, sebb <se...@gmail.com> wrote:

> On 5 September 2011 08:50, Jörg Schaible <jo...@scalaris.com>
> wrote:
> > Hi Oliver,
> >
> > Oliver Heger 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.
> >
> > src/site/site.xml does not have an entry to inherit the reports from the
> > parent in its body section e.g. something like:
> >
> >  <menu ref="reports" inherit="bottom"/>
> >
> > Required for "newer" site plugin versions.
>
> The commons parent site.xml already includes that (and has done for some
> while)
>
> Or do the current site plugin versions require the component to repeat
> the entry in their own site.xml files?
>
> Where is this documented?
>
> > - Jörg
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: http://s.apache.org/rl
Spring Batch in Action: http://s.apache.org/HOq
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

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

Posted by sebb <se...@gmail.com>.
On 5 September 2011 08:50, Jörg Schaible <jo...@scalaris.com> wrote:
> Hi Oliver,
>
> Oliver Heger 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.
>
> src/site/site.xml does not have an entry to inherit the reports from the
> parent in its body section e.g. something like:
>
>  <menu ref="reports" inherit="bottom"/>
>
> Required for "newer" site plugin versions.

The commons parent site.xml already includes that (and has done for some while)

Or do the current site plugin versions require the component to repeat
the entry in their own site.xml files?

Where is this documented?

> - Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Jörg Schaible <jo...@scalaris.com>.
Hi Oliver,

Oliver Heger 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.

src/site/site.xml does not have an entry to inherit the reports from the 
parent in its body section e.g. something like:

  <menu ref="reports" inherit="bottom"/>

Required for "newer" site plugin versions.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Ralph Goers <ra...@dslextreme.com>.
On Sep 5, 2011, at 7:41 PM, sebb wrote:

> On 5 September 2011 15:55, Ralph Goers <ra...@dslextreme.com> wrote:
>> If you are making changes that affect the site I'd appreciate you also testing vfs as it is a multi-module build.
> 
> What command do you use for checking the site?
> 

mvn site:stage-deploy -DstagingSiteURL=file:///Users/rgoers/vfssite

Ralph


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

Posted by sebb <se...@gmail.com>.
On 5 September 2011 15:55, Ralph Goers <ra...@dslextreme.com> wrote:
> If you are making changes that affect the site I'd appreciate you also testing vfs as it is a multi-module build.

What command do you use for checking the site?

> Ralph
>
> On Sep 5, 2011, at 6:52 AM, sebb wrote:
>
>> On 5 September 2011 10:42, Oliver Heger <ol...@oliver-heger.de> wrote:
>>> Am 05.09.2011 02:03, schrieb sebb:
>>>>
>>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>>  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?
>>>
>>> Version 21.
>>>
>>> But it seems Jörg has found a solution for this problem.
>>
>> I've tried building the configuration site with
>>
>> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip -Dcobertura.skip
>>
>> (the skips are to speed it up)
>>
>> When I compare the output for parent 21 and parent 22-SNAPSHOT there
>> are quite a few differences which are due to ordering changes in
>> reports and html attributes, but I don't see any obvious missing
>> links.
>>
>> Tried with both Maven 2.2.1 and 3.0.3.
>>
>> So what are some of the errors you have seen?
>> And what command did you use to create the site?
>>
>> The only minor issue I can see is that the configuration site.xml has
>> leading / for some links; these are not necessary and should be
>> removed.
>>
>>> Oliver
>>>
>>>>
>>>>> Oliver
>>>>>
>>>>>>
>>>>>> On 2 September 2011 15:58,<se...@apache.org>    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: dev-unsubscribe@commons.apache.org
>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Ralph Goers <ra...@dslextreme.com>.
If you are making changes that affect the site I'd appreciate you also testing vfs as it is a multi-module build.

Ralph

On Sep 5, 2011, at 6:52 AM, sebb wrote:

> On 5 September 2011 10:42, Oliver Heger <ol...@oliver-heger.de> wrote:
>> Am 05.09.2011 02:03, schrieb sebb:
>>> 
>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>  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?
>> 
>> Version 21.
>> 
>> But it seems Jörg has found a solution for this problem.
> 
> I've tried building the configuration site with
> 
> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip -Dcobertura.skip
> 
> (the skips are to speed it up)
> 
> When I compare the output for parent 21 and parent 22-SNAPSHOT there
> are quite a few differences which are due to ordering changes in
> reports and html attributes, but I don't see any obvious missing
> links.
> 
> Tried with both Maven 2.2.1 and 3.0.3.
> 
> So what are some of the errors you have seen?
> And what command did you use to create the site?
> 
> The only minor issue I can see is that the configuration site.xml has
> leading / for some links; these are not necessary and should be
> removed.
> 
>> Oliver
>> 
>>> 
>>>> Oliver
>>>> 
>>>>> 
>>>>> On 2 September 2011 15:58,<se...@apache.org>    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: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>> 
>>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 6 September 2011 19:47, Oliver Heger <ol...@oliver-heger.de> wrote:
> Am 06.09.2011 04:40, schrieb sebb:
>>
>> On 5 September 2011 21:20, sebb<se...@gmail.com>  wrote:
>>>
>>> On 5 September 2011 19:19, Oliver Heger<ol...@oliver-heger.de>
>>>  wrote:
>>>>
>>>> Am 05.09.2011 15:52, schrieb sebb:
>>>>>
>>>>> On 5 September 2011 10:42, Oliver Heger<ol...@oliver-heger.de>
>>>>>  wrote:
>>>>>>
>>>>>> Am 05.09.2011 02:03, schrieb sebb:
>>>>>>>
>>>>>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>>>>>  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?
>>>>>>
>>>>>> Version 21.
>>>>>>
>>>>>> But it seems Jörg has found a solution for this problem.
>>>>>
>>>>> I've tried building the configuration site with
>>>>>
>>>>> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip
>>>>> -Dcobertura.skip
>>>>>
>>>>> (the skips are to speed it up)
>>>>>
>>>>> When I compare the output for parent 21 and parent 22-SNAPSHOT there
>>>>> are quite a few differences which are due to ordering changes in
>>>>> reports and html attributes, but I don't see any obvious missing
>>>>> links.
>>>>>
>>>>> Tried with both Maven 2.2.1 and 3.0.3.
>>>>>
>>>>> So what are some of the errors you have seen?
>>>>> And what command did you use to create the site?
>>>>>
>>>>> The only minor issue I can see is that the configuration site.xml has
>>>>> leading / for some links; these are not necessary and should be
>>>>> removed.
>>>>
>>>> I used the command mvn clean site:site, maven version is 2.2.1 on
>>>> Windows 7,
>>>> JDK 1.6. I uploaded the results at
>>>> http://people.apache.org/~oheger/configuration-site/
>>>
>>> I see - looks like the site has been generated from the local site.xml
>>> only, completely ignoring commons parent site.xml
>>>
>>> I suspect your local repo does not have the site.xml file - have a
>>> look and see, it should be under
>>>
>>> <something>\repository\org\apache\commons\commons-parent\22-SNAPSHOT
>>>
>>> I just checked, and the site.xml file has been uploaded to the SNAPSHOT
>>> repo at:
>>>
>>>
>>> https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-parent/22-SNAPSHOT/
>>>
>>> but when I tried deleting the local copy, only the pom was downloaded
>>> from the snapshot repo - maybe a bug in Maven?
>>
>> I tried to reproduce the error to report the issue, and initially it
>> apppeared to show that site.xml was not being downloaded.
>> However, now I cannot get the download to fail. No idea why it has
>> suddenly started working for me.
>>
>> Note that the site.xml is only downloaded as part of the Maven site
>> processing.
>>
>> I've also updated the snapshot; there were stale references to site
>> v2.2 and 3.0-beta3.
>
> Did some more testing: Obviously, there was actually something wrong with
> site.xml in my local repository. There were two site.xml files (standard and
> _en), but both were empty.
>
> I did a fresh checkout of commons-parent and built it using mvn install, and
> this helped. Now I have a correct site.xml in my local repository.
>
> Consequently the site looks much better now. The only difference I noticed
> is that excludes for the RAT plug-in seem to behave differently now. In the
> configuration pom the conf directory is excluded, but nevertheless the RAT
> report lists the files with unknown licenses.

That's because the RAT plugin is now under a different Maven group and
id; you need to use

        <groupId>org.apache.rat</groupId>
        <artifactId>apache-rat-plugin</artifactId>
not
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rat-maven-plugin</artifactId>

> Oliver
>
>>
>>> To fix this, update to the current commons-parent, and use mvn install
>>> from your local workspace.
>>>
>>>> The same command with commons-parent 21 produced the site which is part
>>>> of
>>>> the ongoing vote for the configuration release:
>>>> http://people.apache.org/~oheger/configuration-1.7rc3/site/
>>>>
>>>> Oliver
>>>>
>>>>>
>>>>>> Oliver
>>>>>>
>>>>>>>
>>>>>>>> Oliver
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 2 September 2011 15:58,<se...@apache.org>        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: dev-unsubscribe@commons.apache.org
>>>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Oliver Heger <ol...@oliver-heger.de>.
Am 06.09.2011 04:40, schrieb sebb:
> On 5 September 2011 21:20, sebb<se...@gmail.com>  wrote:
>> On 5 September 2011 19:19, Oliver Heger<ol...@oliver-heger.de>  wrote:
>>> Am 05.09.2011 15:52, schrieb sebb:
>>>>
>>>> On 5 September 2011 10:42, Oliver Heger<ol...@oliver-heger.de>
>>>>   wrote:
>>>>>
>>>>> Am 05.09.2011 02:03, schrieb sebb:
>>>>>>
>>>>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>>>>   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?
>>>>>
>>>>> Version 21.
>>>>>
>>>>> But it seems Jörg has found a solution for this problem.
>>>>
>>>> I've tried building the configuration site with
>>>>
>>>> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip
>>>> -Dcobertura.skip
>>>>
>>>> (the skips are to speed it up)
>>>>
>>>> When I compare the output for parent 21 and parent 22-SNAPSHOT there
>>>> are quite a few differences which are due to ordering changes in
>>>> reports and html attributes, but I don't see any obvious missing
>>>> links.
>>>>
>>>> Tried with both Maven 2.2.1 and 3.0.3.
>>>>
>>>> So what are some of the errors you have seen?
>>>> And what command did you use to create the site?
>>>>
>>>> The only minor issue I can see is that the configuration site.xml has
>>>> leading / for some links; these are not necessary and should be
>>>> removed.
>>>
>>> I used the command mvn clean site:site, maven version is 2.2.1 on Windows 7,
>>> JDK 1.6. I uploaded the results at
>>> http://people.apache.org/~oheger/configuration-site/
>>
>> I see - looks like the site has been generated from the local site.xml
>> only, completely ignoring commons parent site.xml
>>
>> I suspect your local repo does not have the site.xml file - have a
>> look and see, it should be under
>>
>> <something>\repository\org\apache\commons\commons-parent\22-SNAPSHOT
>>
>> I just checked, and the site.xml file has been uploaded to the SNAPSHOT repo at:
>>
>> https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-parent/22-SNAPSHOT/
>>
>> but when I tried deleting the local copy, only the pom was downloaded
>> from the snapshot repo - maybe a bug in Maven?
>
> I tried to reproduce the error to report the issue, and initially it
> apppeared to show that site.xml was not being downloaded.
> However, now I cannot get the download to fail. No idea why it has
> suddenly started working for me.
>
> Note that the site.xml is only downloaded as part of the Maven site processing.
>
> I've also updated the snapshot; there were stale references to site
> v2.2 and 3.0-beta3.

Did some more testing: Obviously, there was actually something wrong 
with site.xml in my local repository. There were two site.xml files 
(standard and _en), but both were empty.

I did a fresh checkout of commons-parent and built it using mvn install, 
and this helped. Now I have a correct site.xml in my local repository.

Consequently the site looks much better now. The only difference I 
noticed is that excludes for the RAT plug-in seem to behave differently 
now. In the configuration pom the conf directory is excluded, but 
nevertheless the RAT report lists the files with unknown licenses.

Oliver

>
>> To fix this, update to the current commons-parent, and use mvn install
>> from your local workspace.
>>
>>> The same command with commons-parent 21 produced the site which is part of
>>> the ongoing vote for the configuration release:
>>> http://people.apache.org/~oheger/configuration-1.7rc3/site/
>>>
>>> Oliver
>>>
>>>>
>>>>> Oliver
>>>>>
>>>>>>
>>>>>>> Oliver
>>>>>>>
>>>>>>>>
>>>>>>>> On 2 September 2011 15:58,<se...@apache.org>        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: dev-unsubscribe@commons.apache.org
>>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 5 September 2011 21:20, sebb <se...@gmail.com> wrote:
> On 5 September 2011 19:19, Oliver Heger <ol...@oliver-heger.de> wrote:
>> Am 05.09.2011 15:52, schrieb sebb:
>>>
>>> On 5 September 2011 10:42, Oliver Heger<ol...@oliver-heger.de>
>>>  wrote:
>>>>
>>>> Am 05.09.2011 02:03, schrieb sebb:
>>>>>
>>>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>>>  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?
>>>>
>>>> Version 21.
>>>>
>>>> But it seems Jörg has found a solution for this problem.
>>>
>>> I've tried building the configuration site with
>>>
>>> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip
>>> -Dcobertura.skip
>>>
>>> (the skips are to speed it up)
>>>
>>> When I compare the output for parent 21 and parent 22-SNAPSHOT there
>>> are quite a few differences which are due to ordering changes in
>>> reports and html attributes, but I don't see any obvious missing
>>> links.
>>>
>>> Tried with both Maven 2.2.1 and 3.0.3.
>>>
>>> So what are some of the errors you have seen?
>>> And what command did you use to create the site?
>>>
>>> The only minor issue I can see is that the configuration site.xml has
>>> leading / for some links; these are not necessary and should be
>>> removed.
>>
>> I used the command mvn clean site:site, maven version is 2.2.1 on Windows 7,
>> JDK 1.6. I uploaded the results at
>> http://people.apache.org/~oheger/configuration-site/
>
> I see - looks like the site has been generated from the local site.xml
> only, completely ignoring commons parent site.xml
>
> I suspect your local repo does not have the site.xml file - have a
> look and see, it should be under
>
> <something>\repository\org\apache\commons\commons-parent\22-SNAPSHOT
>
> I just checked, and the site.xml file has been uploaded to the SNAPSHOT repo at:
>
> https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-parent/22-SNAPSHOT/
>
> but when I tried deleting the local copy, only the pom was downloaded
> from the snapshot repo - maybe a bug in Maven?

I tried to reproduce the error to report the issue, and initially it
apppeared to show that site.xml was not being downloaded.
However, now I cannot get the download to fail. No idea why it has
suddenly started working for me.

Note that the site.xml is only downloaded as part of the Maven site processing.

I've also updated the snapshot; there were stale references to site
v2.2 and 3.0-beta3.

> To fix this, update to the current commons-parent, and use mvn install
> from your local workspace.
>
>> The same command with commons-parent 21 produced the site which is part of
>> the ongoing vote for the configuration release:
>> http://people.apache.org/~oheger/configuration-1.7rc3/site/
>>
>> Oliver
>>
>>>
>>>> Oliver
>>>>
>>>>>
>>>>>> Oliver
>>>>>>
>>>>>>>
>>>>>>> On 2 September 2011 15:58,<se...@apache.org>      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: dev-unsubscribe@commons.apache.org
>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 5 September 2011 19:19, Oliver Heger <ol...@oliver-heger.de> wrote:
> Am 05.09.2011 15:52, schrieb sebb:
>>
>> On 5 September 2011 10:42, Oliver Heger<ol...@oliver-heger.de>
>>  wrote:
>>>
>>> Am 05.09.2011 02:03, schrieb sebb:
>>>>
>>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>>  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?
>>>
>>> Version 21.
>>>
>>> But it seems Jörg has found a solution for this problem.
>>
>> I've tried building the configuration site with
>>
>> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip
>> -Dcobertura.skip
>>
>> (the skips are to speed it up)
>>
>> When I compare the output for parent 21 and parent 22-SNAPSHOT there
>> are quite a few differences which are due to ordering changes in
>> reports and html attributes, but I don't see any obvious missing
>> links.
>>
>> Tried with both Maven 2.2.1 and 3.0.3.
>>
>> So what are some of the errors you have seen?
>> And what command did you use to create the site?
>>
>> The only minor issue I can see is that the configuration site.xml has
>> leading / for some links; these are not necessary and should be
>> removed.
>
> I used the command mvn clean site:site, maven version is 2.2.1 on Windows 7,
> JDK 1.6. I uploaded the results at
> http://people.apache.org/~oheger/configuration-site/

I see - looks like the site has been generated from the local site.xml
only, completely ignoring commons parent site.xml

I suspect your local repo does not have the site.xml file - have a
look and see, it should be under

<something>\repository\org\apache\commons\commons-parent\22-SNAPSHOT

I just checked, and the site.xml file has been uploaded to the SNAPSHOT repo at:

https://repository.apache.org/content/repositories/snapshots/org/apache/commons/commons-parent/22-SNAPSHOT/

but when I tried deleting the local copy, only the pom was downloaded
from the snapshot repo - maybe a bug in Maven?

To fix this, update to the current commons-parent, and use mvn install
from your local workspace.

> The same command with commons-parent 21 produced the site which is part of
> the ongoing vote for the configuration release:
> http://people.apache.org/~oheger/configuration-1.7rc3/site/
>
> Oliver
>
>>
>>> Oliver
>>>
>>>>
>>>>> Oliver
>>>>>
>>>>>>
>>>>>> On 2 September 2011 15:58,<se...@apache.org>      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: dev-unsubscribe@commons.apache.org
>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Oliver Heger <ol...@oliver-heger.de>.
Am 05.09.2011 15:52, schrieb sebb:
> On 5 September 2011 10:42, Oliver Heger<ol...@oliver-heger.de>  wrote:
>> Am 05.09.2011 02:03, schrieb sebb:
>>>
>>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>>   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?
>>
>> Version 21.
>>
>> But it seems Jörg has found a solution for this problem.
>
> I've tried building the configuration site with
>
> mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip -Dcobertura.skip
>
> (the skips are to speed it up)
>
> When I compare the output for parent 21 and parent 22-SNAPSHOT there
> are quite a few differences which are due to ordering changes in
> reports and html attributes, but I don't see any obvious missing
> links.
>
> Tried with both Maven 2.2.1 and 3.0.3.
>
> So what are some of the errors you have seen?
> And what command did you use to create the site?
>
> The only minor issue I can see is that the configuration site.xml has
> leading / for some links; these are not necessary and should be
> removed.

I used the command mvn clean site:site, maven version is 2.2.1 on 
Windows 7, JDK 1.6. I uploaded the results at
http://people.apache.org/~oheger/configuration-site/

The same command with commons-parent 21 produced the site which is part 
of the ongoing vote for the configuration release:
http://people.apache.org/~oheger/configuration-1.7rc3/site/

Oliver

>
>> Oliver
>>
>>>
>>>> Oliver
>>>>
>>>>>
>>>>> On 2 September 2011 15:58,<se...@apache.org>      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: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 5 September 2011 10:42, Oliver Heger <ol...@oliver-heger.de> wrote:
> Am 05.09.2011 02:03, schrieb sebb:
>>
>> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>
>>  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?
>
> Version 21.
>
> But it seems Jörg has found a solution for this problem.

I've tried building the configuration site with

mvn site -DskipTests -Dmaven.javadoc.skip -Dmaven.clover.skip -Dcobertura.skip

(the skips are to speed it up)

When I compare the output for parent 21 and parent 22-SNAPSHOT there
are quite a few differences which are due to ordering changes in
reports and html attributes, but I don't see any obvious missing
links.

Tried with both Maven 2.2.1 and 3.0.3.

So what are some of the errors you have seen?
And what command did you use to create the site?

The only minor issue I can see is that the configuration site.xml has
leading / for some links; these are not necessary and should be
removed.

> Oliver
>
>>
>>> Oliver
>>>
>>>>
>>>> On 2 September 2011 15:58,<se...@apache.org>    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: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Oliver Heger <ol...@oliver-heger.de>.
Am 05.09.2011 02:03, schrieb sebb:
> On 4 September 2011 20:07, Oliver Heger<ol...@oliver-heger.de>  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?

Version 21.

But it seems Jörg has found a solution for this problem.

Oliver

>
>> Oliver
>>
>>>
>>> On 2 September 2011 15:58,<se...@apache.org>    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: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 4 September 2011 20:07, Oliver Heger <ol...@oliver-heger.de> 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,<se...@apache.org>  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: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Oliver Heger <ol...@oliver-heger.de>.
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,<se...@apache.org>  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: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Jörg Schaible <jo...@scalaris.com>.
sebb wrote:

> On 4 September 2011 11:23, sebb <se...@gmail.com> wrote:
>> On 4 September 2011 10:53, Luc Maisonobe <Lu...@free.fr> 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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 4 September 2011 12:24, Luc Maisonobe <Lu...@free.fr> wrote:
> Le 04/09/2011 12:59, sebb a écrit :
>>
>> On 4 September 2011 11:23, sebb<se...@gmail.com>  wrote:
>>>
>>> On 4 September 2011 10:53, Luc Maisonobe<Lu...@free.fr>  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: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Luc Maisonobe <Lu...@free.fr>.
Le 04/09/2011 12:59, sebb a écrit :
> On 4 September 2011 11:23, sebb<se...@gmail.com>  wrote:
>> On 4 September 2011 10:53, Luc Maisonobe<Lu...@free.fr>  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: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 4 September 2011 11:23, sebb <se...@gmail.com> wrote:
> On 4 September 2011 10:53, Luc Maisonobe <Lu...@free.fr> 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: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 4 September 2011 10:53, Luc Maisonobe <Lu...@free.fr> 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: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Luc Maisonobe <Lu...@free.fr>.
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: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Phil Steitz <ph...@gmail.com>.
Same problem under Linux for parent 21.

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Phil Steitz <ph...@gmail.com>.
On 9/3/11 7:20 PM, sebb wrote:
> On 4 September 2011 02:29, Phil Steitz <ph...@gmail.com> wrote:
>> On 9/3/11 6:05 PM, sebb wrote:
>>> On 4 September 2011 01:20, sebb <se...@gmail.com> wrote:
>>>> On 3 September 2011 23:49, Phil Steitz <ph...@gmail.com> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>>
>>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 4 September 2011 02:29, Phil Steitz <ph...@gmail.com> wrote:
> On 9/3/11 6:05 PM, sebb wrote:
>> On 4 September 2011 01:20, sebb <se...@gmail.com> wrote:
>>> On 3 September 2011 23:49, Phil Steitz <ph...@gmail.com> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>>
>>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Phil Steitz <ph...@gmail.com>.
On 9/3/11 6:05 PM, sebb wrote:
> On 4 September 2011 01:20, sebb <se...@gmail.com> wrote:
>> On 3 September 2011 23:49, Phil Steitz <ph...@gmail.com> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>>
>>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 4 September 2011 01:20, sebb <se...@gmail.com> wrote:
> On 3 September 2011 23:49, Phil Steitz <ph...@gmail.com> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>>
>>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by sebb <se...@gmail.com>.
On 3 September 2011 23:49, Phil Steitz <ph...@gmail.com> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Phil Steitz <ph...@gmail.com>.
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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Phil Steitz <ph...@gmail.com>.
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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Gary Gregory <ga...@gmail.com>.
On Fri, Sep 2, 2011 at 11:58 AM, sebb <se...@gmail.com> wrote:

> On 2 September 2011 16:28, Gary Gregory <ga...@gmail.com> 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 <se...@apache.org> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
> >
> >
> > --
> > Thank you,
> > Gary
> >
> > http://garygregory.wordpress.com/
> > http://garygregory.com/
> > http://people.apache.org/~ggregory/
> > http://twitter.com/GaryGregory
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory

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

Posted by sebb <se...@gmail.com>.
On 2 September 2011 16:28, Gary Gregory <ga...@gmail.com> 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 <se...@apache.org> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> Thank you,
> Gary
>
> http://garygregory.wordpress.com/
> http://garygregory.com/
> http://people.apache.org/~ggregory/
> http://twitter.com/GaryGregory
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


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

Posted by Gary Gregory <ga...@gmail.com>.
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 <se...@apache.org> 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,  <se...@apache.org> 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: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
Thank you,
Gary

http://garygregory.wordpress.com/
http://garygregory.com/
http://people.apache.org/~ggregory/
http://twitter.com/GaryGregory