Skip to content

Commit b023d86

Browse files
scholzi100sazzad16gkorland
authored
Added Automatic-Module-Name to manifest (#2201)
* Added Automatic-Module-Name to manifest (redis.clients.jedis) * Using maven property for Automatic-Module-Name * fix typo from last commit * added 'jedis' to module name property Co-authored-by: M Sazzadul Hoque <[email protected]> Co-authored-by: Guy Korland <[email protected]>
1 parent 5602ba9 commit b023d86

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<cluster-hosts>localhost:7379,localhost:7380,localhost:7381,localhost:7382,localhost:7383,localhost:7384,localhost:7385</cluster-hosts>
5151
<github.global.server>github</github.global.server>
5252
<log4j.version>2.13.3</log4j.version>
53+
<jedis.module.name>redis.clients.jedis</jedis.module.name>
5354
</properties>
5455

5556
<dependencies>
@@ -200,9 +201,12 @@
200201
<artifactId>maven-jar-plugin</artifactId>
201202
<version>3.0.2</version>
202203
<configuration>
203-
<archive>
204+
<archive>
204205
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
205-
</archive>
206+
<manifestEntries>
207+
<Automatic-Module-Name>${jedis.module.name}</Automatic-Module-Name>
208+
</manifestEntries>
209+
</archive>
206210
</configuration>
207211
</plugin>
208212
<plugin>

0 commit comments

Comments
 (0)