Skip to content

Commit 9da9b0e

Browse files
authored
Merge pull request #18 from robinst/java-9-automatic-module-name
Add Automatic-Module-Name for Java 9 usage
2 parents 2560808 + 536d41e commit 9da9b0e

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## Unreleased
9+
### Changed
10+
- Add `Automatic-Module-Name` manifest entry so that library can be used
11+
nicely in Java 9 modules
12+
813
## [0.7.0] - 2017-08-31
914
### Changed
1015
- Don't autolink if authority is only "end" characters, e.g. like `http://.` or

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@
4848
<target>7</target>
4949
</configuration>
5050
</plugin>
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-jar-plugin</artifactId>
54+
<version>3.0.2</version>
55+
<configuration>
56+
<archive>
57+
<manifestEntries>
58+
<Automatic-Module-Name>org.nibor.autolink</Automatic-Module-Name>
59+
</manifestEntries>
60+
</archive>
61+
</configuration>
62+
</plugin>
5163
<plugin>
5264
<groupId>com.github.siom79.japicmp</groupId>
5365
<artifactId>japicmp-maven-plugin</artifactId>

0 commit comments

Comments
 (0)