Author: cws Date: Fri Nov 21 22:13:55 2014 New Revision: 1641009 URL: http://svn.apache.org/r1641009 Log: HIVE-8933. Check release builds for SNAPSHOT dependencies
Modified: hive/trunk/pom.xml Modified: hive/trunk/pom.xml URL: http://svn.apache.org/viewvc/hive/trunk/pom.xml?rev=1641009&r1=1641008&r2=1641009&view=diff ============================================================================== --- hive/trunk/pom.xml (original) +++ hive/trunk/pom.xml Fri Nov 21 22:13:55 2014 @@ -776,6 +776,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>