Skip to content

Commit 05453f3

Browse files
committed
feat: change sonatype servers
1 parent c0677e4 commit 05453f3

1 file changed

Lines changed: 38 additions & 29 deletions

File tree

pom.xml

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
</developer>
3030
</developers>
3131

32-
<distributionManagement>
32+
<distributionManagement>
3333
<snapshotRepository>
3434
<id>ossrh</id>
3535
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
3636
</snapshotRepository>
3737
<repository>
3838
<id>ossrh</id>
3939
<url>https://ossrh-staging-api.central.sonatype.com/service/local/</url>
40-
</repository>
41-
</distributionManagement>
40+
</repository>
41+
</distributionManagement>
4242

4343
<scm>
4444
<connection>scm:git:ssh://git@github.com:FgForrest/babylon</connection>
@@ -202,31 +202,40 @@
202202
<artifactId>maven-surefire-plugin</artifactId>
203203
<version>2.22.2</version>
204204
</plugin>
205-
<plugin>
206-
<groupId>org.apache.maven.plugins</groupId>
207-
<artifactId>maven-javadoc-plugin</artifactId>
208-
<version>3.2.0</version>
209-
<configuration>
210-
<failOnError>false</failOnError>
211-
<doclint>none</doclint>
212-
</configuration>
213-
</plugin>
214-
<plugin>
215-
<artifactId>maven-deploy-plugin</artifactId>
216-
<version>2.8.2</version>
217-
<executions>
218-
<execution>
219-
<id>default-deploy</id>
220-
<phase>deploy</phase>
221-
<goals>
222-
<goal>deploy</goal>
223-
</goals>
224-
</execution>
225-
</executions>
226-
</plugin>
227-
<plugin>
228-
<groupId>org.apache.maven.plugins</groupId>
229-
<artifactId>maven-release-plugin</artifactId>
205+
<plugin>
206+
<artifactId>maven-javadoc-plugin</artifactId>
207+
<version>3.5.0</version>
208+
<configuration>
209+
<verbose>false</verbose>
210+
<quiet>true</quiet>
211+
<doclint>none</doclint>
212+
<failOnError>false</failOnError>
213+
</configuration>
214+
<executions>
215+
<execution>
216+
<id>attach-javadocs</id>
217+
<goals>
218+
<goal>jar</goal>
219+
</goals>
220+
</execution>
221+
</executions>
222+
</plugin>
223+
<plugin>
224+
<artifactId>maven-deploy-plugin</artifactId>
225+
<version>2.8.2</version>
226+
<executions>
227+
<execution>
228+
<id>default-deploy</id>
229+
<phase>deploy</phase>
230+
<goals>
231+
<goal>deploy</goal>
232+
</goals>
233+
</execution>
234+
</executions>
235+
</plugin>
236+
<plugin>
237+
<groupId>org.apache.maven.plugins</groupId>
238+
<artifactId>maven-release-plugin</artifactId>
230239
<version>3.0.1</version>
231240
<configuration>
232241
<localCheckout>true</localCheckout>
@@ -242,7 +251,7 @@
242251
<version>2.1.0</version>
243252
</dependency>
244253
</dependencies>
245-
</plugin>
254+
</plugin>
246255
<plugin>
247256
<groupId>org.sonatype.plugins</groupId>
248257
<artifactId>nexus-staging-maven-plugin</artifactId>

0 commit comments

Comments
 (0)