You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2016/12/29 13:44:10 UTC
svn commit: r1776423 - /qpid/java/trunk/pom.xml
Author: orudyy
Date: Thu Dec 29 13:44:10 2016
New Revision: 1776423
URL: http://svn.apache.org/viewvc?rev=1776423&view=rev
Log:
NO-JIRA: Enforce using JDK 1.7 when releasing Qpid for Java
Modified:
qpid/java/trunk/pom.xml
Modified: qpid/java/trunk/pom.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/pom.xml?rev=1776423&r1=1776422&r2=1776423&view=diff
==============================================================================
--- qpid/java/trunk/pom.xml (original)
+++ qpid/java/trunk/pom.xml Thu Dec 29 13:44:10 2016
@@ -905,6 +905,26 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-java-for-release</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>[1.7,1.8)</version>
+ <message>Please, use JDK 1.7 for release</message>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org