Skip to content

Commit b2d0d1e

Browse files
committed
added manifest entires to the built jar
1 parent 5b78a08 commit b2d0d1e

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

pom.xml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="ISO-8859-1"?>
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/maven-v4_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/maven-v4_0_0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<groupId>org.dmonix.functional</groupId>
@@ -40,8 +41,8 @@
4041
<connection>scm:git:[email protected]:pnerg/java-scala-util.git</connection>
4142
<developerConnection>scm:git:[email protected]:pnerg/java-scala-util.git</developerConnection>
4243
<url>[email protected]:pnerg/java-scala-util.git</url>
43-
<tag>HEAD</tag>
44-
</scm>
44+
<tag>HEAD</tag>
45+
</scm>
4546

4647
<dependencies>
4748
<dependency>
@@ -63,6 +64,21 @@
6364
<verbose>true</verbose>
6465
</configuration>
6566
</plugin>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-jar-plugin</artifactId>
70+
<version>2.6</version>
71+
<configuration>
72+
<archive>
73+
<index>true</index>
74+
<manifest>
75+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
76+
<addClasspath>true</addClasspath>
77+
</manifest>
78+
</archive>
79+
</configuration>
80+
</plugin>
81+
6682
<plugin>
6783
<groupId>org.apache.maven.plugins</groupId>
6884
<artifactId>maven-source-plugin</artifactId>
@@ -81,7 +97,8 @@
8197
<artifactId>maven-javadoc-plugin</artifactId>
8298
<version>2.9.1</version>
8399
<configuration>
84-
<bottom><![CDATA[Copyright &#169; {currentYear}, Peter Nerg <a href=http://www.apache.org/licenses/LICENSE-2.0>Apache License v2.0 </a>]]> </bottom>
100+
<bottom><![CDATA[Copyright &#169; {currentYear}, Peter Nerg <a href=http://www.apache.org/licenses/LICENSE-2.0>Apache License v2.0 </a>]]>
101+
</bottom>
85102
</configuration>
86103
<executions>
87104
<execution>
@@ -117,7 +134,7 @@
117134
<goals>deploy</goals>
118135
</configuration>
119136
</plugin>
120-
137+
121138
</plugins>
122139
</build>
123140
</project>

0 commit comments

Comments
 (0)