Skip to content

Commit 2ebabba

Browse files
committed
for consist with jdk11
1 parent 48b4f69 commit 2ebabba

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

AliyunOSSStorageWagon/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
</dependency>
2828

2929
<!--add for execute for jdk11 start 2024/10/21-->
30+
3031
<dependency>
3132
<groupId>com.sun.xml.bind</groupId>
3233
<artifactId>jaxb-impl</artifactId>
@@ -118,7 +119,7 @@
118119
<plugin>
119120
<groupId>org.apache.maven.plugins</groupId>
120121
<artifactId>maven-plugin-plugin</artifactId>
121-
<version>3.3</version>
122+
<version>3.9.0</version>
122123
<executions>
123124
<execution>
124125
<id>default-descriptor</id>

pom.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,12 @@
9393
<build>
9494
<plugins>
9595
<plugin>
96-
<groupId>org.sonatype.plugins</groupId>
97-
<artifactId>nexus-staging-maven-plugin</artifactId>
98-
<version>1.6.7</version>
96+
<groupId>org.sonatype.central</groupId>
97+
<artifactId>central-publishing-maven-plugin</artifactId>
98+
<version>0.6.0</version>
9999
<extensions>true</extensions>
100100
<configuration>
101-
<serverId>releases</serverId>
102-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
103-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
101+
<publishingServerId>central</publishingServerId>
104102
</configuration>
105103
</plugin>
106104
<plugin>
@@ -123,6 +121,7 @@
123121
<version>2.10.3</version>
124122
<configuration>
125123
<charset>UTF16</charset>
124+
<docencoding>UTF16</docencoding>
126125
<aggregate>true</aggregate>
127126
<additionalparam>-Xdoclint:none</additionalparam>
128127
</configuration>

0 commit comments

Comments
 (0)