Skip to content

Commit 9c6b873

Browse files
Upgraded Maven from 3.9.5 to 3.9.6
- Added Maven Enforcer Plugin with required Maven version
1 parent 05abe74 commit 9c6b873

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.mvn/wrapper/maven-wrapper.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.1/maven-wrapper-3.3.1.jar

pom.xml

+26
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@
4949
<properties>
5050
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5151
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
52+
<maven.version.required>3.9.6</maven.version.required>
5253
<maven.checkstyle.plugin.version>3.3.1</maven.checkstyle.plugin.version>
5354
<maven.clean.plugin.version>3.3.2</maven.clean.plugin.version>
5455
<maven.compiler.plugin.version>3.13.0</maven.compiler.plugin.version>
5556
<maven.deploy.plugin.version>3.1.2</maven.deploy.plugin.version>
57+
<maven.enforcer.plugin.version>3.4.1</maven.enforcer.plugin.version>
5658
<maven.install.plugin.version>3.1.1</maven.install.plugin.version>
5759
<maven.jar.plugin.version>3.4.1</maven.jar.plugin.version>
5860
<maven.javadoc.plugin.version>3.6.3</maven.javadoc.plugin.version>
@@ -230,6 +232,11 @@
230232
<artifactId>maven-deploy-plugin</artifactId>
231233
<version>${maven.deploy.plugin.version}</version>
232234
</plugin>
235+
<plugin>
236+
<groupId>org.apache.maven.plugins</groupId>
237+
<artifactId>maven-enforcer-plugin</artifactId>
238+
<version>${maven.enforcer.plugin.version}</version>
239+
</plugin>
233240
<plugin>
234241
<groupId>org.apache.maven.plugins</groupId>
235242
<artifactId>maven-install-plugin</artifactId>
@@ -307,6 +314,25 @@
307314
</plugins>
308315
</pluginManagement>
309316
<plugins>
317+
<plugin>
318+
<groupId>org.apache.maven.plugins</groupId>
319+
<artifactId>maven-enforcer-plugin</artifactId>
320+
<executions>
321+
<execution>
322+
<id>enforce</id>
323+
<goals>
324+
<goal>enforce</goal>
325+
</goals>
326+
<configuration>
327+
<rules>
328+
<requireMavenVersion>
329+
<version>${maven.version.required}</version>
330+
</requireMavenVersion>
331+
</rules>
332+
</configuration>
333+
</execution>
334+
</executions>
335+
</plugin>
310336
<plugin>
311337
<groupId>org.apache.maven.plugins</groupId>
312338
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)