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>workflow-designer-parent</artifactId>
31 <name>sdc-sdc-workflow-designer</name>
32 <version>1.6.0-SNAPSHOT</version>
33 <packaging>pom</packaging>
36 <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
37 <maven.compiler.source>1.8</maven.compiler.source>
38 <maven.compiler.target>1.8</maven.compiler.target>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41 <onap.version>1.3.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>
49 <!-- Sonar properties -->
50 <sonar.coverage.jacoco.xmlReportPaths>
51 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
52 </sonar.coverage.jacoco.xmlReportPaths>
56 <groupId>org.onap.oparent</groupId>
57 <artifactId>oparent</artifactId>
58 <version>2.0.0</version>
63 <module>workflow-designer-init</module>
64 <module>workflow-designer-be</module>
65 <module>workflow-designer-ui</module>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-surefire-plugin</artifactId>
74 <version>2.22.0</version>
77 <groupId>org.jacoco</groupId>
78 <artifactId>jacoco-maven-plugin</artifactId>
79 <version>0.8.2</version>
82 <groupId>io.fabric8</groupId>
83 <artifactId>docker-maven-plugin</artifactId>
84 <version>0.28.0</version>
86 <verbose>false</verbose>
87 <registry>${nexus.registry}</registry>
90 <username>${docker.username}</username>
91 <password>${docker.password}</password>
98 <phase>install</phase>
105 <phase>deploy</phase>
116 <artifactId>maven-checkstyle-plugin</artifactId>
117 <version>${maven-checkstyle-plugin.version}</version>
119 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
120 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
124 <groupId>org.jacoco</groupId>
125 <artifactId>jacoco-maven-plugin</artifactId>
128 <id>default-prepare-agent</id>
130 <goal>prepare-agent</goal>
135 <phase>prepare-package</phase>
141 <id>post-unit-test</id>
147 <destFile>${sonar.jacoco.reportPath}</destFile>
157 <id>ecomp-releases</id>
158 <name>Release Repository</name>
159 <url>${nexus.proxy}/content/repositories/releases/</url>
162 <id>ecomp-snapshots</id>
163 <name>Snapshots Repository</name>
164 <url>${nexus.proxy}/content/repositories/snapshots/</url>
167 <id>ecomp-public</id>
168 <name>Public Repository</name>
169 <url>${nexus.proxy}/content/repositories/public/</url>
172 <distributionManagement>
174 <id>ecomp-releases</id>
175 <name>Release Repository</name>
176 <url>${nexus.proxy}/content/repositories/releases/</url>
179 <id>ecomp-snapshots</id>
180 <name>Snapshot Repository</name>
181 <url>${nexus.proxy}/content/repositories/snapshots/</url>
182 </snapshotRepository>
185 <url>dav:${nexus.proxy}${sitePath}</url>
187 </distributionManagement>