#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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user