|
20 | 20 | <maven.compiler.source>8</maven.compiler.source>
|
21 | 21 | <maven.compiler.target>8</maven.compiler.target>
|
22 | 22 |
|
23 |
| - <checkstyle.version>10.25.0</checkstyle.version> |
| 23 | + <!-- test dependencies --> |
| 24 | + <junit.version>5.13.4</junit.version> |
| 25 | + |
| 26 | + <!-- quality --> |
| 27 | + <checkstyle.version>10.26.1</checkstyle.version> |
24 | 28 | <spotbugs.version>4.9.3</spotbugs.version>
|
25 |
| - <pmd.version>7.14.0</pmd.version> |
| 29 | + <pmd.version>7.16.0</pmd.version> |
26 | 30 | <spotless.version>2.38.0</spotless.version>
|
27 | 31 | <dependencycheck.version>10.0.4</dependencycheck.version>
|
| 32 | + |
| 33 | + <!-- plugins --> |
| 34 | + <central-publishing-plugin.version>0.8.0</central-publishing-plugin.version> |
| 35 | + <pmd-plugin.version>3.27.0</pmd-plugin.version> |
| 36 | + <spotbugs-plugin.version>4.9.3.2</spotbugs-plugin.version> |
| 37 | + <gpg-plugin.version>3.2.8</gpg-plugin.version> |
| 38 | + <enforcer-plugin.version>3.6.1</enforcer-plugin.version> |
| 39 | + <changes-plugin.version>2.12.1</changes-plugin.version> |
28 | 40 | </properties>
|
29 | 41 |
|
30 | 42 | <build>
|
31 | 43 | <plugins>
|
32 | 44 | <plugin>
|
33 | 45 | <groupId>org.apache.maven.plugins</groupId>
|
34 | 46 | <artifactId>maven-enforcer-plugin</artifactId>
|
35 |
| - <version>3.5.0</version> |
| 47 | + <version>${enforcer-plugin.version}</version> |
36 | 48 | <executions>
|
37 | 49 | <execution>
|
38 | 50 | <id>enforce-maven</id>
|
|
133 | 145 | <plugin>
|
134 | 146 | <groupId>org.apache.maven.plugins</groupId>
|
135 | 147 | <artifactId>maven-gpg-plugin</artifactId>
|
136 |
| - <version>3.2.7</version> |
| 148 | + <version>${gpg-plugin.version}</version> |
137 | 149 | <executions>
|
138 | 150 | <execution>
|
139 | 151 | <phase>verify</phase>
|
|
185 | 197 | <plugin>
|
186 | 198 | <groupId>com.github.spotbugs</groupId>
|
187 | 199 | <artifactId>spotbugs-maven-plugin</artifactId>
|
188 |
| - <version>4.9.3.0</version> |
| 200 | + <version>${spotbugs-plugin.version}</version> |
189 | 201 | <dependencies>
|
190 | 202 | <dependency>
|
191 | 203 | <groupId>com.github.spotbugs</groupId>
|
|
200 | 212 | <plugin>
|
201 | 213 | <groupId>org.apache.maven.plugins</groupId>
|
202 | 214 | <artifactId>maven-pmd-plugin</artifactId>
|
203 |
| - <version>3.26.0</version> |
| 215 | + <version>${pmd-plugin.version}</version> |
204 | 216 | <dependencies>
|
205 | 217 | <dependency>
|
206 | 218 | <groupId>net.sourceforge.pmd</groupId>
|
|
219 | 231 | </rulesets>
|
220 | 232 | </configuration>
|
221 | 233 | </plugin>
|
| 234 | + <plugin> |
| 235 | + <groupId>org.sonatype.central</groupId> |
| 236 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 237 | + <version>${central-publishing-plugin.version}</version> |
| 238 | + <extensions>true</extensions> |
| 239 | + <configuration> |
| 240 | + <publishingServerId>central</publishingServerId> |
| 241 | + </configuration> |
| 242 | + </plugin> |
222 | 243 | <plugin>
|
223 | 244 | <groupId>org.owasp</groupId>
|
224 | 245 | <artifactId>dependency-check-maven</artifactId>
|
|
255 | 276 | <plugin>
|
256 | 277 | <groupId>org.apache.maven.plugins</groupId>
|
257 | 278 | <artifactId>maven-changes-plugin</artifactId>
|
258 |
| - <version>2.12.1</version> |
| 279 | + <version>${changes-plugin.version}</version> |
259 | 280 | <reportSets>
|
260 | 281 | <reportSet>
|
261 | 282 | <reports>
|
|
313 | 334 | <dependency>
|
314 | 335 | <groupId>org.junit.jupiter</groupId>
|
315 | 336 | <artifactId>junit-jupiter-engine</artifactId>
|
316 |
| - <version>5.11.4</version> |
| 337 | + <version>${junit.version}</version> |
317 | 338 | <scope>test</scope>
|
318 | 339 | </dependency>
|
319 | 340 | </dependencies>
|
320 |
| - <distributionManagement> |
321 |
| - <snapshotRepository> |
322 |
| - <id>s01-sonatype-nexus-snapshots</id> |
323 |
| - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
324 |
| - </snapshotRepository> |
325 |
| - <repository> |
326 |
| - <id>s01-sonatype-nexus-staging</id> |
327 |
| - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</url> |
328 |
| - </repository> |
329 |
| - </distributionManagement> |
| 341 | + |
| 342 | + <!-- for snapshots of our dependencies --> |
330 | 343 | <repositories>
|
331 | 344 | <repository>
|
332 |
| - <snapshots> |
333 |
| - <enabled>true</enabled> |
334 |
| - <updatePolicy>always</updatePolicy> |
335 |
| - </snapshots> |
| 345 | + <name>Central Portal Snapshots</name> |
| 346 | + <id>central-portal-snapshots</id> |
| 347 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
336 | 348 | <releases>
|
337 | 349 | <enabled>false</enabled>
|
338 | 350 | </releases>
|
339 |
| - <id>OSS Sonatype snapshots</id> |
340 |
| - <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> |
| 351 | + <snapshots> |
| 352 | + <enabled>true</enabled> |
| 353 | + </snapshots> |
341 | 354 | </repository>
|
342 | 355 | </repositories>
|
| 356 | + |
343 | 357 | </project>
|
0 commit comments