1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ Copyright © 2017-2018 AT&T Intellectual Property.
5 ~ Modifications Copyright © 2018 IBM.
6 ~ Modifications Copyright © 2019 Bell Canada.
8 ~ Licensed under the Apache License, Version 2.0 (the "License");
9 ~ you may not use this file except in compliance with the License.
10 ~ You may obtain a copy of the License at
12 ~ http://www.apache.org/licenses/LICENSE-2.0
14 ~ Unless required by applicable law or agreed to in writing, software
15 ~ distributed under the License is distributed on an "AS IS" BASIS,
16 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 ~ See the License for the specific language governing permissions and
18 ~ limitations under the License.
20 <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">
21 <modelVersion>4.0.0</modelVersion>
24 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
25 <artifactId>parent</artifactId>
26 <version>0.7.0-SNAPSHOT</version>
27 <relativePath>../parent</relativePath>
30 <artifactId>application</artifactId>
31 <packaging>jar</packaging>
33 <name>Blueprints Processor Application</name>
34 <description>Blueprints Processor Application</description>
37 <assembly.id>maven</assembly.id>
38 <name.space>org.onap.ccsdk.cds</name.space>
39 <serviceArtifactName>blueprintsprocessor</serviceArtifactName>
40 <image.name>onap/ccsdk-blueprintsprocessor</image.name>
41 <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>
42 <docker.push.phase>deploy</docker.push.phase>
43 <docker.verbose>true</docker.verbose>
44 <ccsdk.project.version>${project.version}</ccsdk.project.version>
45 <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
51 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
52 <artifactId>blueprint-core</artifactId>
55 <groupId>org.springframework.boot</groupId>
56 <artifactId>spring-boot-starter-logging</artifactId>
61 <groupId>org.springframework.boot</groupId>
62 <artifactId>spring-boot-starter-security</artifactId>
65 <groupId>org.springframework.boot</groupId>
66 <artifactId>spring-boot-starter-logging</artifactId>
73 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
74 <artifactId>designer-api</artifactId>
77 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
78 <artifactId>resource-api</artifactId>
81 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
82 <artifactId>selfservice-api</artifactId>
85 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
86 <artifactId>configs-api</artifactId>
89 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
90 <artifactId>health-api</artifactId>
95 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
96 <artifactId>python-executor</artifactId>
99 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
100 <artifactId>ansible-awx-executor</artifactId>
103 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
104 <artifactId>netconf-executor</artifactId>
107 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
108 <artifactId>restconf-executor</artifactId>
111 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
112 <artifactId>cli-executor</artifactId>
115 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
116 <artifactId>config-snapshots</artifactId>
119 <groupId>com.h2database</groupId>
120 <artifactId>h2</artifactId>
123 <groupId>org.powermock</groupId>
124 <artifactId>powermock-api-mockito2</artifactId>
128 <groupId>org.springframework.boot</groupId>
129 <artifactId>spring-boot-starter-test</artifactId>
133 <groupId>org.jetbrains.kotlin</groupId>
134 <artifactId>kotlin-test-junit</artifactId>
138 <groupId>io.projectreactor</groupId>
139 <artifactId>reactor-test</artifactId>
143 <groupId>org.yaml</groupId>
144 <artifactId>snakeyaml</artifactId>
148 <groupId>com.nhaarman.mockitokotlin2</groupId>
149 <artifactId>mockito-kotlin</artifactId>
150 <version>2.1.0</version>
154 <groupId>com.schibsted.spt.data</groupId>
155 <artifactId>jslt</artifactId>
156 <version>0.1.8</version>
160 <groupId>ch.qos.logback</groupId>
161 <artifactId>logback-classic</artifactId>
168 <!--config and resource files -->
169 <directory>${basedir}/etc</directory>
170 <targetPath>${basedir}/target/etc</targetPath>
171 <filtering>true</filtering>
173 <include>**/*</include>
177 <!--config and resource files -->
178 <directory>${basedir}/src/main/resources</directory>
179 <targetPath>${basedir}/target/src/main/resources</targetPath>
180 <filtering>true</filtering>
182 <include>**/*</include>
186 <directory>src/main/resources</directory>
188 <include>**/*</include>
190 <filtering>true</filtering>
195 <artifactId>maven-resources-plugin</artifactId>
196 <version>2.6</version>
199 <id>copy-dockerfile</id>
201 <goal>copy-resources</goal>
202 </goals><!-- here the phase you need -->
203 <phase>validate</phase>
205 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
208 <directory>src/main/docker</directory>
212 <filtering>true</filtering>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-antrun-plugin</artifactId>
225 <phase>package</phase>
228 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
237 <plugin><!--build the final artifact for docker deployment -->
238 <artifactId>maven-assembly-plugin</artifactId>
239 <version>3.1.0</version>
241 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
242 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
244 <descriptor>src/main/docker/distribution.xml</descriptor>
246 <tarLongFileMode>posix</tarLongFileMode>
250 <id>${assembly.id}</id>
251 <phase>package</phase>
259 <groupId>org.codehaus.groovy.maven</groupId>
260 <artifactId>gmaven-plugin</artifactId>
261 <version>1.0</version>
264 <phase>validate</phase>
269 <source>${basedir}/../../../TagVersion.groovy</source>
275 <artifactId>maven-compiler-plugin</artifactId>
276 <version>3.1</version>
291 <groupId>io.fabric8</groupId>
292 <artifactId>docker-maven-plugin</artifactId>
293 <version>0.26.1</version>
294 <inherited>false</inherited>
298 <name>${image.name}</name>
300 <cleanup>try</cleanup>
301 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
303 <tag>${project.docker.latestminortag.version}</tag>
304 <tag>${project.docker.latestfulltag.version}</tag>
305 <tag>${project.docker.latesttagtimestamp.version}</tag>
310 <verbose>true</verbose>
314 <id>generate-images</id>
315 <phase>package</phase>
322 <phase>${docker.push.phase}</phase>