2 ~ Copyright © 2016-2018 European Support Limited
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
8 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xmlns="http://maven.apache.org/POM/4.0.0"
20 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 The groupId violates Maven naming conventions
26 (https://maven.apache.org/guides/mini/guide-naming-conventions.html)
27 because of a limitation of ONAP CI/CD infrastructure.
29 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
30 <artifactId>sdc-workflow-designer-parent</artifactId>
31 <name>sdc-sdc-workflow-designer</name>
32 <version>1.12.0-SNAPSHOT</version>
33 <packaging>pom</packaging>
36 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39 <sdc.project.version>${project.version}</sdc.project.version>
40 <sdc.build.timestamp>${maven.build.timestamp}</sdc.build.timestamp>
41 <onap.version>1.5.0</onap.version>
42 <docker.optimize>true</docker.optimize>
43 <docker.username>docker</docker.username>
44 <docker.password>docker</docker.password>
45 <nexus.registry>nexus3.onap.org:10001</nexus.registry>
46 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
47 <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath>
48 <!-- Sonar properties -->
49 <sonar.coverage.jacoco.xmlReportPaths>
50 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
51 </sonar.coverage.jacoco.xmlReportPaths>
53 <build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version>
54 <docker.api.version>1.41</docker.api.version>
55 <checkstyle.skip>true</checkstyle.skip>
56 <jetty.version>10.0.16</jetty.version>
60 <groupId>org.onap.oparent</groupId>
61 <artifactId>oparent</artifactId>
62 <version>3.2.0</version>
67 <module>sdc-workflow-designer-init</module>
68 <module>sdc-workflow-designer-be</module>
69 <module>sdc-workflow-designer-ui</module>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-compiler-plugin</artifactId>
78 <version>3.10.1</version>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-surefire-plugin</artifactId>
83 <version>2.22.2</version>
86 <groupId>org.jacoco</groupId>
87 <artifactId>jacoco-maven-plugin</artifactId>
88 <version>0.8.8</version>
91 <groupId>io.fabric8</groupId>
92 <artifactId>docker-maven-plugin</artifactId>
93 <version>0.38.0</version>
95 <verbose>false</verbose>
96 <registry>${nexus.registry}</registry>
99 <username>${docker.username}</username>
100 <password>${docker.password}</password>
106 <id>docker-build</id>
107 <phase>install</phase>
114 <phase>deploy</phase>
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-checkstyle-plugin</artifactId>
124 <version>3.1.2</version>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-compiler-plugin</artifactId>
135 <forceJavacCompilerUse>true</forceJavacCompilerUse>
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-checkstyle-plugin</artifactId>
142 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
143 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
144 <skip>${checkstyle.skip}</skip>
148 <groupId>org.jacoco</groupId>
149 <artifactId>jacoco-maven-plugin</artifactId>
152 <id>default-prepare-agent</id>
154 <goal>prepare-agent</goal>
159 <phase>prepare-package</phase>
165 <id>post-unit-test</id>
171 <destFile>${sonar.jacoco.reportPath}</destFile>
177 <groupId>org.codehaus.mojo</groupId>
178 <artifactId>build-helper-maven-plugin</artifactId>
179 <version>${build-helper-maven-plugin.version}</version>
182 <phase>initialize</phase>
183 <id>parse-version</id>
185 <goal>parse-version</goal>
195 <id>ecomp-releases</id>
196 <name>Release Repository</name>
197 <url>${nexus.proxy}/content/repositories/releases/</url>
200 <id>ecomp-snapshots</id>
201 <name>Snapshots Repository</name>
202 <url>${nexus.proxy}/content/repositories/snapshots/</url>
205 <id>ecomp-public</id>
206 <name>Public Repository</name>
207 <url>${nexus.proxy}/content/repositories/public/</url>
210 <distributionManagement>
212 <id>ecomp-releases</id>
213 <name>Release Repository</name>
214 <url>${nexus.proxy}/content/repositories/releases/</url>
217 <id>ecomp-snapshots</id>
218 <name>Snapshot Repository</name>
219 <url>${nexus.proxy}/content/repositories/snapshots/</url>
220 </snapshotRepository>
223 <url>dav:${nexus.proxy}${sitePath}</url>
225 </distributionManagement>
231 <activeByDefault>false</activeByDefault>
234 <maven.test.skip>true</maven.test.skip>
235 <skipYamlJsonValidator>true</skipYamlJsonValidator>
236 <checkstyle.skip>true</checkstyle.skip>
237 <jacoco.skip>true</jacoco.skip>
238 <maven.antrun.skip>true</maven.antrun.skip>
239 <swagger.skip>true</swagger.skip>