mso-cnf-adapter changes for docker tag name

Issue-ID: SO-3518

Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Change-Id: Ibaa2b7017216c79664177020b7c4997fa5174af6
diff --git a/pom.xml b/pom.xml
index ceb7260..01e87b4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,21 +136,25 @@
         </dependencies>
       </plugin>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>versions-maven-plugin</artifactId>
-        <version>1.3.1</version>
-      </plugin>
-      <plugin>
-        <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>
+        <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>
               <dockerFile>Dockerfile</dockerFile>
               <executable>docker</executable>
               <workingDirectory>${project.basedir}</workingDirectory>
@@ -164,10 +168,10 @@
                 <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>
-          </execution>
-        </executions>
-      </plugin>
+         </plugin>
     </plugins>
   </build>
   <dependencies>
@@ -212,3 +216,4 @@
     </dependency>
   </dependencies>
 </project>
+