Skip to content

Commit

Permalink
added Automatic-Module-Name to manifest for Java 9 auto-module name
Browse files Browse the repository at this point in the history
natural value is org.fusesource.hawtjni.runtime
  • Loading branch information
hboutemy committed Jul 4, 2018
1 parent 7a6082f commit f29f849
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions hawtjni-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,20 @@
<artifactId>hawtjni-runtime</artifactId>
<name>HawtJNI Runtime</name>
<description>The API that projects using HawtJNI should build against.</description>

<build>
<plugins>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>org.fusesource.hawtjni.runtime</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
Expand All @@ -42,7 +53,7 @@
</execution>
</executions>
</plugin>
</plugins>
</plugins>
</build>

</project>

0 comments on commit f29f849

Please sign in to comment.