You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2016/02/15 19:40:29 UTC

flink git commit: [FLINK-3158] Enforce maven version to be < 3.3 when building a release

Repository: flink
Updated Branches:
  refs/heads/master ca11c1ccc -> 65d08058a


[FLINK-3158] Enforce maven version to be < 3.3 when building a release


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/65d08058
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/65d08058
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/65d08058

Branch: refs/heads/master
Commit: 65d08058a46fd09793c6dc4e8a4435cc713f5807
Parents: ca11c1c
Author: Robert Metzger <rm...@apache.org>
Authored: Mon Feb 15 16:23:10 2016 +0100
Committer: Robert Metzger <rm...@apache.org>
Committed: Mon Feb 15 19:39:43 2016 +0100

----------------------------------------------------------------------
 pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/65d08058/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 42ebf79..67e5296 100644
--- a/pom.xml
+++ b/pom.xml
@@ -630,6 +630,27 @@ under the License.
 							</execution>
 						</executions>
 					</plugin>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-enforcer-plugin</artifactId>
+						<version>1.4.1</version>
+						<executions>
+							<execution>
+								<id>enforce-maven</id>
+								<goals>
+									<goal>enforce</goal>
+								</goals>
+								<configuration>
+									<rules>
+										<requireMavenVersion>
+											<!-- maven version must be lower than 3.3. See FLINK-3158 -->
+											<version>(,3.3)</version>
+										</requireMavenVersion>
+									</rules>
+								</configuration>
+							</execution>
+						</executions>
+					</plugin>
 				</plugins>
 				<pluginManagement>
 					<plugins>