Michael Blow has submitted this change and it was merged. Change subject: Use Maven Enforcer Plugin ......................................................................
Use Maven Enforcer Plugin Ensure correct version of Maven is being used to avoid strange errors Change-Id: I9c0042a3317b41c351c44d998141ea14e72971f5 Reviewed-on: https://asterix-gerrit.ics.uci.edu/929 Reviewed-by: Ian Maxon <[email protected]> Tested-by: Jenkins <[email protected]> --- M asterixdb/pom.xml M hyracks-fullstack/pom.xml M pom.xml 3 files changed, 49 insertions(+), 2 deletions(-) Approvals: Ian Maxon: Looks good to me, approved Jenkins: Verified diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml index 7c5e3e7..d18e023 100644 --- a/asterixdb/pom.xml +++ b/asterixdb/pom.xml @@ -241,6 +241,26 @@ <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4.1</version> + <executions> + <execution> + <id>enforce-versions</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>[3.3.9,)</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> <plugins> diff --git a/hyracks-fullstack/pom.xml b/hyracks-fullstack/pom.xml index 8fd0502..32313fb 100644 --- a/hyracks-fullstack/pom.xml +++ b/hyracks-fullstack/pom.xml @@ -28,7 +28,7 @@ <parent> <groupId>org.apache</groupId> <artifactId>apache</artifactId> - <version>LATEST</version> + <version>16</version> <relativePath/> </parent> @@ -306,6 +306,26 @@ <sourceDirectories>${project.build.sourceDirectory},${project.build.testSourceDirectory}</sourceDirectories> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>1.4.1</version> + <executions> + <execution> + <id>enforce-versions</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>[3.3.9,)</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> <plugins> diff --git a/pom.xml b/pom.xml index b5676ba..131ef02 100644 --- a/pom.xml +++ b/pom.xml @@ -20,10 +20,17 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.apache</groupId> <artifactId>apache-asterixdb-fullstack</artifactId> - <version>0.8.9</version> + <version>0.8.9-SNAPSHOT</version> <packaging>pom</packaging> <name>hyracks-asterix</name> + <parent> + <groupId>org.apache</groupId> + <artifactId>apache</artifactId> + <version>16</version> + <relativePath/> + </parent> + <licenses> <license> <name>Apache License, Version 2.0</name> -- To view, visit https://asterix-gerrit.ics.uci.edu/929 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9c0042a3317b41c351c44d998141ea14e72971f5 Gerrit-PatchSet: 7 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Michael Blow <[email protected]> Gerrit-Reviewer: Ian Maxon <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-Reviewer: Michael Blow <[email protected]> Gerrit-Reviewer: Preston Carman <[email protected]> Gerrit-Reviewer: Till Westmann <[email protected]>
