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.
17 <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">
18 <modelVersion>4.0.0</modelVersion>
21 <groupId>org.onap.ccsdk.cds</groupId>
22 <artifactId>cds-ms</artifactId>
23 <version>1.4.2-SNAPSHOT</version>
26 <artifactId>py-executor</artifactId>
28 <name>MS Python Executor</name>
29 <description>Micro-service providing python environment with gRPC binding for python script execution</description>
32 <image.name>onap/ccsdk-py-executor</image.name>
33 <sonar.skip>true</sonar.skip>
39 <artifactId>maven-resources-plugin</artifactId>
40 <version>2.6</version>
43 <id>copy-dockerfile</id>
45 <goal>copy-resources</goal>
47 <phase>validate</phase>
49 <outputDirectory>${project.basedir}/target/docker-stage</outputDirectory>
52 <directory>docker</directory>
54 <include>Dockerfile</include>
55 <include>start.sh</include>
57 <filtering>true</filtering>
65 <artifactId>maven-assembly-plugin</artifactId>
66 <version>3.1.0</version>
68 <outputDirectory>${project.basedir}/target/docker-stage</outputDirectory>
70 <descriptor>docker/distribution.xml</descriptor>
72 <tarLongFileMode>posix</tarLongFileMode>
76 <id>${assembly.id}</id>
77 <phase>package</phase>
85 <groupId>org.codehaus.groovy.maven</groupId>
86 <artifactId>gmaven-plugin</artifactId>
87 <version>1.0</version>
90 <phase>validate</phase>
95 <source>${basedir}/../../TagVersion.groovy</source>
109 <groupId>io.fabric8</groupId>
110 <artifactId>docker-maven-plugin</artifactId>
111 <version>0.34.0</version>
112 <inherited>false</inherited>
116 <name>${image.name}</name>
118 <cleanup>try</cleanup>
119 <noCache>true</noCache>
120 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
122 <tag>${project.docker.latestminortag.version}</tag>
123 <tag>${project.docker.latestfulltag.version}</tag>
124 <tag>${project.docker.latesttagtimestamp.version}</tag>
129 <verbose>${docker.verbose}</verbose>
130 <skipPush>${docker.skip.push}</skipPush>
134 <id>build-push-images</id>