Skip to content

Commit 56fb4b0

Browse files
committed
modify pom.xml
1 parent 9d65bcc commit 56fb4b0

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

pom.xml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
<artifactId>AssignMark</artifactId>
1111
<version>1.0.8</version>
1212
<inceptionYear>2021</inceptionYear>
13+
<url>https://github.com/RocketMaDev/AssignMark</url>
14+
<description>A program aiming at assigning marks for Chinese university entrance exams</description>
1315

1416
<licenses>
1517
<license>
@@ -101,6 +103,7 @@
101103
<plugin>
102104
<groupId>org.apache.maven.plugins</groupId>
103105
<artifactId>maven-jar-plugin</artifactId>
106+
<version>2.4</version>
104107
<executions>
105108
<execution>
106109
<goals>
@@ -113,6 +116,7 @@
113116
<plugin>
114117
<groupId>org.apache.maven.plugins</groupId>
115118
<artifactId>maven-source-plugin</artifactId>
119+
<version>3.2.1</version>
116120
<executions>
117121
<execution>
118122
<id>attach-sources</id>
@@ -125,23 +129,29 @@
125129
<plugin>
126130
<groupId>org.apache.maven.plugins</groupId>
127131
<artifactId>maven-javadoc-plugin</artifactId>
132+
<version>3.3.1</version>
133+
<configuration>
134+
<encoding>UTF-8</encoding>
135+
<aggregate>true</aggregate>
136+
<charset>UTF-8</charset>
137+
<docencoding>UTF-8</docencoding>
138+
</configuration>
128139
<executions>
129140
<execution>
130141
<id>attach-javadocs</id>
131142
<goals>
132143
<goal>jar</goal>
133144
</goals>
134145
<configuration>
135-
<additionalOption>
136-
<additionalOption>-Xdoclint:none</additionalOption>
137-
</additionalOption>
146+
<doclint>none</doclint>
138147
</configuration>
139148
</execution>
140149
</executions>
141150
</plugin>
142151
<plugin>
143152
<groupId>org.apache.maven.plugins</groupId>
144153
<artifactId>maven-gpg-plugin</artifactId>
154+
<version>3.0.1</version>
145155
<executions>
146156
<execution>
147157
<id>sign-artifacts</id>
@@ -158,8 +168,8 @@
158168
<version>1.6.3</version>
159169
<extensions>true</extensions>
160170
<configuration>
161-
<serverId>ossrh</serverId>
162-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
171+
<serverId>sonatype-nexus-staging</serverId>
172+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
163173
<autoReleaseAfterClose>true</autoReleaseAfterClose>
164174
</configuration>
165175
</plugin>
@@ -169,12 +179,12 @@
169179
<snapshotRepository>
170180
<id>sonatype-nexus-snapshots</id>
171181
<name>Sonatype Nexus Snapshots</name>
172-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
182+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
173183
</snapshotRepository>
174184
<repository>
175185
<id>sonatype-nexus-staging</id>
176186
<name>Nexus Release Repository</name>
177-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
187+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
178188
</repository>
179189
</distributionManagement>
180190
</profile>

0 commit comments

Comments
 (0)