#420 - Added configuration to add explicit automatic module names for JDK 9.

Individual modules need to set the java-module-name property in their individual POMs.

We're now also setting Implementation-Title and Implementation-Version derived from the project metadata.
This commit is contained in:
Oliver Gierke
2017-09-21 11:57:03 +02:00
parent 8a6563ae5b
commit 89be042b60

View File

@@ -116,6 +116,9 @@
<releasetrain>Kay-BUILD-SNAPSHOT</releasetrain>
<!-- To be overridden by individual modules -->
<java-module-name></java-module-name>
</properties>
<profiles>
@@ -853,6 +856,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Automatic-Module-Name>${java-module-name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>