Repository: incubator-apex-malhar Updated Branches: refs/heads/devel-3 1b270268a -> f7f9085e8
exclude couchbase mock snapshot dependency from release enforce rule Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/commit/f7f9085e Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/tree/f7f9085e Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/diff/f7f9085e Branch: refs/heads/devel-3 Commit: f7f9085e8d5d6a243f5fc702f7c3c0e14652c6a3 Parents: 1b27026 Author: Vlad Rozov <[email protected]> Authored: Wed Sep 16 17:50:05 2015 -0700 Committer: Vlad Rozov <[email protected]> Committed: Wed Sep 16 17:50:05 2015 -0700 ---------------------------------------------------------------------- contrib/pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-apex-malhar/blob/f7f9085e/contrib/pom.xml ---------------------------------------------------------------------- diff --git a/contrib/pom.xml b/contrib/pom.xml index ee3c8bc..3306d96 100755 --- a/contrib/pom.xml +++ b/contrib/pom.xml @@ -176,6 +176,20 @@ </execution> </executions> </plugin> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <configuration> + <rules> + <requireReleaseDeps> + <message>Snapshots dependencies are not allowed for release build.</message> + <onlyWhenRelease>true</onlyWhenRelease> + <excludes> + <exclude>org.couchbase.mock:CouchbaseMock</exclude> + </excludes> + </requireReleaseDeps> + </rules> + </configuration> + </plugin> </plugins> </build> @@ -528,6 +542,7 @@ <optional>true</optional> </dependency> <dependency> + <!-- Please update maven-enforcer-plugin configuration when this dependency is removed or updated --> <groupId>org.couchbase.mock</groupId> <artifactId>CouchbaseMock</artifactId> <version>0.8-SNAPSHOT</version>
