diff options
author | 2018-09-20 11:38:55 -0400 | |
---|---|---|
committer | 2018-09-20 11:40:18 -0400 | |
commit | e5590c22a439f87a7609fe169087caf65cca03fe (patch) | |
tree | ff5a0b2193a67e1bbae43758414deea322a651cb | |
parent | b01a7330883cbd5bce618ea44ea0f86ce6332729 (diff) |
added enforcer plugin
Issue-ID: DMAAP-528
Change-Id: Ibeab23137b8b1af08063b14ec9db651bdf492698
Signed-off-by: sunil unnava <sunil.unnava@att.com>
-rw-r--r-- | pom.xml | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -246,6 +246,35 @@ </execution> </executions> </plugin> + + <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> </build> |