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.1-SNAPSHOT</version>
29 <modelVersion>4.0.0</modelVersion>
31 <artifactId>etsi-nfv-nsd-csar-plugin</artifactId>
34 <hamcrest.version>2.2</hamcrest.version>
38 <!--catalog-be dependencies-->
40 <groupId>org.openecomp.sdc</groupId>
41 <artifactId>catalog-be</artifactId>
42 <version>${project.version}</version>
43 <classifier>classes</classifier>
46 <!--test dependencies-->
48 <groupId>org.hamcrest</groupId>
49 <artifactId>hamcrest</artifactId>
50 <version>${hamcrest.version}</version>
54 <groupId>org.hamcrest</groupId>
55 <artifactId>hamcrest-library</artifactId>
56 <version>${hamcrest.version}</version>
63 <id>docker-staging</id>
65 <docker.tag>${project.version}-STAGING-${maven.build.timestamp}</docker.tag>
66 <docker.latest.tag>${project.version}-STAGING-latest</docker.latest.tag>
72 <activeByDefault>false</activeByDefault>
77 <groupId>io.fabric8</groupId>
78 <artifactId>docker-maven-plugin</artifactId>
80 <apiVersion>1.23</apiVersion>
81 <registry>nexus3.onap.org:10001</registry>
84 <username>docker</username>
85 <password>docker</password>
90 <name>onap/sdc-catalog-be-plugin/etsi-nfv-nsd-csar</name>
91 <alias>catalog-be-plugin-etsi-nfv-nsd-csar</alias>
93 <cleanup>try</cleanup>
94 <from>alpine:3.8</from>
96 <descriptorRef>artifact</descriptorRef>
97 <targetDir>/plugins</targetDir>
100 <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</tag>
101 <tag>${project.version}-${maven.build.timestamp}</tag>
109 <id>clean-images</id>
110 <phase>pre-clean</phase>
116 <id>generate-images</id>
117 <phase>package</phase>
124 <phase>deploy</phase>