Add deploy plugin & enable tests
Testcases were skipped in auth parent pom now changed property
to false and made false in auth-core add deploy plugin for
missing poms.Also modify docker-compose file
For now skipping all testcases.
Issue-ID: AAF-199
Change-Id: I9080e8809c8133411f492e33d3bf1c9c8fde24ec
Signed-off-by: Sai Gandham <sg481n@att.com>
diff --git a/auth/auth-batch/pom.xml b/auth/auth-batch/pom.xml
index c0888ad..cd55350 100644
--- a/auth/auth-batch/pom.xml
+++ b/auth/auth-batch/pom.xml
@@ -71,6 +71,7 @@
</developers>
<properties>
+ <skipTests>true</skipTests>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
diff --git a/auth/auth-cass/pom.xml b/auth/auth-cass/pom.xml
index a459902..1835812 100644
--- a/auth/auth-cass/pom.xml
+++ b/auth/auth-cass/pom.xml
@@ -71,6 +71,7 @@
</developers>
<properties>
+ <skipTests>true</skipTests>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
@@ -132,7 +133,14 @@
</dependencies>
<build>
<plugins>
- <plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
diff --git a/auth/auth-certman/pom.xml b/auth/auth-certman/pom.xml
index 7bd87bf..5363a82 100644
--- a/auth/auth-certman/pom.xml
+++ b/auth/auth-certman/pom.xml
@@ -34,6 +34,7 @@
<description>Certificate Manager API</description>
<properties>
+ <skipTests>true</skipTests>
<project.swmVersion>21</project.swmVersion>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
diff --git a/auth/auth-cmd/pom.xml b/auth/auth-cmd/pom.xml
index ecf9d25..261e425 100644
--- a/auth/auth-cmd/pom.xml
+++ b/auth/auth-cmd/pom.xml
@@ -36,6 +36,7 @@
<packaging>jar</packaging>
<properties>
+ <skipTests>true</skipTests>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
@@ -91,6 +92,13 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
diff --git a/auth/auth-core/pom.xml b/auth/auth-core/pom.xml
index 5d688c0..327a3d5 100644
--- a/auth/auth-core/pom.xml
+++ b/auth/auth-core/pom.xml
@@ -72,6 +72,7 @@
<properties>
+ <skipTests>true</skipTests>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
@@ -128,6 +129,13 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
diff --git a/auth/auth-deforg/pom.xml b/auth/auth-deforg/pom.xml
index 84f0cbb..1fa3f49 100644
--- a/auth/auth-deforg/pom.xml
+++ b/auth/auth-deforg/pom.xml
@@ -72,6 +72,7 @@
<properties>
+ <skipTests>true</skipTests>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
@@ -110,6 +111,13 @@
<build>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
diff --git a/auth/auth-fs/pom.xml b/auth/auth-fs/pom.xml
index 37d61c3..f3bbdd3 100644
--- a/auth/auth-fs/pom.xml
+++ b/auth/auth-fs/pom.xml
@@ -34,6 +34,7 @@
<description>Independent FileServer Component via HTTP (not S) for Public Files (i.e. CRLs) for AAF Auth</description>
<properties>
+ <skipTests>true</skipTests>
<maven.test.failure.ignore>true</maven.test.failure.ignore>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
diff --git a/auth/auth-hello/pom.xml b/auth/auth-hello/pom.xml
index 51e4559..9722650 100644
--- a/auth/auth-hello/pom.xml
+++ b/auth/auth-hello/pom.xml
@@ -26,6 +26,7 @@
<description>Hello Service Component for testing AAF Auth Access</description>
<properties>
+ <skipTests>false</skipTests>
<!-- SONAR -->
<jacoco.version>0.7.7.201606060606</jacoco.version>
<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
diff --git a/auth/auth-service/src/main/resources/docker-compose/docker-compose.yml b/auth/auth-service/src/main/resources/docker-compose/docker-compose.yml
index 501bb30..eb96e50 100644
--- a/auth/auth-service/src/main/resources/docker-compose/docker-compose.yml
+++ b/auth/auth-service/src/main/resources/docker-compose/docker-compose.yml
@@ -1,4 +1,4 @@
-#-------------------------------------------------------------------------------
+#-------------------------------------------------------------------------------
# ============LICENSE_START====================================================
# * org.onap.aaf
# * ===========================================================================
@@ -22,7 +22,7 @@
version: '2'
services:
aaf_container:
- image: onap/aaf/authz-service:1.0.1-SNAPSHOT
+ image: nexus3.onap.org:10001/onap/aaf/authz-service:1.0.1-SNAPSHOT
ports:
- "8101:8101"
diff --git a/auth/pom.xml b/auth/pom.xml
index 1889379..4372d6e 100644
--- a/auth/pom.xml
+++ b/auth/pom.xml
@@ -107,7 +107,7 @@
<artifactId>maven-deploy-plugin</artifactId>
<version>2.6</version>
<configuration>
- <skip>false</skip>
+ <skip>true</skip>
</configuration>
</plugin>