Skip to content

Commit 698f835

Browse files
committed
Added manifest entry for automatic module name.
1 parent 43de190 commit 698f835

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45
<groupId>com.github.codestickers</groupId>
56
<artifactId>codestickers</artifactId>
@@ -78,6 +79,18 @@
7879
<artifactId>maven-release-plugin</artifactId>
7980
<version>2.5.3</version>
8081
</plugin>
82+
<plugin>
83+
<groupId>org.apache.maven.plugins</groupId>
84+
<artifactId>maven-jar-plugin</artifactId>
85+
<version>3.1.0</version>
86+
<configuration>
87+
<archive>
88+
<manifestEntries>
89+
<Automatic-Module-Name>com.github.codestickers</Automatic-Module-Name>
90+
</manifestEntries>
91+
</archive>
92+
</configuration>
93+
</plugin>
8194
</plugins>
8295
</pluginManagement>
8396
<plugins>

0 commit comments

Comments
 (0)