aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2018-09-11 21:29:50 -0400
committerdglFromAtt <dgl@research.att.com>2018-09-11 21:29:57 -0400
commitcea5c305eed3eb466ed46ee4d3e16729c7c828b1 (patch)
tree7b671db9b7492831f61be0982796cf9373ef0d50
parent5347edeaee65ac740c7d306b82422035c7bfa863 (diff)
Add snapshot exclusions for aaf
Change-Id: I561d3a5737e457998e056fb12efe0090bed4c7f7 Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: AAF-504
-rw-r--r--pom.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 1349351..d9aeb55 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,6 +152,36 @@
</dependencies>
</plugin>
+ <!-- prevent SNAPSHOT dependencies -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-no-snapshots</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireReleaseDeps>
+ <message>No Snapshots Allowed!</message>
+ <excludes>
+ <exclude>org.onap.aaf.authz:aaf-cadi-client</exclude>
+ <exclude>org.onap.aaf.authz:aaf-misc-env</exclude>
+ <exclude>org.onap.aaf.authz:aaf-cadi-aaf</exclude>
+ <exclude>org.onap.aaf.authz:aaf-auth-client</exclude>
+ <exclude>org.onap.aaf.authz:aaf-cadi-core</exclude>
+ <exclude>org.onap.aaf.authz:aaf-misc-rosetta</exclude>
+ </excludes>
+ </requireReleaseDeps>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
<pluginManagement>
<plugins>