SPOI-6304 #resolve Fix netlet snapshot dependency. Enforce no dependencies on snapshot versions in release builds.
Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/4a2cf2e2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/4a2cf2e2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/4a2cf2e2 Branch: refs/heads/master Commit: 4a2cf2e20a3ae8007e266a430e6e365c9aadefc0 Parents: 3a164a2 Author: Vlad Rozov <[email protected]> Authored: Tue Sep 15 09:22:22 2015 -0700 Committer: Thomas Weise <[email protected]> Committed: Fri Sep 18 20:34:16 2015 -0700 ---------------------------------------------------------------------- api/pom.xml | 2 +- pom.xml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/4a2cf2e2/api/pom.xml ---------------------------------------------------------------------- diff --git a/api/pom.xml b/api/pom.xml index e7555a7..22a8195 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -114,7 +114,7 @@ <dependency> <groupId>${project.groupId}</groupId> <artifactId>netlet</artifactId> - <version>1.2.0-SNAPSHOT</version> + <version>1.2.0</version> </dependency> </dependencies> </project> http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/4a2cf2e2/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 701c101..96c9ac8 100644 --- a/pom.xml +++ b/pom.xml @@ -113,7 +113,7 @@ </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> - <version>1.0.1</version> + <version>1.4.1</version> <executions> <execution> <id>enforce-tools</id> @@ -128,6 +128,10 @@ <requireMavenVersion> <version>[3.0.2,)</version> </requireMavenVersion> + <requireReleaseDeps> + <message>Snapshots are not allowed</message> + <onlyWhenRelease>true</onlyWhenRelease> + </requireReleaseDeps> </rules> </configuration> </execution>
