Turns out to be quite tricky to do.

commons:download-page uses commons.componentid=lang3 to name the
dowload page and also to name the archives.

This can be overridden for the 2.6 release by defining
<commons.release.2.name>commons-lang-${commons.release.2.version}</commons.release.2.name>

The generated download page name can be changed by running the plugin
as follows:

mvn commons:download-page -Dcommons.componentid=lang

The alternative is to rename the download page files to
download_lang3.* and update the site.xml.

There probably needs to be a better solution for multi-version
multi-component-id downloads.

On 16 November 2011 13:03, Gary Gregory <garydgreg...@gmail.com> wrote:
> Seems like a sound choice, given how much software still relies on 2.x.
>
> Gary
>
> On Wed, Nov 16, 2011 at 7:57 AM, sebb <seb...@gmail.com> wrote:
>
>> I think the LANG download page should probably still link to the
>> latest 2.x version.
>>
>> It's still on the mirrors, so it's just a question of updating the
>> download page.
>>
>> OK?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>

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

Reply via email to