Add enforcer plugin to enforce maven version.

This commit is contained in:
Stan Silvert 2015-06-19 18:14:25 -04:00
parent 94e2983310
commit 285d6931bc

30
pom.xml
View file

@ -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>
@ -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>
@ -1289,6 +1285,26 @@
<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>