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.
21 <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">
22 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
26 <artifactId>parent</artifactId>
27 <version>1.0.0-SNAPSHOT</version>
28 <relativePath>../parent</relativePath>
31 <artifactId>application</artifactId>
32 <packaging>jar</packaging>
34 <name>Blueprints Processor Application</name>
35 <description>Blueprints Processor Application</description>
38 <assembly.id>maven</assembly.id>
39 <name.space>org.onap.ccsdk.cds</name.space>
40 <serviceArtifactName>blueprintsprocessor</serviceArtifactName>
41 <image.name>onap/ccsdk-blueprintsprocessor</image.name>
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>
50 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
51 <artifactId>blueprint-core</artifactId>
54 <groupId>org.springframework.boot</groupId>
55 <artifactId>spring-boot-starter-logging</artifactId>
60 <groupId>org.springframework.boot</groupId>
61 <artifactId>spring-boot-starter-security</artifactId>
64 <groupId>org.springframework.boot</groupId>
65 <artifactId>spring-boot-starter-logging</artifactId>
70 <!-- Error Catalog Services -->
72 <groupId>org.onap.ccsdk.cds.error.catalog</groupId>
73 <artifactId>error-catalog-services</artifactId>
78 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
79 <artifactId>designer-api</artifactId>
82 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
83 <artifactId>resource-api</artifactId>
86 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
87 <artifactId>selfservice-api</artifactId>
90 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
91 <artifactId>configs-api</artifactId>
94 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
95 <artifactId>health-api</artifactId>
98 <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
99 <artifactId>health-api-common</artifactId>
104 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
105 <artifactId>python-executor</artifactId>
108 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
109 <artifactId>restful-executor</artifactId>
112 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
113 <artifactId>ansible-awx-executor</artifactId>
116 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
117 <artifactId>netconf-executor</artifactId>
120 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
121 <artifactId>restconf-executor</artifactId>
124 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
125 <artifactId>cli-executor</artifactId>
128 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
129 <artifactId>config-snapshots</artifactId>
132 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
133 <artifactId>k8s-profile-upload</artifactId>
136 <groupId>com.h2database</groupId>
137 <artifactId>h2</artifactId>
140 <groupId>org.powermock</groupId>
141 <artifactId>powermock-api-mockito2</artifactId>
145 <groupId>org.springframework.boot</groupId>
146 <artifactId>spring-boot-starter-test</artifactId>
150 <groupId>org.jetbrains.kotlin</groupId>
151 <artifactId>kotlin-test-junit</artifactId>
155 <groupId>io.projectreactor</groupId>
156 <artifactId>reactor-test</artifactId>
161 <groupId>org.skyscreamer</groupId>
162 <artifactId>jsonassert</artifactId>
165 <groupId>org.yaml</groupId>
166 <artifactId>snakeyaml</artifactId>
169 <groupId>com.nhaarman.mockitokotlin2</groupId>
170 <artifactId>mockito-kotlin</artifactId>
171 <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by
172 the UatServices (/api/v1/uat/spy and /api/v1/uat/verify endpoints) -->
173 <scope>compile</scope>
176 <groupId>com.schibsted.spt.data</groupId>
177 <artifactId>jslt</artifactId>
180 <groupId>org.apache.httpcomponents</groupId>
181 <artifactId>httpclient</artifactId>
182 <version>${apache.httpcomponents.client.version}</version>
185 <groupId>org.apache.httpcomponents</groupId>
186 <artifactId>httpmime</artifactId>
187 <version>${apache.httpcomponents.client.version}</version>
190 <groupId>com.github.tomakehurst</groupId>
191 <artifactId>wiremock-jre8</artifactId>
192 <version>2.25.0</version>
197 <groupId>ch.qos.logback</groupId>
198 <artifactId>logback-classic</artifactId>
206 <!--config and resource files -->
207 <directory>${basedir}/etc</directory>
208 <targetPath>${basedir}/target/etc</targetPath>
209 <filtering>true</filtering>
211 <include>**/*</include>
215 <!--config and resource files -->
216 <directory>${basedir}/src/main/resources</directory>
217 <targetPath>${basedir}/target/src/main/resources</targetPath>
218 <filtering>true</filtering>
220 <include>**/*</include>
224 <directory>src/main/resources</directory>
226 <include>**/*</include>
228 <filtering>true</filtering>
233 <artifactId>maven-resources-plugin</artifactId>
234 <version>2.6</version>
237 <id>copy-dockerfile</id>
239 <goal>copy-resources</goal>
240 </goals><!-- here the phase you need -->
241 <phase>validate</phase>
243 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
246 <directory>src/main/docker</directory>
250 <filtering>true</filtering>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-antrun-plugin</artifactId>
263 <phase>package</phase>
266 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
275 <plugin><!--build the final artifact for docker deployment -->
276 <artifactId>maven-assembly-plugin</artifactId>
277 <version>3.1.0</version>
279 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
280 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
282 <descriptor>src/main/docker/distribution.xml</descriptor>
284 <tarLongFileMode>posix</tarLongFileMode>
288 <id>${assembly.id}</id>
289 <phase>package</phase>
297 <groupId>org.codehaus.groovy.maven</groupId>
298 <artifactId>gmaven-plugin</artifactId>
299 <version>1.0</version>
302 <phase>validate</phase>
307 <source>${basedir}/../../../TagVersion.groovy</source>
313 <artifactId>maven-compiler-plugin</artifactId>
314 <version>3.1</version>
321 <groupId>pl.project13.maven</groupId>
322 <artifactId>git-commit-id-plugin</artifactId>
333 <groupId>io.fabric8</groupId>
334 <artifactId>docker-maven-plugin</artifactId>
335 <version>0.26.1</version>
336 <inherited>false</inherited>
340 <name>${image.name}</name>
342 <cleanup>try</cleanup>
343 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
345 <tag>${project.docker.latestminortag.version}</tag>
346 <tag>${project.docker.latestfulltag.version}</tag>
347 <tag>${project.docker.latesttagtimestamp.version}</tag>
352 <verbose>true</verbose>
356 <id>generate-images</id>
357 <phase>package</phase>
364 <phase>${docker.push.phase}</phase>