1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ Copyright (C) 2020 Nordix Foundation
5 ~ ================================================================================
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
17 ~ SPDX-License-Identifier: Apache-2.0
18 ~ ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <artifactId>catalog-be-plugins</artifactId>
26 <groupId>org.openecomp.sdc</groupId>
27 <version>1.7.0-SNAPSHOT</version>
29 <modelVersion>4.0.0</modelVersion>
31 <artifactId>etsi-nfv-nsd-csar-plugin</artifactId>
34 <sdc.version>1.7.0-SNAPSHOT</sdc.version>
35 <hamcrest.version>2.2</hamcrest.version>
39 <!--catalog-be dependencies-->
41 <groupId>org.openecomp.sdc</groupId>
42 <artifactId>catalog-be</artifactId>
43 <version>${sdc.version}</version>
44 <classifier>classes</classifier>
47 <!--test dependencies-->
49 <groupId>org.hamcrest</groupId>
50 <artifactId>hamcrest</artifactId>
51 <version>${hamcrest.version}</version>
55 <groupId>org.hamcrest</groupId>
56 <artifactId>hamcrest-library</artifactId>
57 <version>${hamcrest.version}</version>
64 <id>docker-staging</id>
66 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
67 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
73 <activeByDefault>false</activeByDefault>
78 <groupId>io.fabric8</groupId>
79 <artifactId>docker-maven-plugin</artifactId>
81 <apiVersion>1.23</apiVersion>
82 <registry>nexus3.onap.org:10001</registry>
85 <username>docker</username>
86 <password>docker</password>
91 <name>onap/sdc-catalog-be-plugin/etsi-nfv-nsd-csar</name>
92 <alias>catalog-be-plugin-etsi-nfv-nsd-csar</alias>
94 <cleanup>try</cleanup>
95 <from>alpine:3.8</from>
97 <descriptorRef>artifact</descriptorRef>
98 <targetDir>/plugins</targetDir>
101 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
102 <tag>${project.version}-${maven.build.timestamp}</tag>
110 <id>clean-images</id>
111 <phase>pre-clean</phase>
117 <id>generate-images</id>
118 <phase>package</phase>
125 <phase>deploy</phase>