Skip to content

Commit

Permalink
#106 declare Automatic-Module-Name in the manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir.bukhtoyarov committed Nov 29, 2019
1 parent 5ba9f0c commit 1ddc8a9
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bucket4j-coherence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<description>Bucket4j integration with Coherence</description>
<artifactId>bucket4j-coherence</artifactId>

<properties>
<modular-name>coherence</modular-name>
</properties>

<dependencies>
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
Expand Down
4 changes: 4 additions & 0 deletions bucket4j-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<name>bucket4j-core</name>
<description>Bucket4j core library</description>

<properties>
<modular-name>core</modular-name>
</properties>

<build>
<plugins>
<plugin>
Expand Down
4 changes: 4 additions & 0 deletions bucket4j-hazelcast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<name>bucket4j-hazelcast</name>
<description>Bucket4j integration with Hazelcast</description>

<properties>
<modular-name>hazelcast</modular-name>
</properties>

<dependencies>
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
Expand Down
4 changes: 4 additions & 0 deletions bucket4j-ignite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<name>bucket4j-ignite</name>
<description>Bucket4j integration with Ignite</description>

<properties>
<modular-name>ignite</modular-name>
</properties>

<dependencies>
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
Expand Down
1 change: 1 addition & 0 deletions bucket4j-infinispan-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<description>Bucket4j integration with Infinispan 8.x</description>

<properties>
<modular-name>infinispan8</modular-name>
<infinispan-8.version>8.2.0.Final</infinispan-8.version>
</properties>

Expand Down
4 changes: 4 additions & 0 deletions bucket4j-infinispan/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<name>bucket4j-infinispan</name>
<description>Bucket4j integration with Infinispan</description>

<properties>
<modular-name>infinispan</modular-name>
</properties>

<!-- https://mvnrepository.com/artifact/org.infinispan/infinispan-core -->
<dependencies>
<dependency>
Expand Down
4 changes: 4 additions & 0 deletions bucket4j-jcache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<name>bucket4j-jcache</name>
<description>Bucket4j integration with JCache</description>

<properties>
<modular-name>jcache</modular-name>
</properties>

<dependencies>
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
Expand Down
12 changes: 12 additions & 0 deletions bucket4j-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
</licenses>

<properties>
<modular-name>parent</modular-name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
Expand Down Expand Up @@ -84,6 +85,17 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>io.github.bucket4j.${modular-name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
Expand Down

0 comments on commit 1ddc8a9

Please sign in to comment.