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>com.h2database</groupId>
133 <artifactId>h2</artifactId>
136 <groupId>org.powermock</groupId>
137 <artifactId>powermock-api-mockito2</artifactId>
141 <groupId>org.springframework.boot</groupId>
142 <artifactId>spring-boot-starter-test</artifactId>
146 <groupId>org.jetbrains.kotlin</groupId>
147 <artifactId>kotlin-test-junit</artifactId>
151 <groupId>io.projectreactor</groupId>
152 <artifactId>reactor-test</artifactId>
157 <groupId>org.skyscreamer</groupId>
158 <artifactId>jsonassert</artifactId>
161 <groupId>org.yaml</groupId>
162 <artifactId>snakeyaml</artifactId>
165 <groupId>com.nhaarman.mockitokotlin2</groupId>
166 <artifactId>mockito-kotlin</artifactId>
167 <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by
168 the UatServices (/api/v1/uat/spy and /api/v1/uat/verify endpoints) -->
169 <scope>compile</scope>
172 <groupId>com.schibsted.spt.data</groupId>
173 <artifactId>jslt</artifactId>
176 <groupId>org.apache.httpcomponents</groupId>
177 <artifactId>httpclient</artifactId>
178 <version>${apache.httpcomponents.client.version}</version>
181 <groupId>org.apache.httpcomponents</groupId>
182 <artifactId>httpmime</artifactId>
183 <version>${apache.httpcomponents.client.version}</version>
186 <groupId>com.github.tomakehurst</groupId>
187 <artifactId>wiremock-jre8</artifactId>
188 <version>2.25.0</version>
193 <groupId>ch.qos.logback</groupId>
194 <artifactId>logback-classic</artifactId>
202 <!--config and resource files -->
203 <directory>${basedir}/etc</directory>
204 <targetPath>${basedir}/target/etc</targetPath>
205 <filtering>true</filtering>
207 <include>**/*</include>
211 <!--config and resource files -->
212 <directory>${basedir}/src/main/resources</directory>
213 <targetPath>${basedir}/target/src/main/resources</targetPath>
214 <filtering>true</filtering>
216 <include>**/*</include>
220 <directory>src/main/resources</directory>
222 <include>**/*</include>
224 <filtering>true</filtering>
229 <artifactId>maven-resources-plugin</artifactId>
230 <version>2.6</version>
233 <id>copy-dockerfile</id>
235 <goal>copy-resources</goal>
236 </goals><!-- here the phase you need -->
237 <phase>validate</phase>
239 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
242 <directory>src/main/docker</directory>
246 <filtering>true</filtering>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-antrun-plugin</artifactId>
259 <phase>package</phase>
262 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
271 <plugin><!--build the final artifact for docker deployment -->
272 <artifactId>maven-assembly-plugin</artifactId>
273 <version>3.1.0</version>
275 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
276 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
278 <descriptor>src/main/docker/distribution.xml</descriptor>
280 <tarLongFileMode>posix</tarLongFileMode>
284 <id>${assembly.id}</id>
285 <phase>package</phase>
293 <groupId>org.codehaus.groovy.maven</groupId>
294 <artifactId>gmaven-plugin</artifactId>
295 <version>1.0</version>
298 <phase>validate</phase>
303 <source>${basedir}/../../../TagVersion.groovy</source>
309 <artifactId>maven-compiler-plugin</artifactId>
310 <version>3.1</version>
317 <groupId>pl.project13.maven</groupId>
318 <artifactId>git-commit-id-plugin</artifactId>
329 <groupId>io.fabric8</groupId>
330 <artifactId>docker-maven-plugin</artifactId>
331 <version>0.26.1</version>
332 <inherited>false</inherited>
336 <name>${image.name}</name>
338 <cleanup>try</cleanup>
339 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
341 <tag>${project.docker.latestminortag.version}</tag>
342 <tag>${project.docker.latestfulltag.version}</tag>
343 <tag>${project.docker.latesttagtimestamp.version}</tag>
348 <verbose>true</verbose>
352 <id>generate-images</id>
353 <phase>package</phase>
360 <phase>${docker.push.phase}</phase>