You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2018/09/20 07:46:46 UTC
empire-db git commit: Change maven-enforcer-plugin configuration for
testing
Repository: empire-db
Updated Branches:
refs/heads/master ff674481a -> da638a89d
Change maven-enforcer-plugin configuration for testing
Project: http://git-wip-us.apache.org/repos/asf/empire-db/repo
Commit: http://git-wip-us.apache.org/repos/asf/empire-db/commit/da638a89
Tree: http://git-wip-us.apache.org/repos/asf/empire-db/tree/da638a89
Diff: http://git-wip-us.apache.org/repos/asf/empire-db/diff/da638a89
Branch: refs/heads/master
Commit: da638a89d0846b8e8e6282fe17963380de0ce544
Parents: ff67448
Author: Rainer Döbele <do...@apache.org>
Authored: Thu Sep 20 09:46:41 2018 +0200
Committer: Rainer Döbele <do...@apache.org>
Committed: Thu Sep 20 09:46:41 2018 +0200
----------------------------------------------------------------------
pom.xml | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/empire-db/blob/da638a89/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5d3be43..7125921 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,6 +66,25 @@
<plugins>
<!-- check the apache headers -->
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>3.0</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
@@ -475,6 +494,7 @@
</execution>
</executions>
</plugin>
+ <!-- check license headers -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
@@ -507,27 +527,28 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
- <version>1.3.1</version>
+ <version>3.0.0-M2</version>
<executions>
<execution>
- <id>enforce-versions</id>
+ <id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
- <version>[3.0.0,)</version>
+ <version>3.0</version>
</requireMavenVersion>
+ <!-- we can no longer release with jdk6 because of certificate issues
<requireJavaVersion>
- <!-- we can no longer release with jdk6 because of certificate issues -->
<version>[1.6,1.8)</version>
</requireJavaVersion>
+ -->
</rules>
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>
<!-- check that all api calls are java5 compatible -->
<plugin>
<groupId>org.codehaus.mojo</groupId>