Merge pull request #1407 from ssilvert/enforcer
Add enforcer plugin to enforce maven version.
This commit is contained in:
commit
2c0ff9be60
1 changed files with 46 additions and 30 deletions
76
pom.xml
76
pom.xml
|
@ -81,6 +81,7 @@
|
||||||
<greenmail.version>1.3.1b</greenmail.version>
|
<greenmail.version>1.3.1b</greenmail.version>
|
||||||
<xmlsec.version>1.5.1</xmlsec.version>
|
<xmlsec.version>1.5.1</xmlsec.version>
|
||||||
|
|
||||||
|
<enforcer.plugin.version>1.4</enforcer.plugin.version>
|
||||||
<jboss.as.plugin.version>7.5.Final</jboss.as.plugin.version>
|
<jboss.as.plugin.version>7.5.Final</jboss.as.plugin.version>
|
||||||
<wildfly.plugin.version>1.0.1.Final</wildfly.plugin.version>
|
<wildfly.plugin.version>1.0.1.Final</wildfly.plugin.version>
|
||||||
<minify.plugin.version>1.7.2</minify.plugin.version>
|
<minify.plugin.version>1.7.2</minify.plugin.version>
|
||||||
|
@ -162,16 +163,16 @@
|
||||||
<artifactId>relaxngDatatype</artifactId>
|
<artifactId>relaxngDatatype</artifactId>
|
||||||
<version>${github.relaxng.version}</version>
|
<version>${github.relaxng.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.istack</groupId>
|
<groupId>com.sun.istack</groupId>
|
||||||
<artifactId>istack-commons-runtime</artifactId>
|
<artifactId>istack-commons-runtime</artifactId>
|
||||||
<version>${sun.istack.version}</version>
|
<version>${sun.istack.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.istack</groupId>
|
<groupId>com.sun.istack</groupId>
|
||||||
<artifactId>istack-commons-tools</artifactId>
|
<artifactId>istack-commons-tools</artifactId>
|
||||||
<version>${sun.istack.version}</version>
|
<version>${sun.istack.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.sun.xml.bind.external</groupId>
|
<groupId>com.sun.xml.bind.external</groupId>
|
||||||
<artifactId>rngom</artifactId>
|
<artifactId>rngom</artifactId>
|
||||||
|
@ -516,16 +517,16 @@
|
||||||
<version>${mysql.version}</version>
|
<version>${mysql.version}</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
<artifactId>httpclient</artifactId>
|
<artifactId>httpclient</artifactId>
|
||||||
<version>${apache.httpcomponents.version}</version>
|
<version>${apache.httpcomponents.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
<artifactId>httpcore</artifactId>
|
<artifactId>httpcore</artifactId>
|
||||||
<version>${apache.httpcomponents.httpcore.version}</version>
|
<version>${apache.httpcomponents.httpcore.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
<artifactId>httpmime</artifactId>
|
<artifactId>httpmime</artifactId>
|
||||||
|
@ -885,7 +886,8 @@
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-wf9-server-subsystem</artifactId>
|
<artifactId>keycloak-wf9-server-subsystem</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency> <dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-subsystem</artifactId>
|
<artifactId>keycloak-subsystem</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
|
@ -1129,12 +1131,6 @@
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.keycloak</groupId>
|
|
||||||
<artifactId>keycloak-server-overlay</artifactId>
|
|
||||||
<version>${project.version}</version>
|
|
||||||
<type>zip</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-wf8-adapter-dist</artifactId>
|
<artifactId>keycloak-wf8-adapter-dist</artifactId>
|
||||||
|
@ -1162,8 +1158,8 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
<artifactId>keycloak-server-feature-pack</artifactId>
|
<artifactId>keycloak-server-feature-pack</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>zip</type>
|
<type>zip</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.keycloak</groupId>
|
<groupId>org.keycloak</groupId>
|
||||||
|
@ -1288,7 +1284,27 @@
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
|
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
|
||||||
<version>${wildfly.build-tools.version}</version>
|
<version>${wildfly.build-tools.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>${enforcer.plugin.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>enforce-maven</id>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<rules>
|
||||||
|
<requireMavenVersion>
|
||||||
|
<version>3.1.1</version>
|
||||||
|
</requireMavenVersion>
|
||||||
|
</rules>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
</build>
|
</build>
|
||||||
|
|
Loading…
Reference in a new issue