APEX-81 #resolve Fix netlet snapshot dependency. APEX-122 #resolve 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/8578a714 Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/8578a714 Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/8578a714 Branch: refs/heads/feature-module Commit: 8578a714193196f485c5cec4e380373215679619 Parents: 2cd917d Author: Vlad Rozov <[email protected]> Authored: Tue Sep 15 09:22:22 2015 -0700 Committer: Vlad Rozov <[email protected]> Committed: Tue Sep 15 13:41:51 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/8578a714/api/pom.xml ---------------------------------------------------------------------- diff --git a/api/pom.xml b/api/pom.xml index 7fe08c0..a35d934 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/8578a714/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 484798b..ad3a28d 100644 --- a/pom.xml +++ b/pom.xml @@ -102,7 +102,7 @@ </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> - <version>1.0.1</version> + <version>1.4.1</version> <executions> <execution> <id>enforce-tools</id> @@ -117,6 +117,10 @@ <requireMavenVersion> <version>[3.0.2,)</version> </requireMavenVersion> + <requireReleaseDeps> + <message>Snapshots are not allowed</message> + <onlyWhenRelease>true</onlyWhenRelease> + </requireReleaseDeps> </rules> </configuration> </execution>
