You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2019/05/31 12:53:00 UTC
[jira] [Created] (NUMBERS-110) Define Java Module Names for all
modules
Karl Heinz Marbaise created NUMBERS-110:
-------------------------------------------
Summary: Define Java Module Names for all modules
Key: NUMBERS-110
URL: https://issues.apache.org/jira/browse/NUMBERS-110
Project: Commons Numbers
Issue Type: Improvement
Components: combinatorics, complex, core, fraction, gamma, primes, quaternion
Affects Versions: 1.0
Reporter: Karl Heinz Marbaise
Fix For: 1.0
*Problem*
* For JDK9+ each component/artifact should have a valid Module name for the Java Module system.
* It is not necessarily to have a {{module-info.java}} (only for JDK9+ possible) file within the build but at least defining an {{Automatic-Module-Name}} manifest entry.
like this:
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive combine.children="append">
<manifestEntries>
<Automatic-Module-Name>org.apache.commons.numbers.XXXX</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)