commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject Re: [ALL] parent plugin updates [was: svn commit: r1164565 - /commons/proper/commons-parent/trunk/pom.xml]
Date Tue, 06 Sep 2011 18:47:20 GMT
Am 06.09.2011 04:40, schrieb sebb:
> On 5 September 2011 21:20, sebb<sebbaz@gmail.com>  wrote:
>> On 5 September 2011 19:19, Oliver Heger<oliver.heger@oliver-heger.de>  wrote:
>>> Am 05.09.2011 15:52, schrieb sebb:
>>>>
>>>> On 5 September 2011 10:42, Oliver Heger<oliver.heger@oliver-heger.de>
>>>>   wrote:
>>>>>
>>>>> Am 05.09.2011 02:03, schrieb sebb:
>>>>>>
>>>>>> On 4 September 2011 20:07, Oliver Heger<oliver.heger@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,<sebb@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


Mime
View raw message