On 25 January 2018 at 16:50, Gary Gregory <garydgreg...@gmail.com> wrote:
> On Thu, Jan 25, 2018 at 9:35 AM, Pascal Schumacher <pascalschumac...@gmx.net
>> wrote:
>
>> No I have not.
>>
>> I expect to be able to build projects with a source and target level of
>> java 6 on java 6.
>>
>
> That's a bit unrealistic now that we are seeing Java 10 EAs. The tools have
> moved on.

One way round this is to define the versions of all plugins as properties.
Having the version as a property is useful for testing plugin updates
anyway, so I think most are defined that way.

If running under an earlier version of Java then define the version
accordingly, e.g.

-Dcommons.build-helper.version=1.12

The redefine can either be done on the command-line, or added to a pom
profile if it is deemed worth the effort.

It should even work in settings.xml

> Gary
>
>
>>
>> Am 25. Januar 2018 15:44:10 MEZ schrieb sebb <seb...@gmail.com>:
>> >On 25 January 2018 at 14:04, Pascal Schumacher
>> ><pascalschumac...@gmx.net> wrote:
>> >> commons parent 43 includes maven plugins which require java 7
>> >
>> >Have you tried CP43 using Java 7 and -Pjava-1.6 ?
>> >
>> >> Am 25. Januar 2018 12:44:49 MEZ schrieb sebb <seb...@gmail.com>:
>> >>>On 24 January 2018 at 08:35,  <pascalschumac...@apache.org> wrote:
>> >>>> Author: pascalschumacher
>> >>>> Date: Wed Jan 24 08:35:29 2018
>> >>>> New Revision: 1822088
>> >>>>
>> >>>> URL: http://svn.apache.org/viewvc?rev=1822088&view=rev
>> >>>> Log:
>> >>>> revert "Update commons-parent from 42 to 43." because this breaks
>> >the
>> >>>build on java 6
>> >>>
>> >>>What exactly do you mean here?
>> >>>
>> >>>There are two ways to compile of Java 6:
>> >>>
>> >>>Build with Java 6
>> >>>Build with a later version, but use the profile: -Pjava-1.6
>> >>>
>> >>>What was the issue?
>> >>>If the latter breaks, then I think it is a bug in CP43
>> >>>
>> >>>---------------------------------------------------------------------
>> >>>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
>>

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

Reply via email to