Skip to content

Commit f020874

Browse files
committed
Fix manifest setting.
1 parent 8c4fd64 commit f020874

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

pom-central.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@
6363
<version>2.4</version>
6464
<configuration>
6565
<archive>
66-
<manifest>
67-
<mainClass>com.github.underscore.U</mainClass>
68-
</manifest>
66+
<manifestEntries>
67+
<Automatic-Module-Name>com.github.underscore</Automatic-Module-Name>
68+
<Main-Class>com.github.underscore.U</Main-Class>
69+
</manifestEntries>
6970
</archive>
7071
</configuration>
7172
</plugin>

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@
6666
<version>3.2.0</version>
6767
<configuration>
6868
<archive>
69-
<manifest>
70-
<mainClass>com.github.underscore.U</mainClass>
71-
</manifest>
69+
<manifestEntries>
70+
<Automatic-Module-Name>com.github.underscore</Automatic-Module-Name>
71+
<Main-Class>com.github.underscore.U</Main-Class>
72+
</manifestEntries>
7273
</archive>
7374
</configuration>
7475
</plugin>

0 commit comments

Comments
 (0)