Bumped jar plugin to 3.2.0 and added automatic module name for Java 8.
<groupId>net.finmath</groupId>
<artifactId>finmath-lib</artifactId>
- <version>4.1.3-SNAPSHOT</version>
+ <version>5.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>finmath lib</name>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<surefire-plugin.version>3.0.0-M4</surefire-plugin.version>
<surefire-report-plugin.version>3.0.0-M4</surefire-report-plugin.version>
- <javadoc-plugin.version>3.0.1</javadoc-plugin.version>
+ <javadoc-plugin.version>3.1.1</javadoc-plugin.version>
+ <jar-plugin.version>3.2.0</jar-plugin.version>
<source-plugin.version>3.2.1</source-plugin.version>
<site-plugin.version>3.8.2</site-plugin.version>
<checkstyle-plugin.version>3.1.1</checkstyle-plugin.version>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
- <version>3.1.0</version>
+ <version>${jar-plugin.version}</version>
<configuration>
<archive>
+ <manifestEntries>
+ <Automatic-Module-Name>net.finmath.lib</Automatic-Module-Name>
+ </manifestEntries>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>${main.class}</mainClass>
</manifest>
<!-- Use the manifest file generated by the bnd-maven-plugin -->
+ <!-- Note that Maven archiver will merge or custim file with the keys aboce -->
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
<classifier>${envClassifier}</classifier>
