mso-cnf-adapter changes for docker tag name 09/118509/2
authorMD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Thu, 25 Feb 2021 13:13:27 +0000 (18:43 +0530)
committerMD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Fri, 26 Feb 2021 05:18:30 +0000 (10:48 +0530)
Issue-ID: SO-3518

Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Change-Id: I3fa9e3249b5ba79effe233ef0c44fa865f4cccbd

pom.xml

diff --git a/pom.xml b/pom.xml
index 01e87b4..c1250f4 100644 (file)
--- a/pom.xml
+++ b/pom.xml
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <groupId>org.onap.so</groupId>
-    <artifactId>adapters</artifactId>
+    <artifactId>so</artifactId>
     <version>1.8.0-SNAPSHOT</version>
   </parent>
-  <groupId>org.onap.so.adapters</groupId>
+  <!-- <groupId>org.onap.so.adapters</groupId -->
   <artifactId>so-cnf-adapter</artifactId>
   <packaging>jar</packaging>
   <name>so-cnf-adapter</name>
         </dependencies>
       </plugin>
       <plugin>
-        <groupId>com.spotify</groupId>
-             <artifactId>dockerfile-maven-plugin</artifactId>
-             <version>1.4.3</version>
-            <dependencies>
-                   <dependency>
-                     <groupId>javax.activation</groupId>
-                     <artifactId>activation</artifactId>
-                     <version>1.1.1</version>
-                   </dependency>
-            </dependencies>
-             <executions>
-                 <execution>
-                     <id>docker-build</id>
-                     <goals>
-                         <goal>build</goal>
-                     </goals>
-                 </execution>
-             </executions>
-             <configuration>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>exec-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>docker-build</id>
+            <phase>install</phase>
+            <goals>
+              <goal>exec</goal>
+            </goals>
+            <configuration>
               <dockerFile>Dockerfile</dockerFile>
               <executable>docker</executable>
               <workingDirectory>${project.basedir}</workingDirectory>
                 <JAR_FILE>${project.artifactId}-${project.version}.jar</JAR_FILE>
                 <ARTIFACT_ID>${project.artifactId}</ARTIFACT_ID>
               </buildArgs>
-             <repository>${project.artifactId}</repository>
-                 <tag>${project.version}</tag>
             </configuration>
-         </plugin>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <dependencies>
       <artifactId>spring-boot-starter-test</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpcore</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework.cloud</groupId>
+      <artifactId>spring-cloud-contract-wiremock</artifactId>
+      <version>1.2.4.RELEASE</version>
+    </dependency>
+    <dependency>
+      <groupId>org.onap.so</groupId>
+      <artifactId>aai-client</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>com.sun.xml.ws</groupId>
+      <artifactId>jaxws-ri</artifactId>
+      <version>2.3.0</version>
+      <type>pom</type>
+    </dependency>
   </dependencies>
 </project>