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.1.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>
45 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
46 <artifactId>blueprint-core</artifactId>
49 <groupId>org.springframework.boot</groupId>
50 <artifactId>spring-boot-starter-logging</artifactId>
55 <groupId>org.springframework.boot</groupId>
56 <artifactId>spring-boot-starter-security</artifactId>
59 <groupId>org.springframework.boot</groupId>
60 <artifactId>spring-boot-starter-logging</artifactId>
65 <!-- Error Catalog Services -->
67 <groupId>org.onap.ccsdk.cds.error.catalog</groupId>
68 <artifactId>error-catalog-services</artifactId>
71 <!-- North Bound - Modules -->
73 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
74 <artifactId>designer-api</artifactId>
77 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
78 <artifactId>resource-api</artifactId>
81 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
82 <artifactId>selfservice-api</artifactId>
85 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
86 <artifactId>configs-api</artifactId>
89 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
90 <artifactId>health-api</artifactId>
93 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
94 <artifactId>health-api-common</artifactId>
99 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
100 <artifactId>python-executor</artifactId>
103 <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
104 <artifactId>restful-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>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId>
128 <artifactId>k8s-profile-upload</artifactId>
131 <!-- Test Dependencies -->
133 <groupId>com.h2database</groupId>
134 <artifactId>h2</artifactId>
137 <groupId>org.powermock</groupId>
138 <artifactId>powermock-api-mockito2</artifactId>
142 <groupId>org.springframework.boot</groupId>
143 <artifactId>spring-boot-starter-test</artifactId>
147 <groupId>org.jetbrains.kotlin</groupId>
148 <artifactId>kotlin-test-junit</artifactId>
152 <groupId>io.projectreactor</groupId>
153 <artifactId>reactor-test</artifactId>
159 <groupId>org.skyscreamer</groupId>
160 <artifactId>jsonassert</artifactId>
163 <groupId>org.yaml</groupId>
164 <artifactId>snakeyaml</artifactId>
167 <groupId>com.nhaarman.mockitokotlin2</groupId>
168 <artifactId>mockito-kotlin</artifactId>
169 <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by
170 the UatServices (/api/v1/uat/spy and /api/v1/uat/verify endpoints) -->
171 <scope>compile</scope>
174 <groupId>com.schibsted.spt.data</groupId>
175 <artifactId>jslt</artifactId>
178 <groupId>org.apache.httpcomponents</groupId>
179 <artifactId>httpclient</artifactId>
180 <version>${apache.httpcomponents.client.version}</version>
183 <groupId>org.apache.httpcomponents</groupId>
184 <artifactId>httpmime</artifactId>
185 <version>${apache.httpcomponents.client.version}</version>
188 <groupId>com.github.tomakehurst</groupId>
189 <artifactId>wiremock-jre8</artifactId>
190 <version>2.25.0</version>
195 <groupId>ch.qos.logback</groupId>
196 <artifactId>logback-classic</artifactId>
203 <!--config and resource files -->
204 <directory>${basedir}/etc</directory>
205 <targetPath>${basedir}/target/etc</targetPath>
206 <filtering>true</filtering>
208 <include>**/*</include>
212 <!--config and resource files -->
213 <directory>${basedir}/src/main/resources</directory>
214 <targetPath>${basedir}/target/src/main/resources</targetPath>
215 <filtering>true</filtering>
217 <include>**/*</include>
221 <directory>src/main/resources</directory>
223 <include>**/*</include>
225 <filtering>true</filtering>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-surefire-plugin</artifactId>
232 <version>${maven-surefire-plugin.version}</version>
234 <!-- Sets the VM argument line used when unit tests are run. -->
235 <argLine>-Xmx1024m -XX:MaxPermSize=256m ${surefireArgLine}</argLine>
236 <!-- Excludes integration tests when unit tests are run. -->
238 <exclude>**/IT*.java</exclude>
240 <reuseForks>false</reuseForks>
241 <forkCount>1</forkCount>
245 <artifactId>maven-resources-plugin</artifactId>
246 <version>2.6</version>
249 <id>copy-dockerfile</id>
251 <goal>copy-resources</goal>
252 </goals><!-- here the phase you need -->
253 <phase>validate</phase>
255 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
258 <directory>src/main/docker</directory>
262 <filtering>true</filtering>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-antrun-plugin</artifactId>
275 <phase>package</phase>
278 <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/>
287 <plugin><!--build the final artifact for docker deployment -->
288 <artifactId>maven-assembly-plugin</artifactId>
289 <version>3.1.0</version>
291 <!-- <skipAssembly>${skip.assembly}</skipAssembly> -->
292 <outputDirectory>${basedir}/target/docker-stage</outputDirectory>
294 <descriptor>src/main/docker/distribution.xml</descriptor>
296 <tarLongFileMode>posix</tarLongFileMode>
300 <id>${assembly.id}</id>
301 <phase>package</phase>
309 <groupId>org.codehaus.groovy.maven</groupId>
310 <artifactId>gmaven-plugin</artifactId>
311 <version>1.0</version>
314 <phase>validate</phase>
319 <source>${basedir}/../../../TagVersion.groovy</source>
325 <groupId>pl.project13.maven</groupId>
326 <artifactId>git-commit-id-plugin</artifactId>
337 <groupId>io.fabric8</groupId>
338 <artifactId>docker-maven-plugin</artifactId>
339 <version>0.34.0</version>
340 <inherited>false</inherited>
344 <name>${image.name}</name>
346 <cleanup>try</cleanup>
347 <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
349 <tag>${project.docker.latestminortag.version}</tag>
350 <tag>${project.docker.latestfulltag.version}</tag>
351 <tag>${project.docker.latesttagtimestamp.version}</tag>
356 <verbose>${docker.verbose}</verbose>
357 <skipPush>${docker.skip.push}</skipPush>
361 <id>build-push-images</id>
362 <phase>${docker.push.phase}</phase>