Skip to content

Commit 1dde729

Browse files
authored
configure JAR manifest (#4)
1 parent 5f2ff66 commit 1dde729

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<!-- When deploying, automatically promote artifacts from staging repository -->
2323
<autoReleaseAfterClose>true</autoReleaseAfterClose>
2424
</properties>
25-
25+
2626
<licenses>
2727
<license>
2828
<name>The Apache Software License, Version 2.0</name>
@@ -96,6 +96,21 @@
9696
<release>8</release>
9797
</configuration>
9898
</plugin>
99+
<plugin>
100+
<groupId>org.apache.maven.plugins</groupId>
101+
<artifactId>maven-jar-plugin</artifactId>
102+
<version>3.4.2</version>
103+
<configuration>
104+
<archive>
105+
<manifest>
106+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
107+
</manifest>
108+
<manifestEntries>
109+
<Automatic-Module-Name>com.couchbase.jsonskiff</Automatic-Module-Name>
110+
</manifestEntries>
111+
</archive>
112+
</configuration>
113+
</plugin>
99114
<plugin>
100115
<groupId>org.apache.maven.plugins</groupId>
101116
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)