juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Coburn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JUNEAU-96) Add Automatic-Module-Name metadata
Date Mon, 07 Jan 2019 20:32:00 GMT

    [ https://issues.apache.org/jira/browse/JUNEAU-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736310#comment-16736310

Aaron Coburn commented on JUNEAU-96:

Resolved via https://github.com/apache/juneau/commit/5e8bb5bac29fc859af51bc46b9af46e98f1bdf85

> Add Automatic-Module-Name metadata
> ----------------------------------
>                 Key: JUNEAU-96
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-96
>             Project: Juneau
>          Issue Type: New Feature
>          Components: Code
>    Affects Versions: 8.0.0
>            Reporter: Aaron Coburn
>            Priority: Major
>             Fix For: 8.0.1
> In order to make it easier to use Juneau with Java 9+ modules, it would be helpful to
add Automatic-Module-Name metadata to the various artifact MANIFEST.MF files.
> This can be done with some simple adjustments to the pom.xml files, adding configuration
instructions to the maven-bundle-plugin like so:
> <configuration>
>     <instructions>
>         <Automatic-Module-Name>...</Automatic-Module-Name>
>     </instructions>
> </configuration>
> It would make sense to have a consistent naming pattern for the AMN values, such as:
> org.apache.juneau.\{module name}
> For this, it might make sense to use the existing OSGi BundleSymbolicName values as
a starting point. For example, org.apache.juneau.marshall. In cases where a hyphen is present,
the hyphen will need to be changed to a dot (e.g. org.apache.juneau.marshall.rdf) since hyphens
are not allowed in module names.
> The other consideration is that each module will need a unique Automatic-Module-Name.

This message was sent by Atlassian JIRA

View raw message