aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-10-27 15:47:22 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-10-27 20:35:57 +0000
commitef1375ea463ef6b0adc85b28b9906f64e6b4adb6 (patch)
treed4dc403ef03a9fec10aa4faad9bdd609818444c1
parenta174e651d5c1486ffc81a6e13a478149c7806eb9 (diff)
Do not deploy tutorial code
The tutorial code is really only for developers to kick the tires, no need to deploy it to the repositories. Since we do not have rights to onap.policy.tutorials, any deployment will fail. Issue-ID: POLICY-2876 Change-Id: I61b91e090d8a517a24de5e87e08c016fcc54e6b0 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit e7d7b10533446a24a725e50f0d34e7e719ddfdd7)
-rw-r--r--tutorials/tutorial-enforcement/pom.xml11
-rw-r--r--tutorials/tutorial-xacml-application/pom.xml7
2 files changed, 18 insertions, 0 deletions
diff --git a/tutorials/tutorial-enforcement/pom.xml b/tutorials/tutorial-enforcement/pom.xml
index d4065a53..baf6974f 100644
--- a/tutorials/tutorial-enforcement/pom.xml
+++ b/tutorials/tutorial-enforcement/pom.xml
@@ -52,5 +52,16 @@
<version>${policy.common.version}</version>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/tutorials/tutorial-xacml-application/pom.xml b/tutorials/tutorial-xacml-application/pom.xml
index aa776a8d..d523340c 100644
--- a/tutorials/tutorial-xacml-application/pom.xml
+++ b/tutorials/tutorial-xacml-application/pom.xml
@@ -94,6 +94,13 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</profile>