blob: 33f56e87b626876955a67cd53c606ac4f5773c7f [file] [log] [blame]
Lvbo163f721b1a2017-08-23 17:27:33 +08001<!--
vempoa52d50e2018-07-24 17:34:04 +03002 ~ Copyright © 2016-2018 European Support Limited
3 ~
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
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
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.
15 -->
16
17<project
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">
Lvbo163f721b1a2017-08-23 17:27:33 +080021
22 <modelVersion>4.0.0</modelVersion>
vempob4e10912018-07-26 12:10:37 +030023
24 <!--
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.
28 -->
29 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
vasraz6dc58fd2019-10-02 12:08:49 +010030 <artifactId>sdc-workflow-designer-parent</artifactId>
Gildas Lanilis67ee0ef2018-09-05 16:42:39 -070031 <name>sdc-sdc-workflow-designer</name>
vasraz6dc58fd2019-10-02 12:08:49 +010032 <version>1.7.0-SNAPSHOT</version>
YuanHu77acffc2018-02-09 16:13:05 +080033 <packaging>pom</packaging>
Lvbo163f721b1a2017-08-23 17:27:33 +080034
Lvbo163091eb472017-09-15 17:36:41 +080035 <properties>
Tomasz Golabek9290ef82019-07-10 16:35:51 +020036 <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
vempoa52d50e2018-07-24 17:34:04 +030037 <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>
vempoe2d83842018-10-25 07:28:35 +030041 <onap.version>1.3.0</onap.version>
vempoa52d50e2018-07-24 17:34:04 +030042 <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>
Ofir Sonsino9e8232b2020-02-16 18:57:06 +020048
49 <!-- Sonar properties -->
50 <sonar.coverage.jacoco.xmlReportPaths>
51 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
52 </sonar.coverage.jacoco.xmlReportPaths>
Lvbo163091eb472017-09-15 17:36:41 +080053 </properties>
vempoa52d50e2018-07-24 17:34:04 +030054
Tomasz Golabek9290ef82019-07-10 16:35:51 +020055 <parent>
56 <groupId>org.onap.oparent</groupId>
57 <artifactId>oparent</artifactId>
58 <version>2.0.0</version>
59 <relativePath/>
60 </parent>
61
vempoa52d50e2018-07-24 17:34:04 +030062 <modules>
vasraz6dc58fd2019-10-02 12:08:49 +010063 <module>sdc-workflow-designer-init</module>
64 <module>sdc-workflow-designer-be</module>
65 <module>sdc-workflow-designer-ui</module>
vempoa52d50e2018-07-24 17:34:04 +030066 </modules>
67
Lvbo163091eb472017-09-15 17:36:41 +080068 <build>
69 <pluginManagement>
70 <plugins>
71 <plugin>
ayalaben75cdbb42018-09-27 14:27:45 +030072 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-surefire-plugin</artifactId>
74 <version>2.22.0</version>
75 </plugin>
76 <plugin>
77 <groupId>org.jacoco</groupId>
78 <artifactId>jacoco-maven-plugin</artifactId>
79 <version>0.8.2</version>
80 </plugin>
81 <plugin>
vempoa52d50e2018-07-24 17:34:04 +030082 <groupId>io.fabric8</groupId>
83 <artifactId>docker-maven-plugin</artifactId>
avigaffa9ba698b2018-12-27 15:18:07 +020084 <version>0.28.0</version>
vempoa52d50e2018-07-24 17:34:04 +030085 <configuration>
vempoc6789472018-12-31 17:19:50 +020086 <verbose>false</verbose>
vempoa52d50e2018-07-24 17:34:04 +030087 <registry>${nexus.registry}</registry>
88 <authConfig>
89 <pull>
90 <username>${docker.username}</username>
91 <password>${docker.password}</password>
92 </pull>
93 </authConfig>
94 </configuration>
95 <executions>
96 <execution>
97 <id>docker-build</id>
98 <phase>install</phase>
99 <goals>
100 <goal>build</goal>
101 </goals>
102 </execution>
103 <execution>
104 <id>push-images</id>
105 <phase>deploy</phase>
106 <goals>
107 <goal>push</goal>
108 </goals>
109 </execution>
110 </executions>
Lvbo163091eb472017-09-15 17:36:41 +0800111 </plugin>
112 </plugins>
113 </pluginManagement>
vempoe0f514c2018-07-25 17:27:49 +0300114 <plugins>
115 <plugin>
Tomasz Golabek9290ef82019-07-10 16:35:51 +0200116 <artifactId>maven-checkstyle-plugin</artifactId>
117 <version>${maven-checkstyle-plugin.version}</version>
118 <configuration>
119 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
120 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
121 </configuration>
122 </plugin>
123 <plugin>
ayalaben75cdbb42018-09-27 14:27:45 +0300124 <groupId>org.jacoco</groupId>
125 <artifactId>jacoco-maven-plugin</artifactId>
126 <executions>
127 <execution>
128 <id>default-prepare-agent</id>
129 <goals>
130 <goal>prepare-agent</goal>
131 </goals>
132 </execution>
133 <execution>
134 <id>report</id>
135 <phase>prepare-package</phase>
136 <goals>
137 <goal>report</goal>
138 </goals>
139 </execution>
140 <execution>
141 <id>post-unit-test</id>
142 <phase>test</phase>
143 <goals>
144 <goal>report</goal>
145 </goals>
146 <configuration>
Ofir Sonsino9e8232b2020-02-16 18:57:06 +0200147 <destFile>${sonar.jacoco.reportPath}</destFile>
ayalaben75cdbb42018-09-27 14:27:45 +0300148 </configuration>
149 </execution>
150 </executions>
151 </plugin>
vempoe0f514c2018-07-25 17:27:49 +0300152 </plugins>
Lvbo163091eb472017-09-15 17:36:41 +0800153 </build>
vempoa52d50e2018-07-24 17:34:04 +0300154
155 <repositories>
156 <repository>
vempob4e10912018-07-26 12:10:37 +0300157 <id>ecomp-releases</id>
vempoa52d50e2018-07-24 17:34:04 +0300158 <name>Release Repository</name>
159 <url>${nexus.proxy}/content/repositories/releases/</url>
160 </repository>
161 <repository>
vempob4e10912018-07-26 12:10:37 +0300162 <id>ecomp-snapshots</id>
vempoa52d50e2018-07-24 17:34:04 +0300163 <name>Snapshots Repository</name>
164 <url>${nexus.proxy}/content/repositories/snapshots/</url>
165 </repository>
166 <repository>
vempob4e10912018-07-26 12:10:37 +0300167 <id>ecomp-public</id>
vempoa52d50e2018-07-24 17:34:04 +0300168 <name>Public Repository</name>
169 <url>${nexus.proxy}/content/repositories/public/</url>
170 </repository>
171 </repositories>
172 <distributionManagement>
173 <repository>
vempob4e10912018-07-26 12:10:37 +0300174 <id>ecomp-releases</id>
vempoa52d50e2018-07-24 17:34:04 +0300175 <name>Release Repository</name>
176 <url>${nexus.proxy}/content/repositories/releases/</url>
177 </repository>
178 <snapshotRepository>
vempob4e10912018-07-26 12:10:37 +0300179 <id>ecomp-snapshots</id>
vempoa52d50e2018-07-24 17:34:04 +0300180 <name>Snapshot Repository</name>
181 <url>${nexus.proxy}/content/repositories/snapshots/</url>
182 </snapshotRepository>
183 <site>
vempob4e10912018-07-26 12:10:37 +0300184 <id>ecomp-site</id>
vempoa52d50e2018-07-24 17:34:04 +0300185 <url>dav:${nexus.proxy}${sitePath}</url>
186 </site>
187 </distributionManagement>
188
189</project>