hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r1641011 - /hive/branches/branch-0.14/pom.xml
Date Fri, 21 Nov 2014 22:30:42 GMT
Author: cws
Date: Fri Nov 21 22:30:42 2014
New Revision: 1641011

URL: http://svn.apache.org/r1641011
Log:
HIVE-8933. Check release builds for SNAPSHOT dependencies

Modified:
    hive/branches/branch-0.14/pom.xml

Modified: hive/branches/branch-0.14/pom.xml
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.14/pom.xml?rev=1641011&r1=1641010&r2=1641011&view=diff
==============================================================================
--- hive/branches/branch-0.14/pom.xml (original)
+++ hive/branches/branch-0.14/pom.xml Fri Nov 21 22:30:42 2014
@@ -772,6 +772,28 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-no-snapshots</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireReleaseDeps>
+                  <message>Release builds are not allowed to have SNAPSHOT depenendencies</message>
+                  <searchTransitive>true</searchTransitive>
+                  <onlyWhenRelease>true</onlyWhenRelease>
+                </requireReleaseDeps>
+              </rules>
+              <fail>true</fail>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
           <excludes>



Mime
View raw message