Skip to content

Commit bd9caa8

Browse files
committed
shaded jackson dependency
1 parent af6cd78 commit bd9caa8

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
/.gradle
99
/bin
1010
/build
11+
dependency-reduced-pom.xml

pom.xml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,42 @@
5757

5858
<build>
5959
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-shade-plugin</artifactId>
63+
<version>3.2.1</version>
64+
<configuration>
65+
<createSourcesJar>true</createSourcesJar>
66+
<shadeSourcesContent>true</shadeSourcesContent>
67+
<artifactSet>
68+
<includes>
69+
<include>com.fasterxml.jackson.core:jackson-core</include>
70+
</includes>
71+
</artifactSet>
72+
<relocations>
73+
<relocation>
74+
<pattern>com.fasterxml.jackson</pattern>
75+
<shadedPattern>com.arangodb.velocypack.deps.com.fasterxml.jackson</shadedPattern>
76+
</relocation>
77+
</relocations>
78+
<transformers>
79+
<transformer
80+
implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
81+
<resources>
82+
<resource>META-INF/services/com.fasterxml.jackson.core.JsonFactory</resource>
83+
</resources>
84+
</transformer>
85+
</transformers>
86+
</configuration>
87+
<executions>
88+
<execution>
89+
<phase>package</phase>
90+
<goals>
91+
<goal>shade</goal>
92+
</goals>
93+
</execution>
94+
</executions>
95+
</plugin>
6096
<plugin>
6197
<groupId>org.sonatype.plugins</groupId>
6298
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -196,7 +232,7 @@
196232
<dependency>
197233
<groupId>com.fasterxml.jackson.core</groupId>
198234
<artifactId>jackson-core</artifactId>
199-
<version>2.9.10</version>
235+
<version>2.11.0</version>
200236
</dependency>
201237
<dependency>
202238
<groupId>ch.qos.logback</groupId>

0 commit comments

Comments
 (0)