Skip to content

Commit 4958fcd

Browse files
committed
move versions of non-default build plugins to properties
1 parent f5e9748 commit 4958fcd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pom.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
<junit.jupiter.version>5.7.0</junit.jupiter.version>
2828
<mockito.version>3.7.7</mockito.version>
2929
<hamcrest.version>2.2</hamcrest.version>
30+
31+
<!-- build plugin dependencies -->
32+
<dependency-check.version>6.1.6</dependency-check.version>
33+
<jacoco.version>0.8.6</jacoco.version>
34+
<nexus-staging.version>1.6.8</nexus-staging.version>
3035
</properties>
3136

3237
<licenses>
@@ -219,7 +224,7 @@
219224
<plugin>
220225
<groupId>org.owasp</groupId>
221226
<artifactId>dependency-check-maven</artifactId>
222-
<version>6.1.0</version>
227+
<version>${dependency-check.version}</version>
223228
<configuration>
224229
<cveValidForHours>24</cveValidForHours>
225230
<failBuildOnCVSS>0</failBuildOnCVSS>
@@ -246,7 +251,7 @@
246251
<plugin>
247252
<groupId>org.jacoco</groupId>
248253
<artifactId>jacoco-maven-plugin</artifactId>
249-
<version>0.8.6</version>
254+
<version>${jacoco.version}</version>
250255
<executions>
251256
<execution>
252257
<id>prepare-agent</id>
@@ -307,7 +312,7 @@
307312
<plugin>
308313
<groupId>org.sonatype.plugins</groupId>
309314
<artifactId>nexus-staging-maven-plugin</artifactId>
310-
<version>1.6.8</version>
315+
<version>${nexus-staging.version}</version>
311316
<extensions>true</extensions>
312317
<configuration>
313318
<serverId>ossrh</serverId>

0 commit comments

Comments
 (0)