-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Using the archetype "project" with java 17 fails to build.
To reproduce:
Java 17 (JDK 17). Following the steps of the Quickstart Tutorial. Maven build fails on the last step: https://enroute.osgi.org/tutorial/020-tutorial_qs.html#running-the-application.
The archetype generates a ~/quickstart/pom.xml with bnd.version set to 4.1.0. Manually setting this version to a newer one (e.g.6.4.0) solves the issue. But this should be fixed in the archetype.
Generated ~/quickstart/pom.xml:
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bnd.version>4.1.0</bnd.version>
</properties>should be:
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<bnd.version>6.4.0</bnd.version>
</properties>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels