Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright © 2019 Bell Canada. |
| 4 | ~ |
| 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 |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 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. |
| 16 | --> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame] | 17 | |
Alexis de Talhouët | 3a80a2a | 2019-09-06 13:05:21 +0000 | [diff] [blame] | 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"> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 19 | <modelVersion>4.0.0</modelVersion> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 20 | |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 21 | <parent> |
| 22 | <groupId>org.onap.ccsdk.cds</groupId> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 23 | <artifactId>cds-ms</artifactId> |
Dan Timoney | 31ec742 | 2020-09-22 15:56:18 -0400 | [diff] [blame] | 24 | <version>1.1.0-SNAPSHOT</version> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 25 | <relativePath>..</relativePath> |
| 26 | </parent> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 27 | |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 28 | <artifactId>command-executor</artifactId> |
| 29 | <packaging>pom</packaging> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 30 | |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 31 | <name>MS Command Executor</name> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 32 | <description>Micro-service providing python environment with gRPC binding for command execution</description> |
| 33 | |
| 34 | <properties> |
| 35 | <assembly.id>maven</assembly.id> |
| 36 | <image.name>onap/ccsdk-commandexecutor</image.name> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 37 | </properties> |
| 38 | |
| 39 | <build> |
| 40 | <plugins> |
| 41 | <plugin> |
| 42 | <artifactId>maven-resources-plugin</artifactId> |
| 43 | <version>2.6</version> |
| 44 | <executions> |
| 45 | <execution> |
| 46 | <id>copy-dockerfile</id> |
| 47 | <goals> |
| 48 | <goal>copy-resources</goal> |
| 49 | </goals> |
| 50 | <phase>validate</phase> |
| 51 | <configuration> |
| 52 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 53 | <resources> |
| 54 | <resource> |
| 55 | <directory>src/main/docker</directory> |
| 56 | <includes> |
| 57 | <include>Dockerfile</include> |
| 58 | <include>start.sh</include> |
| 59 | </includes> |
| 60 | <filtering>true</filtering> |
| 61 | </resource> |
| 62 | </resources> |
| 63 | </configuration> |
| 64 | </execution> |
| 65 | </executions> |
| 66 | </plugin> |
Alexis de Talhouët | ee120a5 | 2019-04-12 18:51:26 -0400 | [diff] [blame] | 67 | <plugin> |
| 68 | <artifactId>maven-assembly-plugin</artifactId> |
| 69 | <version>3.1.0</version> |
| 70 | <configuration> |
| 71 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 72 | <descriptors> |
| 73 | <descriptor>src/main/docker/distribution.xml</descriptor> |
| 74 | </descriptors> |
| 75 | <tarLongFileMode>posix</tarLongFileMode> |
| 76 | </configuration> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>${assembly.id}</id> |
| 80 | <phase>package</phase> |
| 81 | <goals> |
| 82 | <goal>single</goal> |
| 83 | </goals> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 87 | <plugin> |
| 88 | <groupId>org.codehaus.groovy.maven</groupId> |
| 89 | <artifactId>gmaven-plugin</artifactId> |
| 90 | <version>1.0</version> |
| 91 | <executions> |
| 92 | <execution> |
| 93 | <phase>validate</phase> |
| 94 | <goals> |
| 95 | <goal>execute</goal> |
| 96 | </goals> |
| 97 | <configuration> |
| 98 | <source>${basedir}/../../TagVersion.groovy</source> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | </plugins> |
| 104 | </build> |
| 105 | |
| 106 | <profiles> |
| 107 | <profile> |
| 108 | <id>docker</id> |
| 109 | <build> |
| 110 | <plugins> |
| 111 | <plugin> |
| 112 | <groupId>io.fabric8</groupId> |
| 113 | <artifactId>docker-maven-plugin</artifactId> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 114 | <version>0.34.0</version> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 115 | <inherited>false</inherited> |
| 116 | <configuration> |
| 117 | <images> |
| 118 | <image> |
| 119 | <name>${image.name}</name> |
| 120 | <build> |
| 121 | <cleanup>try</cleanup> |
| 122 | <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> |
| 123 | <tags> |
Alexis de Talhouët | f2136a4 | 2019-04-24 10:05:02 -0400 | [diff] [blame] | 124 | <tag>${project.docker.latestminortag.version}</tag> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 125 | <tag>${project.docker.latestfulltag.version}</tag> |
Alexis de Talhouët | f2136a4 | 2019-04-24 10:05:02 -0400 | [diff] [blame] | 126 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 127 | </tags> |
| 128 | </build> |
| 129 | </image> |
| 130 | </images> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 131 | <verbose>${docker.verbose}</verbose> |
| 132 | <skipPush>${docker.skip.push}</skipPush> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 133 | </configuration> |
| 134 | <executions> |
| 135 | <execution> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 136 | <id>build-push-images</id> |
Alexis de Talhouët | 50f466c | 2019-04-12 18:49:29 -0400 | [diff] [blame] | 137 | <goals> |
| 138 | <goal>build</goal> |
| 139 | <goal>push</goal> |
| 140 | </goals> |
| 141 | </execution> |
| 142 | </executions> |
| 143 | </plugin> |
| 144 | </plugins> |
| 145 | </build> |
| 146 | </profile> |
| 147 | </profiles> |
| 148 | </project> |