On 20 January 2011 20:13, Dennis Lundberg <denn...@apache.org> wrote:
> On 2011-01-20 21:05, Gary Gregory wrote:
>>> -----Original Message-----
>>> From: Dennis Lundberg [mailto:denn...@apache.org]
>>> Sent: Thursday, January 20, 2011 14:59
>>> To: Commons Developers List
>>> Subject: Re: [site][commons-parent] Build with Maven 2 and 3.
>>>
>>> On 2011-01-20 17:45, Gary Gregory wrote:
>>>> Hi All,
>>>>
>>>> I recently added a profile to commons-parent that allows a build to use
>>> the Maven site 2.x plugin on Maven 2.x and Maven site 3.x plugin on Maven
>>> 3.x.
>>>>
>>>> I just got [codec] to build both ways using this profile (in codec's
>>> POM.)
>>>>
>>>> I had to override a couple of things in codec's pom.xml. I would like to
>>> push these changes up to commons-parent:
>>>>
>>>>
>>>> -          maven-site-plugin 2.0.1 -> 2.2
>>>>
>>>> -          maven-project-info-reports-plugin 2.1.2 -> 2.3.1
>>>>
>>>> Thoughts?
>>>
>>> +1 for the change
>>>
>>> Note that this will require at least Maven 2.2.0, which in practice
>>> means Maven 2.2.1. That in turn requires Java 5. These requirements are
>>> for running Maven with the plugins mentioned above.
>>
>> Yes indeed. And don't forget your passport to the 21st century! :)
>>
>> IMO, requiring Java 5 to build is a more than reasonable requirement.
>
> Yes, I totally agree.
> I just wanted to point it out in case someone encounters problems.

We added the Java version profiles specifically so Maven could be run
using whatever Java version was needed, whilst still allowing both
compilation and testing to use a different version of Java.

AFAIK the only possible issue with this is that the jar manifests are
built using the Maven Java details, not the compiler Java version
details.
It would be nice to fix this; but I've no idea if that's possible.

>>
>> Gary
>>
>>>
>>>
>>>> Gary Gregory
>>>> Senior Software Engineer
>>>> Rocket Software
>>>> 3340 Peachtree Road, Suite 820 * Atlanta, GA 30326 * USA
>>>> Tel: +1.404.760.1560
>>>> Email: ggreg...@seagullsoftware.com<mailto:ggreg...@seagullsoftware.com>
>>>> Web: seagull.rocketsoftware.com<http://www.seagull.rocketsoftware.com/>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Dennis Lundberg
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>>
>>
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

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

Reply via email to