Skip to content

Commit 34949b1

Browse files
committed
Update POM
1 parent 8ab9fa0 commit 34949b1

File tree

1 file changed

+39
-37
lines changed

1 file changed

+39
-37
lines changed

pom.xml

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.example</groupId>
88
<artifactId>ForestRedisAPI</artifactId>
9-
<version>1.0.7</version>
9+
<version>1.0.8</version>
1010

1111
<properties>
1212
<maven.compiler.source>11</maven.compiler.source>
@@ -32,42 +32,44 @@
3232
</excludes>
3333
</resource>
3434
</resources>
35-
<plugins>
36-
<plugin>
37-
<groupId>org.apache.maven.plugins</groupId>
38-
<artifactId>maven-compiler-plugin</artifactId>
39-
<configuration>
40-
<source>${maven.compiler.source}</source>
41-
<target>${maven.compiler.target}</target>
42-
</configuration>
43-
</plugin>
44-
<plugin>
45-
<groupId>org.apache.maven.plugins</groupId>
46-
<artifactId>maven-shade-plugin</artifactId>
47-
<version>3.2.2</version>
48-
<configuration>
49-
<createDependencyReducedPom>false</createDependencyReducedPom>
50-
<shadedArtifactAttached>false</shadedArtifactAttached>
51-
<relocations>
52-
<relocation>
53-
<pattern>com.google.code.gson</pattern>
54-
<shadedPattern>shaded.com.google.code.gson</shadedPattern>
55-
</relocation>
56-
</relocations>
57-
</configuration>
58-
<executions>
59-
<execution>
60-
<phase>package</phase>
61-
<goals>
62-
<goal>shade</goal>
63-
</goals>
64-
<configuration>
65-
<minimizeJar>true</minimizeJar>
66-
</configuration>
67-
</execution>
68-
</executions>
69-
</plugin>
70-
</plugins>
35+
<pluginManagement>
36+
<plugins>
37+
<plugin>
38+
<groupId>org.apache.maven.plugins</groupId>
39+
<artifactId>maven-compiler-plugin</artifactId>
40+
<configuration>
41+
<source>${maven.compiler.source}</source>
42+
<target>${maven.compiler.target}</target>
43+
</configuration>
44+
</plugin>
45+
<plugin>
46+
<groupId>org.apache.maven.plugins</groupId>
47+
<artifactId>maven-shade-plugin</artifactId>
48+
<version>3.2.2</version>
49+
<configuration>
50+
<createDependencyReducedPom>false</createDependencyReducedPom>
51+
<shadedArtifactAttached>false</shadedArtifactAttached>
52+
<relocations>
53+
<relocation>
54+
<pattern>com.google.code.gson</pattern>
55+
<shadedPattern>shaded.com.google.code.gson</shadedPattern>
56+
</relocation>
57+
</relocations>
58+
</configuration>
59+
<executions>
60+
<execution>
61+
<phase>package</phase>
62+
<goals>
63+
<goal>shade</goal>
64+
</goals>
65+
<configuration>
66+
<minimizeJar>true</minimizeJar>
67+
</configuration>
68+
</execution>
69+
</executions>
70+
</plugin>
71+
</plugins>
72+
</pluginManagement>
7173
</build>
7274

7375
<repositories>

0 commit comments

Comments
 (0)