diff options
author | Vlad Dumitrescu <[email protected]> | 2017-12-12 15:58:14 +0100 |
---|---|---|
committer | Vlad Dumitrescu <[email protected]> | 2017-12-12 16:05:23 +0100 |
commit | df000f759cdb436b6ac02350639c4159aaaae10a (patch) | |
tree | 2af0cd3fc4e53b32fc40f9ab5149ff13cae94e4a /lib/jinterface/java_src | |
parent | 18a08499db5223dfc3c96b64220a4b3e6a79c799 (diff) | |
download | otp-df000f759cdb436b6ac02350639c4159aaaae10a.tar.gz otp-df000f759cdb436b6ac02350639c4159aaaae10a.tar.bz2 otp-df000f759cdb436b6ac02350639c4159aaaae10a.zip |
jinterface: add package name for Java 9
The Java 9 module system requires a module name to be defined. If none is provided, a default one is used derived from the JAR name, but that one is not very unique and can create problems. The recommended module name is the longest common package name for the source code included.
Diffstat (limited to 'lib/jinterface/java_src')
-rw-r--r-- | lib/jinterface/java_src/pom.xml.src | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/jinterface/java_src/pom.xml.src b/lib/jinterface/java_src/pom.xml.src index 98232db78c..584bd81076 100644 --- a/lib/jinterface/java_src/pom.xml.src +++ b/lib/jinterface/java_src/pom.xml.src @@ -76,6 +76,17 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifestEntries> + <Automatic-Module-Name>com.ericsson.otp.erlang</Automatic-Module-Name> + </manifestEntries> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> <executions> |