[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Comment Edited] (NUMBERS-110) Define Java Module Names for all modules
From:       "Karl Heinz Marbaise (JIRA)" <jira () apache ! org>
Date:       2019-05-31 14:36:00
Message-ID: JIRA.13236840.1559307144000.378536.1559313360032 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/NUMBERS-110?page=com.atlassian.jira.plugin \
.system.issuetabpanels:comment-tabpanel&focusedCommentId=16853078#comment-16853078 ] 

Karl Heinz Marbaise edited comment on NUMBERS-110 at 5/31/19 2:35 PM:
----------------------------------------------------------------------

This is only the first step. The real steps needed to introduce {{module-info.java}} \
and make the modules really usable which is not easy. This should be tracked via a \
different JIRA issue. If this will not being made you can't use the numbers module \
via JLink ...


was (Author: khmarbaise):
This is only the first step. The real steps needed to introduce {{module-info.java}} \
and make the modules really usable which is not easy. This should be tracked via a \
different JIRA issue.

> 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
> Priority: Critical
> Fix For: 1.0
> 
> Time Spent: 10m
> Remaining Estimate: 0h
> 
> *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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic