Clean up Sonar name
[aai/babel.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 894f36e..6c89683 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,7 @@
        <groupId>org.onap.aai.babel</groupId>
        <artifactId>babel</artifactId>
        <version>2.0.0-SNAPSHOT</version>
+       <name>aai-babel</name>
 
        <properties>
                <module.ajsc.namespace.name>babel-service</module.ajsc.namespace.name>
                <logback.version>1.1.9</logback.version>
                <mockito.version>1.10.19</mockito.version>
                <powermock.version>1.6.2</powermock.version>
-               <sdc.distribution.client.version>1.1.32-SNAPSHOT</sdc.distribution.client.version>
+               <sdc.distribution.client.version>1.1.32</sdc.distribution.client.version>
                <snakeyamle.version>1.18</snakeyamle.version>
                <jacoco.version>0.7.9</jacoco.version>
                <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+               <docker.location>${basedir}/target</docker.location>
        </properties>
 
        <dependencies>
 
        <build>
                <plugins>
-
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>sonar-maven-plugin</artifactId>
+                               <version>3.2</version>
+                       </plugin>
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>cobertura-maven-plugin</artifactId>
                                        </execution>
                                </executions>
                        </plugin>
+                       <plugin>
+                               <groupId>com.spotify</groupId>
+                               <artifactId>docker-maven-plugin</artifactId>
+                               <version>0.4.11</version>
+                               <configuration>
+                                       <verbose>true</verbose>
+                                       <serverId>docker-hub</serverId>
+                                       <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
+                                       <dockerDirectory>${docker.location}</dockerDirectory>
+                                       <imageTags>
+                               <imageTag>latest</imageTag>
+                                       </imageTags>
+                                       <forceTags>true</forceTags>
+                               </configuration>
+                       </plugin>
 
                        <!-- license plugin -->
                        <plugin>