mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01:00
Fix build warning about wrong usage of maven prerequisites for non-maven plugin projects
This commit is contained in:
20
pom.xml
20
pom.xml
@@ -150,9 +150,6 @@ Copyright (c) 2012 - Jeremy Long
|
||||
<url>https://jeremylong.github.io/DependencyCheck/</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
<prerequisites>
|
||||
<maven>3.1</maven>
|
||||
</prerequisites>
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
<pluginManagement>
|
||||
@@ -191,6 +188,21 @@ Copyright (c) 2012 - Jeremy Long
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>1.4.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-minimal-maven-version</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireMavenVersion>
|
||||
<version>3.1</version>
|
||||
</requireMavenVersion>
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
@@ -368,7 +380,7 @@ Copyright (c) 2012 - Jeremy Long
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user