1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright © 2018-2019 AT&T Intellectual Property.
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
9 ~ 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.
18 <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/xsd/maven-4.0.0.xsd">
19 <modelVersion>4.0.0</modelVersion>
22 <groupId>org.onap.ccsdk.cds</groupId>
23 <artifactId>cds-ms</artifactId>
24 <version>1.2.1-SNAPSHOT</version>
27 <artifactId>py-executor</artifactId>
29 <name>MS Python Executor</name>
30 <description>Micro-service providing python environment with gRPC binding for python script execution</description>
33 <image.name>onap/ccsdk-py-executor</image.name>
34 <sonar.skip>true</sonar.skip>
40 <artifactId>maven-resources-plugin</artifactId>
41 <version>2.6</version>
44 <id>copy-dockerfile</id>
46 <goal>copy-resources</goal>
48 <phase>validate</phase>
50 <outputDirectory>${project.basedir}/target/docker-stage</outputDirectory>
53 <directory>docker</directory>
55 <include>Dockerfile</include>
56 <include>start.sh</include>
58 <filtering>true</filtering>
66 <artifactId>maven-assembly-plugin</artifactId>
67 <version>3.1.0</version>
69 <outputDirectory>${project.basedir}/target/docker-stage</outputDirectory>
71 <descriptor>docker/distribution.xml</descriptor>
73 <tarLongFileMode>posix</tarLongFileMode>
77 <id>${assembly.id}</id>
78 <phase>package</phase>
86 <groupId>org.codehaus.groovy.maven</groupId>
87 <artifactId>gmaven-plugin</artifactId>
88 <version>1.0</version>
91 <phase>validate</phase>
96 <source>${basedir}/../../TagVersion.groovy</source>
110 <groupId>io.fabric8</groupId>
111 <artifactId>docker-maven-plugin</artifactId>
112 <version>0.34.0</version>
113 <inherited>false</inherited>
117 <name>${image.name}</name>
119 <cleanup>try</cleanup>
120 <noCache>true</noCache>
121 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
123 <tag>${project.docker.latestminortag.version}</tag>
124 <tag>${project.docker.latestfulltag.version}</tag>
125 <tag>${project.docker.latesttagtimestamp.version}</tag>
130 <verbose>${docker.verbose}</verbose>
131 <skipPush>${docker.skip.push}</skipPush>
135 <id>build-push-images</id>