Skip to content

Commit 90c58fd

Browse files
Merge pull request #133 from intuit/add-shaded-jar
Update pom.xml
2 parents bc1379d + 1c35dca commit 90c58fd

File tree

1 file changed

+24
-21
lines changed

1 file changed

+24
-21
lines changed

ipp-v3-java-data/pom.xml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<artifactId>jackson-annotations</artifactId>
3838
<version>2.9.10</version>
3939
</dependency>
40-
40+
4141
<dependency>
4242
<groupId>javax.xml.bind</groupId>
4343
<artifactId>jaxb-api</artifactId>
@@ -61,7 +61,7 @@
6161
</dependencies>
6262

6363
<build>
64-
<plugins>
64+
<plugins>
6565
<plugin>
6666
<groupId>org.apache.maven.plugins</groupId>
6767
<artifactId>maven-deploy-plugin</artifactId>
@@ -70,25 +70,28 @@
7070
<skip>true</skip>
7171
</configuration>
7272
</plugin>
73-
74-
<!-- <plugin>
75-
<groupId>org.apache.maven.plugins</groupId>
76-
<artifactId>maven-javadoc-plugin</artifactId>
77-
<version>2.9.1</version>
78-
<executions>
79-
<execution>
80-
<id>attach-javadocs</id>
81-
<goals>
82-
<goal>jar</goal>
83-
</goals>
84-
<configuration>
85-
<additionalparam>-Xdoclint:none</additionalparam>
86-
</configuration>
87-
</execution>
88-
</executions>
89-
</plugin> -->
90-
<!-- commented to avoid regeneration of entities, as the same is not required everytime -->
9173

74+
<!-- maven shade plugin -->
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-shade-plugin</artifactId>
78+
<version>3.2.4</version>
79+
<executions>
80+
<execution>
81+
<phase>package</phase>
82+
<goals>
83+
<goal>shade</goal>
84+
</goals>
85+
<configuration>
86+
<shadedArtifactAttached>true</shadedArtifactAttached>
87+
<shadedClassifierName>shaded</shadedClassifierName>
88+
</configuration>
89+
</execution>
90+
</executions>
91+
</plugin>
92+
<!-- end of maven shade plugin -->
93+
94+
<!-- commented to avoid regeneration of entities, as the same is not required everytime -->
9295
<!--
9396
<plugin>
9497
<groupId>org.apache.maven.plugins</groupId>
@@ -153,7 +156,7 @@
153156
</execution>
154157
</executions>
155158
</plugin> -->
156-
</plugins>
159+
</plugins>
157160
</build>
158161

159162
<profiles>

0 commit comments

Comments
 (0)