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.push.phase>deploy</docker.push.phase>
42 <docker.verbose>true</docker.verbose>
43 <ccsdk.project.version>${project.version}</ccsdk.project.version>
44 <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
49 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
50 <artifactId>blueprint-core</artifactId>
53 <groupId>org.springframework.boot</groupId>
54 <artifactId>spring-boot-starter-logging</artifactId>
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-security</artifactId>
63 <groupId>org.springframework.boot</groupId>
64 <artifactId>spring-boot-starter-logging</artifactId>
71 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
72 <artifactId>designer-api</artifactId>
75 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
76 <artifactId>resource-api</artifactId>
79 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
80 <artifactId>selfservice-api</artifactId>
83 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
84 <artifactId>configs-api</artifactId>
87 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
88 <artifactId>health-api</artifactId>
91 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
92 <artifactId>health-api-common</artifactId>
97 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
98 <artifactId>atomix-lib</artifactId>
103 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
104 <artifactId>python-executor</artifactId>
107 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
108 <artifactId>ansible-awx-executor</artifactId>
111 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
112 <artifactId>netconf-executor</artifactId>
115 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
116 <artifactId>restconf-executor</artifactId>
119 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
120 <artifactId>cli-executor</artifactId>
123 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
124 <artifactId>config-snapshots</artifactId>
127 <groupId>com.h2database</groupId>
128 <artifactId>h2</artifactId>
131 <groupId>org.powermock</groupId>
132 <artifactId>powermock-api-mockito2</artifactId>
136 <groupId>org.springframework.boot</groupId>
137 <artifactId>spring-boot-starter-test</artifactId>
141 <groupId>org.jetbrains.kotlin</groupId>
142 <artifactId>kotlin-test-junit</artifactId>
146 <groupId>io.projectreactor</groupId>
147 <artifactId>reactor-test</artifactId>
152 <groupId>org.skyscreamer</groupId>
153 <artifactId>jsonassert</artifactId>
156 <groupId>org.yaml</groupId>
157 <artifactId>snakeyaml</artifactId>
160 <groupId>com.nhaarman.mockitokotlin2</groupId>
161 <artifactId>mockito-kotlin</artifactId>
164 <groupId>com.schibsted.spt.data</groupId>
165 <artifactId>jslt</artifactId>
168 <groupId>org.apache.httpcomponents</groupId>
169 <artifactId>httpclient</artifactId>
170 <version>${apache.httpcomponents.client.version}</version>
173 <groupId>org.apache.httpcomponents</groupId>
174 <artifactId>httpmime</artifactId>
175 <version>${apache.httpcomponents.client.version}</version>
178 <groupId>com.github.tomakehurst</groupId>
179 <artifactId>wiremock-jre8</artifactId>
180 <version>2.25.0</version>
185 <groupId>ch.qos.logback</groupId>
186 <artifactId>logback-classic</artifactId>
194 <!--config and resource files -->
195 <directory>${basedir}/etc</directory>
196 <targetPath>${basedir}/target/etc</targetPath>
197 <filtering>true</filtering>
199 <include>**/*</include>
203 <!--config and resource files -->
204 <directory>${basedir}/src/main/resources</directory>
205 <targetPath>${basedir}/target/src/main/resources</targetPath>
206 <filtering>true</filtering>
208 <include>**/*</include>
212 <directory>src/main/resources</directory>
214 <include>**/*</include>
216 <filtering>true</filtering>
221 <artifactId>maven-resources-plugin</artifactId>
222 <version>2.6</version>
225 <id>copy-dockerfile</id>
227 <goal>copy-resources</goal>
228 </goals><!-- here the phase you need -->
229 <phase>validate</phase>
231 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
234 <directory>src/main/docker</directory>
238 <filtering>true</filtering>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-antrun-plugin</artifactId>
251 <phase>package</phase>
254 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
263 <plugin><!--build the final artifact for docker deployment -->
264 <artifactId>maven-assembly-plugin</artifactId>
265 <version>3.1.0</version>
267 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
268 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
270 <descriptor>src/main/docker/distribution.xml</descriptor>
272 <tarLongFileMode>posix</tarLongFileMode>
276 <id>${assembly.id}</id>
277 <phase>package</phase>
285 <groupId>org.codehaus.groovy.maven</groupId>
286 <artifactId>gmaven-plugin</artifactId>
287 <version>1.0</version>
290 <phase>validate</phase>
295 <source>${basedir}/../../../TagVersion.groovy</source>
301 <artifactId>maven-compiler-plugin</artifactId>
302 <version>3.1</version>
317 <groupId>io.fabric8</groupId>
318 <artifactId>docker-maven-plugin</artifactId>
319 <version>0.26.1</version>
320 <inherited>false</inherited>
324 <name>${image.name}</name>
326 <cleanup>try</cleanup>
327 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
329 <tag>${project.docker.latestminortag.version}</tag>
330 <tag>${project.docker.latestfulltag.version}</tag>
331 <tag>${project.docker.latesttagtimestamp.version}</tag>
336 <verbose>true</verbose>
340 <id>generate-images</id>
341 <phase>package</phase>
348 <phase>${docker.push.phase}</phase>