Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7 from kocakosm/master
Browse files Browse the repository at this point in the history
Define a stable module name via an Automatic-Module-Name entry in manifest
  • Loading branch information
codahale authored Aug 24, 2018
2 parents bcb8b48 + 2c0ea74 commit b4ad06d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ algorithm](http://en.wikipedia.org/wiki/Shamir's_Secret_Sharing) over GF(256).
</dependency>
```

*Note: module name for Java 9+ is `com.codahale.shamir`.*

## Use the thing

```java
Expand Down
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,23 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>com.codahale.shamir</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>

0 comments on commit b4ad06d

Please sign in to comment.