Add docker registry to image name
[clamp.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index c00334e..801b2ee 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,6 +7,12 @@
        <version>1.0.0-SNAPSHOT</version>
        <name>ONAP CLAMP</name>
 
+    <parent>
+        <groupId>org.onap.oparent</groupId>
+        <artifactId>oparent</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+    </parent>
+    
        <properties>
                <maven.compiler.source>1.8</maven.compiler.source>
                <maven.compiler.target>1.8</maven.compiler.target>
                                <artifactId>docker-maven-plugin</artifactId>
                                <version>0.4.11</version>
                                <configuration>
-                                       <imageName>onap/clamp</imageName>
+                                       <imageName>${docker.push.registry}/onap/clamp</imageName>
                                        <dockerDirectory>src/main/docker</dockerDirectory>
                                        <serverId>docker-hub</serverId>
                                        <imageTags>
                                                                </volumes>
                                                                <wait>
                                                                        <log>socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
-                                                                       <time>60000</time>
+                                                                       <time>300000</time>
                                                                </wait>
                                                                <ports>
                                                                        <port>${docker.mariadb.port.host}:3306</port>