<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<!--
+ ============LICENSE_START=======================================================
+ Modifications Copyright (C) 2019 Nordix Foundation.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
- <repositories>
- <repository>
- <id>onap-releases</id>
- <name>onap-releases</name>
- <url>https://nexus.onap.org/content/repositories/releases/</url>
- </repository>
- </repositories>
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ SPDX-License-Identifier: Apache-2.0
+ ============LICENSE_END=========================================================
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<groupId>org.onap.ccsdk.parent</groupId>
<description>Creates SDN Controller Docker container</description>
<properties>
- <image.name>onap/sdnc-aaf-image</image.name>
- <standalone.image.name>onap/sdnc-image</standalone.image.name>
+ <standalone.image.name>o-ran-sc/nonrtric-a1-controller</standalone.image.name>
+ <standalone.image.version>1.7.4-SNAPSHOT</standalone.image.version>
<sdnc.project.version>${project.version}</sdnc.project.version>
<sdnc.build.timestamp>${maven.build.timestamp}</sdnc.build.timestamp>
<sdnc.northbound.version>1.7.3-SNAPSHOT</sdnc.northbound.version>
<ccsdk.docker.version>0.6.3</ccsdk.docker.version>
- <ccsdk.features.version>0.6.3</ccsdk.features.version>
<sdnc.keystore>org.onap.sdnc.p12</sdnc.keystore>
<sdnc.keypass><![CDATA[ff^G9D]yf&r}Ktum@BJ0YB?N]]></sdnc.keypass>
<sdnc.secureport>8443</sdnc.secureport>
- <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
<docker.push.phase>deploy</docker.push.phase>
- <docker.verbose>true</docker.verbose>
- <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
</properties>
<dependencies>
- <dependency>
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>generic-resource-api-installer</artifactId>
- <version>${sdnc.northbound.version}</version>
- <classifier>repo</classifier>
- <type>zip</type>
- </dependency>
<dependency>
<groupId>org.onap.sdnc.northbound</groupId>
<artifactId>nonrt-ric-api-installer</artifactId>
<classifier>repo</classifier>
<type>zip</type>
</dependency>
- <dependency>
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnfapi-installer</artifactId>
- <version>${sdnc.northbound.version}</version>
- <classifier>repo</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.onap.sdnc.northbound</groupId>
- <artifactId>vnftools-installer</artifactId>
- <version>${sdnc.northbound.version}</version>
- <classifier>repo</classifier>
- <type>zip</type>
- </dependency>
<dependency>
<groupId>org.onap.sdnc.northbound</groupId>
<artifactId>sdnc-northbound-features-installer</artifactId>
<classifier>repo</classifier>
<type>zip</type>
</dependency>
-
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
- <artifactId>oofpcipoc-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <classifier>repo</classifier>
- <type>zip</type>
- </dependency>
-
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
- <artifactId>sdnr-northbound-features-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <classifier>repo</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
- <artifactId>sdnr-wt-feature-aggregator-installer</artifactId>
- <version>${ccsdk.features.version}</version>
- <classifier>repo</classifier>
- <type>zip</type>
- </dependency>
</dependencies>
<build>
<plugins>
-
<plugin>
<groupId>org.codehaus.groovy.maven</groupId>
<artifactId>gmaven-plugin</artifactId>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.28.0</version>
+ <version>0.30.0</version>
<inherited>false</inherited>
<executions>
<execution>
<configuration>
<images>
<image>
- <name>${standalone.image.name}</name>
+ <name>${standalone.image.name}:${standalone.image.version}</name>
<build>
<cleanup>try</cleanup>
<dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
<dockerFile>standalone.Dockerfile</dockerFile>
<tags>
- <tag>${project.docker.latestminortag.version}</tag>
- <tag>${project.docker.latestfulltag.version}</tag>
- <tag>${project.docker.latesttagtimestamp.version}</tag>
+ <tag>${standalone.image.version}</tag>
</tags>
</build>
</image>
<goal>push</goal>
</goals>
<configuration>
+ <pushRegistry>${env.CONTAINER_PUSH_REGISTRY}</pushRegistry>
<images>
<image>
- <name>${standalone.image.name}</name>
+ <name>${standalone.image.name}:${standalone.image.version}</name>
<build>
<cleanup>try</cleanup>
<dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
<dockerFile>standalone.Dockerfile</dockerFile>
<tags>
- <tag>${project.docker.latestminortag.version}</tag>
- <tag>${project.docker.latestfulltag.version}</tag>
- <tag>${project.docker.latesttagtimestamp.version}</tag>
+ <tag>${standalone.image.version}</tag>
</tags>
</build>
</image>
</artifactItems>
</configuration>
</execution>
- <execution>
- <id>unpack migration utility</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <outputDirectory>${basedir}/target/docker-stage/opt/onap/sdnc/data-migrator</outputDirectory>
- <artifactItems>
- <artifactItem>
- <groupId>org.onap.sdnc.oam</groupId>
- <artifactId>data-migrator</artifactId>
- <version>${project.version}</version>
- <type>zip</type>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
</executions>
- <dependencies>
- <dependency>
- <groupId>org.onap.sdnc.oam</groupId>
- <artifactId>platform-logic-installer</artifactId>
- <version>1.6.2</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>org.onap.sdnc.oam</groupId>
- <artifactId>data-migrator</artifactId>
- <version>1.6.2</version>
- </dependency>
- </dependencies>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>