Change template properties for AAI
[vid.git] / deliveries / pom.xml
index 29ecf65..e366974 100755 (executable)
@@ -3,17 +3,17 @@
        <modelVersion>4.0.0</modelVersion>\r
 \r
        <parent>\r
-               <groupId>org.openecomp.vid</groupId>\r
+               <groupId>org.onap.vid</groupId>\r
                <artifactId>vid-parent</artifactId>\r
                <version>1.1.0-SNAPSHOT</version>\r
        </parent>\r
 \r
        <packaging>pom</packaging>\r
-       <groupId>org.openecomp.vid</groupId>\r
+       <groupId>org.onap.vid</groupId>\r
        <artifactId>vid-deliveries</artifactId>\r
 \r
        <name>VID Deliveries</name>\r
-       <description>ECOMP VID Deliveries</description>\r
+       <description>ONAP VID Deliveries</description>\r
        <properties>\r
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r
                <docker.verbose>true</docker.verbose>\r
        </properties>\r
 \r
+       <profiles>\r
+\r
+               <profile>\r
+                       <id>docker-proxy</id>\r
+                       <!-- activate profile if environment variable `http_proxy` is set -->\r
+                       <activation>\r
+                               <property>\r
+                                       <name>env.http_proxy</name>\r
+                               </property>\r
+                       </activation>\r
+                       <properties>\r
+                               <docker.buildArg.http_proxy>${env.http_proxy}</docker.buildArg.http_proxy>\r
+                       </properties>\r
+               </profile>\r
+\r
+       </profiles>\r
+\r
        <build>\r
                <finalName>${project.artifactId}-${project.version}</finalName>\r
                <plugins>\r
@@ -35,7 +52,7 @@
                                        <apiVersion>1.23</apiVersion>\r
                                        <images>\r
                                                <image>\r
-                                                       <name>openecomp/vid:${project.version}</name>\r
+                                                       <name>onap/vid:${project.version}</name>\r
                                                        <build>\r
                                                                <cleanup>remove</cleanup>\r
                                                                <dockerFileDir>docker-files</dockerFileDir>\r
@@ -45,7 +62,8 @@
                                                                        <descriptor>assembly/assembly-for-plugin.xml</descriptor>\r
                                                                </assembly>\r
                                                                <tags>\r
-                                                                 <tag>1.1-STAGING-latest</tag>\r
+                                                                 <tag>4.0-STAGING-latest</tag>\r
+                                                                 <tag>latest</tag>\r
                                                                </tags>\r
                                                                    \r
                                                        </build>\r