Skip to content

Commit e9774ae

Browse files
committed
Removed deprecated oss-parent in pom + upgrade plugin versions
Signed-off-by: Julien Nioche <[email protected]>
1 parent d004695 commit e9774ae

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

pom.xml

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22

3-
<parent>
4-
<groupId>org.sonatype.oss</groupId>
5-
<artifactId>oss-parent</artifactId>
6-
<version>7</version>
7-
</parent>
8-
93
<modelVersion>4.0.0</modelVersion>
104
<groupId>com.github.crawler-commons</groupId>
115
<artifactId>urlfrontier</artifactId>
@@ -27,9 +21,12 @@
2721
</scm>
2822

2923
<distributionManagement>
24+
<snapshotRepository>
25+
<id>ossrh</id>
26+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
27+
</snapshotRepository>
3028
<repository>
31-
<id>sonatype-nexus-staging</id>
32-
<name>Nexus Staging Repository</name>
29+
<id>ossrh</id>
3330
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
3431
</repository>
3532
</distributionManagement>
@@ -52,6 +49,7 @@
5249
</organization>
5350

5451
<properties>
52+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5553
<!-- needed to build within Docker -->
5654
<skipFormatCode>false</skipFormatCode>
5755
</properties>
@@ -62,7 +60,7 @@
6260
<plugin>
6361
<groupId>org.apache.maven.plugins</groupId>
6462
<artifactId>maven-compiler-plugin</artifactId>
65-
<version>3.8.1</version>
63+
<version>3.9.0</version>
6664
<configuration>
6765
<source>1.8</source>
6866
<target>1.8</target>
@@ -71,7 +69,7 @@
7169
<plugin>
7270
<groupId>org.apache.maven.plugins</groupId>
7371
<artifactId>maven-release-plugin</artifactId>
74-
<version>3.0.0-M1</version>
72+
<version>3.0.0-M5</version>
7573
<configuration>
7674
<autoVersionSubmodules>true</autoVersionSubmodules>
7775
<useReleaseProfile>false</useReleaseProfile>
@@ -117,6 +115,7 @@
117115
<plugin>
118116
<groupId>org.apache.maven.plugins</groupId>
119117
<artifactId>maven-enforcer-plugin</artifactId>
118+
<version>3.0.0</version>
120119
<executions>
121120
<execution>
122121
<id>enforce-maven</id>
@@ -126,7 +125,7 @@
126125
<configuration>
127126
<rules>
128127
<requireMavenVersion>
129-
<version>(3.1.0,)</version>
128+
<version>(3.2.5,)</version>
130129
</requireMavenVersion>
131130
</rules>
132131
</configuration>
@@ -159,7 +158,7 @@
159158
<plugin>
160159
<groupId>org.apache.maven.plugins</groupId>
161160
<artifactId>maven-jar-plugin</artifactId>
162-
<version>3.2.0</version>
161+
<version>3.2.2</version>
163162
<executions>
164163
<execution>
165164
<id>attach-test</id>
@@ -173,7 +172,7 @@
173172
<plugin>
174173
<groupId>org.apache.maven.plugins</groupId>
175174
<artifactId>maven-javadoc-plugin</artifactId>
176-
<version>3.2.0</version>
175+
<version>3.3.1</version>
177176
<executions>
178177
<execution>
179178
<id>attach-javadocs</id>
@@ -191,7 +190,7 @@
191190
<plugin>
192191
<groupId>org.apache.maven.plugins</groupId>
193192
<artifactId>maven-gpg-plugin</artifactId>
194-
<version>1.6</version>
193+
<version>3.0.1</version>
195194
<executions>
196195
<execution>
197196
<id>sign-artifacts</id>

tests/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<plugin>
3333
<groupId>org.apache.maven.plugins</groupId>
3434
<artifactId>maven-deploy-plugin</artifactId>
35+
<version>3.0.0-M2</version>
3536
<configuration>
3637
<skip>true</skip>
3738
</configuration>
@@ -40,6 +41,7 @@
4041
<plugin>
4142
<groupId>org.apache.maven.plugins</groupId>
4243
<artifactId>maven-surefire-plugin</artifactId>
44+
<version>3.0.0-M6</version>
4345
<configuration>
4446
<systemPropertyVariables>
4547
<urlfrontier.host>${urlfrontier.host}</urlfrontier.host>

0 commit comments

Comments
 (0)