Skip to content

Commit 097faf5

Browse files
committed
Tighten up mvn and plugin versions
And add check during release.
1 parent 9b20755 commit 097faf5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

dev-bin/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ fi
5050

5151
popd
5252

53+
mvn versions:display-plugin-updates
5354
mvn versions:display-dependency-updates
5455

5556
read -r -n 1 -p "Continue given above dependencies? (y/n) " should_continue

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@
5151
</dependencies>
5252
<build>
5353
<plugins>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-enforcer-plugin</artifactId>
57+
<version>3.4.1</version>
58+
<executions>
59+
<execution>
60+
<id>enforce-maven</id>
61+
<goals>
62+
<goal>enforce</goal>
63+
</goals>
64+
<configuration>
65+
<rules>
66+
<requireMavenVersion>
67+
<version>3.2.5</version>
68+
</requireMavenVersion>
69+
</rules>
70+
</configuration>
71+
</execution>
72+
</executions>
73+
</plugin>
5474
<plugin>
5575
<groupId>org.apache.maven.plugins</groupId>
5676
<artifactId>maven-checkstyle-plugin</artifactId>

0 commit comments

Comments
 (0)