You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Niall Pemberton <ni...@gmail.com> on 2010/03/25 17:10:16 UTC

Re: svn commit: r927458 - /commons/proper/math/trunk/pom.xml

On Thu, Mar 25, 2010 at 3:50 PM,  <se...@apache.org> wrote:
> Author: sebb
> Date: Thu Mar 25 15:50:42 2010
> New Revision: 927458
>
> URL: http://svn.apache.org/viewvc?rev=927458&view=rev
> Log:
> Replace deprecated issueLinkTemplate.
>
> Modified:
>    commons/proper/math/trunk/pom.xml
>
> Modified: commons/proper/math/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=927458&r1=927457&r2=927458&view=diff
> ==============================================================================
> --- commons/proper/math/trunk/pom.xml (original)
> +++ commons/proper/math/trunk/pom.xml Thu Mar 25 15:50:42 2010
> @@ -300,7 +300,9 @@
>         <version>2.1</version>
>         <configuration>
>           <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
> -          <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
> +          <issueLinkTemplatePerSystem>
> +            <default>%URL%/%ISSUE%</default>
> +          </issueLinkTemplatePerSystem>
>           <template>math-release-notes.vm</template>
>           <templateDirectory>templates</templateDirectory>
>         </configuration>

This breaks all the links for the changes report - upgrading to a
later version of the changes plugin should fix it.

Niall

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


Re: svn commit: r927458 - /commons/proper/math/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 25/03/2010, Niall Pemberton <ni...@gmail.com> wrote:
> On Thu, Mar 25, 2010 at 5:08 PM, sebb <se...@gmail.com> wrote:
>  > On 25/03/2010, Niall Pemberton <ni...@gmail.com> wrote:
>  >> On Thu, Mar 25, 2010 at 3:50 PM,  <se...@apache.org> wrote:
>  >>  > Author: sebb
>  >>  > Date: Thu Mar 25 15:50:42 2010
>  >>  > New Revision: 927458
>  >>  >
>  >>  > URL: http://svn.apache.org/viewvc?rev=927458&view=rev
>  >>  > Log:
>  >>  > Replace deprecated issueLinkTemplate.
>  >>  >
>  >>  > Modified:
>  >>  >    commons/proper/math/trunk/pom.xml
>  >>  >
>  >>  > Modified: commons/proper/math/trunk/pom.xml
>  >>  > URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=927458&r1=927457&r2=927458&view=diff
>  >>  > ==============================================================================
>  >>  > --- commons/proper/math/trunk/pom.xml (original)
>  >>  > +++ commons/proper/math/trunk/pom.xml Thu Mar 25 15:50:42 2010
>  >>  > @@ -300,7 +300,9 @@
>  >>  >         <version>2.1</version>
>  >>  >         <configuration>
>  >>  >           <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
>  >>  > -          <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
>  >>  > +          <issueLinkTemplatePerSystem>
>  >>  > +            <default>%URL%/%ISSUE%</default>
>  >>  > +          </issueLinkTemplatePerSystem>
>  >>  >           <template>math-release-notes.vm</template>
>  >>  >           <templateDirectory>templates</templateDirectory>
>  >>  >         </configuration>
>  >>
>  >>
>  >> This breaks all the links for the changes report - upgrading to a
>  >>  later version of the changes plugin should fix it.
>  >
>  > Works OK for me - I just tried running changes:changes-report and the
>  > links were fine.
>
>
> Yes, but they're not if you run "mvn site"

So I see ... I'll fix the pom.

mvn changes:changes-report - ignores the version number (and uses 2.3)
mvn site:site - uses the version number in the pom (2.1).

Yuk! They both read the config from exactly the same place, so this is
really counter-intuitive (IMO broken) behaviour.

>
>  Niall
>
>
>  >>  Niall
>
>  ---------------------------------------------------------------------
>  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: svn commit: r927458 - /commons/proper/math/trunk/pom.xml

Posted by Niall Pemberton <ni...@gmail.com>.
On Thu, Mar 25, 2010 at 5:08 PM, sebb <se...@gmail.com> wrote:
> On 25/03/2010, Niall Pemberton <ni...@gmail.com> wrote:
>> On Thu, Mar 25, 2010 at 3:50 PM,  <se...@apache.org> wrote:
>>  > Author: sebb
>>  > Date: Thu Mar 25 15:50:42 2010
>>  > New Revision: 927458
>>  >
>>  > URL: http://svn.apache.org/viewvc?rev=927458&view=rev
>>  > Log:
>>  > Replace deprecated issueLinkTemplate.
>>  >
>>  > Modified:
>>  >    commons/proper/math/trunk/pom.xml
>>  >
>>  > Modified: commons/proper/math/trunk/pom.xml
>>  > URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=927458&r1=927457&r2=927458&view=diff
>>  > ==============================================================================
>>  > --- commons/proper/math/trunk/pom.xml (original)
>>  > +++ commons/proper/math/trunk/pom.xml Thu Mar 25 15:50:42 2010
>>  > @@ -300,7 +300,9 @@
>>  >         <version>2.1</version>
>>  >         <configuration>
>>  >           <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
>>  > -          <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
>>  > +          <issueLinkTemplatePerSystem>
>>  > +            <default>%URL%/%ISSUE%</default>
>>  > +          </issueLinkTemplatePerSystem>
>>  >           <template>math-release-notes.vm</template>
>>  >           <templateDirectory>templates</templateDirectory>
>>  >         </configuration>
>>
>>
>> This breaks all the links for the changes report - upgrading to a
>>  later version of the changes plugin should fix it.
>
> Works OK for me - I just tried running changes:changes-report and the
> links were fine.

Yes, but they're not if you run "mvn site"

Niall

>>  Niall

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


Re: svn commit: r927458 - /commons/proper/math/trunk/pom.xml

Posted by sebb <se...@gmail.com>.
On 25/03/2010, Niall Pemberton <ni...@gmail.com> wrote:
> On Thu, Mar 25, 2010 at 3:50 PM,  <se...@apache.org> wrote:
>  > Author: sebb
>  > Date: Thu Mar 25 15:50:42 2010
>  > New Revision: 927458
>  >
>  > URL: http://svn.apache.org/viewvc?rev=927458&view=rev
>  > Log:
>  > Replace deprecated issueLinkTemplate.
>  >
>  > Modified:
>  >    commons/proper/math/trunk/pom.xml
>  >
>  > Modified: commons/proper/math/trunk/pom.xml
>  > URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=927458&r1=927457&r2=927458&view=diff
>  > ==============================================================================
>  > --- commons/proper/math/trunk/pom.xml (original)
>  > +++ commons/proper/math/trunk/pom.xml Thu Mar 25 15:50:42 2010
>  > @@ -300,7 +300,9 @@
>  >         <version>2.1</version>
>  >         <configuration>
>  >           <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
>  > -          <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
>  > +          <issueLinkTemplatePerSystem>
>  > +            <default>%URL%/%ISSUE%</default>
>  > +          </issueLinkTemplatePerSystem>
>  >           <template>math-release-notes.vm</template>
>  >           <templateDirectory>templates</templateDirectory>
>  >         </configuration>
>
>
> This breaks all the links for the changes report - upgrading to a
>  later version of the changes plugin should fix it.

Works OK for me - I just tried running changes:changes-report and the
links were fine.

>  Niall
>
>  ---------------------------------------------------------------------
>  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