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>blueprintsprocessor-parent</artifactId>
27 <version>1.0.0-SNAPSHOT</version>
28 <relativePath>../parent</relativePath>
31 <artifactId>blueprintsprocessor-application</artifactId>
32 <packaging>jar</packaging>
34 <name>MS Blueprints Processor Application</name>
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.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp>
48 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
49 <artifactId>blueprint-core</artifactId>
52 <groupId>org.springframework.boot</groupId>
53 <artifactId>spring-boot-starter-logging</artifactId>
58 <groupId>org.springframework.boot</groupId>
59 <artifactId>spring-boot-starter-security</artifactId>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-logging</artifactId>
68 <!-- Error Catalog Services -->
70 <groupId>org.onap.ccsdk.cds.error.catalog</groupId>
71 <artifactId>error-catalog-services</artifactId>
74 <!-- North Bound - Modules -->
76 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
77 <artifactId>designer-api</artifactId>
80 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
81 <artifactId>resource-api</artifactId>
84 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
85 <artifactId>selfservice-api</artifactId>
88 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
89 <artifactId>configs-api</artifactId>
92 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
93 <artifactId>health-api</artifactId>
96 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
97 <artifactId>health-api-common</artifactId>
102 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
103 <artifactId>python-executor</artifactId>
106 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
107 <artifactId>restful-executor</artifactId>
110 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
111 <artifactId>ansible-awx-executor</artifactId>
114 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
115 <artifactId>netconf-executor</artifactId>
118 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
119 <artifactId>restconf-executor</artifactId>
122 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
123 <artifactId>cli-executor</artifactId>
126 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
127 <artifactId>config-snapshots</artifactId>
130 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
131 <artifactId>k8s-profile-upload</artifactId>
134 <!-- Test Dependencies -->
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>
162 <groupId>org.skyscreamer</groupId>
163 <artifactId>jsonassert</artifactId>
166 <groupId>org.yaml</groupId>
167 <artifactId>snakeyaml</artifactId>
170 <groupId>com.nhaarman.mockitokotlin2</groupId>
171 <artifactId>mockito-kotlin</artifactId>
172 <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by
173 the UatServices (/api/v1/uat/spy and /api/v1/uat/verify endpoints) -->
174 <scope>compile</scope>
177 <groupId>com.schibsted.spt.data</groupId>
178 <artifactId>jslt</artifactId>
181 <groupId>org.apache.httpcomponents</groupId>
182 <artifactId>httpclient</artifactId>
183 <version>${apache.httpcomponents.client.version}</version>
186 <groupId>org.apache.httpcomponents</groupId>
187 <artifactId>httpmime</artifactId>
188 <version>${apache.httpcomponents.client.version}</version>
191 <groupId>com.github.tomakehurst</groupId>
192 <artifactId>wiremock-jre8</artifactId>
193 <version>2.25.0</version>
198 <groupId>ch.qos.logback</groupId>
199 <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 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-surefire-plugin</artifactId>
235 <version>${maven-surefire-plugin.version}</version>
237 <!-- Sets the VM argument line used when unit tests are run. -->
238 <argLine>-Xmx1024m -XX:MaxPermSize=256m ${surefireArgLine}</argLine>
239 <!-- Excludes integration tests when unit tests are run. -->
241 <exclude>**/IT*.java</exclude>
243 <reuseForks>false</reuseForks>
244 <forkCount>1</forkCount>
248 <artifactId>maven-resources-plugin</artifactId>
249 <version>2.6</version>
252 <id>copy-dockerfile</id>
254 <goal>copy-resources</goal>
255 </goals><!-- here the phase you need -->
256 <phase>validate</phase>
258 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
261 <directory>src/main/docker</directory>
265 <filtering>true</filtering>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-antrun-plugin</artifactId>
278 <phase>package</phase>
281 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
290 <plugin><!--build the final artifact for docker deployment -->
291 <artifactId>maven-assembly-plugin</artifactId>
292 <version>3.1.0</version>
294 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
295 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
297 <descriptor>src/main/docker/distribution.xml</descriptor>
299 <tarLongFileMode>posix</tarLongFileMode>
303 <id>${assembly.id}</id>
304 <phase>package</phase>
312 <groupId>org.codehaus.groovy.maven</groupId>
313 <artifactId>gmaven-plugin</artifactId>
314 <version>1.0</version>
317 <phase>validate</phase>
322 <source>${basedir}/../../../TagVersion.groovy</source>
328 <groupId>pl.project13.maven</groupId>
329 <artifactId>git-commit-id-plugin</artifactId>
340 <groupId>io.fabric8</groupId>
341 <artifactId>docker-maven-plugin</artifactId>
342 <version>0.26.1</version>
343 <inherited>false</inherited>
347 <name>${image.name}</name>
349 <cleanup>try</cleanup>
350 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
352 <tag>${project.docker.latestminortag.version}</tag>
353 <tag>${project.docker.latestfulltag.version}</tag>
354 <tag>${project.docker.latesttagtimestamp.version}</tag>
359 <verbose>true</verbose>
363 <id>generate-images</id>
364 <phase>package</phase>
371 <phase>${docker.push.phase}</phase>