You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "P. Ottlinger" <po...@apache.org> on 2017/09/24 20:43:51 UTC
[DISCUSSION] RAT does not build with JDK9 - upgrade to at least Java
1.6 language level needed
Hi,
just ran a local build of RAT with JDK9 ....
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
(default-compile) on project apache-rat-api: Compilation failure:
Compilation failure:
[ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
which raises the old discussion of updating to at least JDK 1.6?
What do you think - can I file an issue for 0.13 to run with at least JDK6?
Cheers,
Phil
Re: [DISCUSSION] RAT does not build with JDK9 - upgrade to at least
Java 1.6 language level needed
Posted by Jochen Wiedmann <jo...@gmail.com>.
On Sun, Oct 8, 2017 at 12:23 AM, P. Ottlinger <po...@apache.org> wrote:
> what's the minimal maven version to use/require?
> (current setting is 2.2.1)
Whatever works. (Apart from Kyrl-Heinz possibly working on any problems.)
Jochen
--
The next time you hear: "Don't reinvent the wheel!"
http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
Re: [DISCUSSION] RAT does not build with JDK9 - upgrade to at least
Java 1.6 language level needed
Posted by "P. Ottlinger" <po...@apache.org>.
Hi,
thanks for your feedback -
what's the minimal maven version to use/require?
(current setting is 2.2.1)
INFRA's feedback was that building with JDK8 (as all other JDKs are
deprecated on ASF infrastructure) and Maven 3.0.5 will not work ....
https://builds.apache.org/job/Creadur-Rat/358/console
Caused by: java.lang.NoSuchMethodError:
org.codehaus.plexus.util.xml.pull.MXParser.<init>(Lorg/codehaus/plexus/util/xml/pull/EntityReplacementMap;)V
After that I upgraded to Maven 3.3.9 and the build is green again.
Thanks
Phil
PS:
https://issues.apache.org/jira/browse/INFRA-15242
Am 24.09.2017 um 22:43 schrieb P. Ottlinger:
> Hi,
>
> just ran a local build of RAT with JDK9 ....
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
> (default-compile) on project apache-rat-api: Compilation failure:
> Compilation failure:
> [ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.
> [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
> [ERROR] -> [Help 1]
>
>
> which raises the old discussion of updating to at least JDK 1.6?
>
> What do you think - can I file an issue for 0.13 to run with at least JDK6?
>
>
> Cheers,
> Phil
>
Re: [DISCUSSION] RAT does not build with JDK9 - upgrade to at least
Java 1.6 language level needed
Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi,
On 26/09/17 20:00, Jochen Wiedmann wrote:
> On Sun, Sep 24, 2017 at 10:43 PM, P. Ottlinger <po...@apache.org> wrote:
>
>> which raises the old discussion of updating to at least JDK 1.6?
>>
>> What do you think - can I file an issue for 0.13 to run with at least JDK6?
>
> To me, supporting Java 9 is much more important than Java 5. So, please,
> go on.
+1 from me too...
Kind regards
Karl Heinz Marbaise
Re: [DISCUSSION] RAT does not build with JDK9 - upgrade to at least
Java 1.6 language level needed
Posted by Jochen Wiedmann <jo...@gmail.com>.
On Sun, Sep 24, 2017 at 10:43 PM, P. Ottlinger <po...@apache.org> wrote:
> which raises the old discussion of updating to at least JDK 1.6?
>
> What do you think - can I file an issue for 0.13 to run with at least JDK6?
To me, supporting Java 9 is much more important than Java 5. So, please,
go on.
--
The next time you hear: "Don't reinvent the wheel!"
http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg