qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject svn commit: r1776423 - /qpid/java/trunk/pom.xml
Date Thu, 29 Dec 2016 13:44:10 GMT
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


Mime
View raw message