MATH-1562: Add "Automatic-Module-Name" entry to JAR manifest file.

This commit is contained in:
Gilles Sadowski 2020-11-11 16:11:44 +01:00
parent c1801e6776
commit 2da7454c57
2 changed files with 18 additions and 1 deletions

16
pom.xml
View File

@ -37,9 +37,10 @@
<!-- TODO: when releasing 4.0, the properties below need to be updated, and
the 3.x release artifacts need to be put int commons.release.3 -->
<commons.componentid>math4</commons.componentid>
<commons.module.name>org.apache.commons.math4</commons.module.name>
<!-- This value must reflect the current name of the base package. -->
<commons.osgi.symbolicName>org.apache.commons.math4</commons.osgi.symbolicName>
<!-- Java 9+ -->
<commons.automatic.module.name>org.apache.commons.math4</commons.automatic.module.name>
<!-- do not use snapshot suffix here -->
<commons.release.version>3.4.1</commons.release.version>
<commons.release.desc>(requires Java 1.5+)</commons.release.desc>
@ -224,6 +225,19 @@
<build>
<defaultGoal>clean verify apache-rat:check checkstyle:check javadoc:javadoc</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive combine.children="append">
<manifestEntries>
<!-- Java 9 -->
<Automatic-Module-Name>${commons.automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>

View File

@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible trailing spaces!
</release>
<release version="4.0" date="XXXX-XX-XX" description="">
<action dev="erans" type="update" issue="MATH-1562" due-to="Frank Ulbricht">
Add "Automatic-Module-Name" entry to JAR manifest file.
</action>
<action dev="erans" type="fix" issue="MATH-1558" due-to="Sam Ritchie">
"MidPointIntegrator": Fix iterative procedure in order to actually benefit
from evaluations performed at earlier stages.