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.functions</groupId>
98 <artifactId>python-executor</artifactId>
101 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
102 <artifactId>restful-executor</artifactId>
105 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
106 <artifactId>ansible-awx-executor</artifactId>
109 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
110 <artifactId>netconf-executor</artifactId>
113 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
114 <artifactId>restconf-executor</artifactId>
117 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
118 <artifactId>cli-executor</artifactId>
121 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
122 <artifactId>config-snapshots</artifactId>
125 <groupId>com.h2database</groupId>
126 <artifactId>h2</artifactId>
129 <groupId>org.powermock</groupId>
130 <artifactId>powermock-api-mockito2</artifactId>
134 <groupId>org.springframework.boot</groupId>
135 <artifactId>spring-boot-starter-test</artifactId>
139 <groupId>org.jetbrains.kotlin</groupId>
140 <artifactId>kotlin-test-junit</artifactId>
144 <groupId>io.projectreactor</groupId>
145 <artifactId>reactor-test</artifactId>
150 <groupId>org.skyscreamer</groupId>
151 <artifactId>jsonassert</artifactId>
154 <groupId>org.yaml</groupId>
155 <artifactId>snakeyaml</artifactId>
158 <groupId>com.nhaarman.mockitokotlin2</groupId>
159 <artifactId>mockito-kotlin</artifactId>
160 <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by
161 the UatServices (/api/v1/uat/spy and /api/v1/uat/verify endpoints) -->
162 <scope>compile</scope>
165 <groupId>com.schibsted.spt.data</groupId>
166 <artifactId>jslt</artifactId>
169 <groupId>org.apache.httpcomponents</groupId>
170 <artifactId>httpclient</artifactId>
171 <version>${apache.httpcomponents.client.version}</version>
174 <groupId>org.apache.httpcomponents</groupId>
175 <artifactId>httpmime</artifactId>
176 <version>${apache.httpcomponents.client.version}</version>
179 <groupId>com.github.tomakehurst</groupId>
180 <artifactId>wiremock-jre8</artifactId>
181 <version>2.25.0</version>
186 <groupId>ch.qos.logback</groupId>
187 <artifactId>logback-classic</artifactId>
195 <!--config and resource files -->
196 <directory>${basedir}/etc</directory>
197 <targetPath>${basedir}/target/etc</targetPath>
198 <filtering>true</filtering>
200 <include>**/*</include>
204 <!--config and resource files -->
205 <directory>${basedir}/src/main/resources</directory>
206 <targetPath>${basedir}/target/src/main/resources</targetPath>
207 <filtering>true</filtering>
209 <include>**/*</include>
213 <directory>src/main/resources</directory>
215 <include>**/*</include>
217 <filtering>true</filtering>
222 <artifactId>maven-resources-plugin</artifactId>
223 <version>2.6</version>
226 <id>copy-dockerfile</id>
228 <goal>copy-resources</goal>
229 </goals><!-- here the phase you need -->
230 <phase>validate</phase>
232 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
235 <directory>src/main/docker</directory>
239 <filtering>true</filtering>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-antrun-plugin</artifactId>
252 <phase>package</phase>
255 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
264 <plugin><!--build the final artifact for docker deployment -->
265 <artifactId>maven-assembly-plugin</artifactId>
266 <version>3.1.0</version>
268 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
269 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
271 <descriptor>src/main/docker/distribution.xml</descriptor>
273 <tarLongFileMode>posix</tarLongFileMode>
277 <id>${assembly.id}</id>
278 <phase>package</phase>
286 <groupId>org.codehaus.groovy.maven</groupId>
287 <artifactId>gmaven-plugin</artifactId>
288 <version>1.0</version>
291 <phase>validate</phase>
296 <source>${basedir}/../../../TagVersion.groovy</source>
302 <artifactId>maven-compiler-plugin</artifactId>
303 <version>3.1</version>
318 <groupId>io.fabric8</groupId>
319 <artifactId>docker-maven-plugin</artifactId>
320 <version>0.26.1</version>
321 <inherited>false</inherited>
325 <name>${image.name}</name>
327 <cleanup>try</cleanup>
328 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
330 <tag>${project.docker.latestminortag.version}</tag>
331 <tag>${project.docker.latestfulltag.version}</tag>
332 <tag>${project.docker.latesttagtimestamp.version}</tag>
337 <verbose>true</verbose>
341 <id>generate-images</id>
342 <phase>package</phase>
349 <phase>${docker.push.phase}</phase>