blob: c7a605be75fef5144c987a4d567318f38216a045 [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>
vempoa52d50e2018-07-24 17:34:04 +030030 <artifactId>workflow-designer-parent</artifactId>
Gildas Lanilis67ee0ef2018-09-05 16:42:39 -070031 <name>sdc-sdc-workflow-designer</name>
vempob2a32bc2018-11-19 11:07:28 +020032 <version>1.4.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>
ayalaben75cdbb42018-09-27 14:27:45 +030036 <jacoco.skip>true</jacoco.skip>
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>
vempoe0f514c2018-07-25 17:27:49 +030048 <staging.profile.id>176c31dfe190a</staging.profile.id>
Lvbo163091eb472017-09-15 17:36:41 +080049 </properties>
vempoa52d50e2018-07-24 17:34:04 +030050
51 <modules>
52 <module>workflow-designer-init</module>
53 <module>workflow-designer-be</module>
54 <module>workflow-designer-ui</module>
55 </modules>
56
Lvbo163091eb472017-09-15 17:36:41 +080057 <build>
58 <pluginManagement>
59 <plugins>
60 <plugin>
ayalaben75cdbb42018-09-27 14:27:45 +030061 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-surefire-plugin</artifactId>
63 <version>2.22.0</version>
64 </plugin>
65 <plugin>
66 <groupId>org.jacoco</groupId>
67 <artifactId>jacoco-maven-plugin</artifactId>
68 <version>0.8.2</version>
69 </plugin>
70 <plugin>
vempoa52d50e2018-07-24 17:34:04 +030071 <groupId>io.fabric8</groupId>
72 <artifactId>docker-maven-plugin</artifactId>
avigaffa9ba698b2018-12-27 15:18:07 +020073 <version>0.28.0</version>
vempoa52d50e2018-07-24 17:34:04 +030074 <configuration>
vempoc6789472018-12-31 17:19:50 +020075 <verbose>false</verbose>
vempoa52d50e2018-07-24 17:34:04 +030076 <registry>${nexus.registry}</registry>
77 <authConfig>
78 <pull>
79 <username>${docker.username}</username>
80 <password>${docker.password}</password>
81 </pull>
82 </authConfig>
83 </configuration>
84 <executions>
85 <execution>
86 <id>docker-build</id>
87 <phase>install</phase>
88 <goals>
89 <goal>build</goal>
90 </goals>
91 </execution>
92 <execution>
93 <id>push-images</id>
94 <phase>deploy</phase>
95 <goals>
96 <goal>push</goal>
97 </goals>
98 </execution>
99 </executions>
Lvbo163091eb472017-09-15 17:36:41 +0800100 </plugin>
101 </plugins>
102 </pluginManagement>
vempoe0f514c2018-07-25 17:27:49 +0300103 <plugins>
104 <plugin>
ayalaben75cdbb42018-09-27 14:27:45 +0300105 <groupId>org.jacoco</groupId>
106 <artifactId>jacoco-maven-plugin</artifactId>
107 <executions>
108 <execution>
109 <id>default-prepare-agent</id>
110 <goals>
111 <goal>prepare-agent</goal>
112 </goals>
113 </execution>
114 <execution>
115 <id>report</id>
116 <phase>prepare-package</phase>
117 <goals>
118 <goal>report</goal>
119 </goals>
120 </execution>
121 <execution>
122 <id>post-unit-test</id>
123 <phase>test</phase>
124 <goals>
125 <goal>report</goal>
126 </goals>
127 <configuration>
128 <dataFile>target/jacoco.exec</dataFile>
129 <outputDirectory>target/jacoco-ut</outputDirectory>
130 </configuration>
131 </execution>
132 </executions>
133 </plugin>
134
135 <plugin>
vempoe0f514c2018-07-25 17:27:49 +0300136 <groupId>org.sonatype.plugins</groupId>
137 <artifactId>nexus-staging-maven-plugin</artifactId>
138 <version>1.6.8</version>
139 <extensions>true</extensions>
140 <configuration>
vempob4e10912018-07-26 12:10:37 +0300141 <serverId>ecomp-staging</serverId>
vempoe0f514c2018-07-25 17:27:49 +0300142 <nexusUrl>${nexus.proxy}</nexusUrl>
143 <stagingProfileId>${staging.profile.id}</stagingProfileId>
144 </configuration>
145 </plugin>
146 </plugins>
Lvbo163091eb472017-09-15 17:36:41 +0800147 </build>
vempoa52d50e2018-07-24 17:34:04 +0300148
149 <repositories>
150 <repository>
vempob4e10912018-07-26 12:10:37 +0300151 <id>ecomp-releases</id>
vempoa52d50e2018-07-24 17:34:04 +0300152 <name>Release Repository</name>
153 <url>${nexus.proxy}/content/repositories/releases/</url>
154 </repository>
155 <repository>
vempob4e10912018-07-26 12:10:37 +0300156 <id>ecomp-snapshots</id>
vempoa52d50e2018-07-24 17:34:04 +0300157 <name>Snapshots Repository</name>
158 <url>${nexus.proxy}/content/repositories/snapshots/</url>
159 </repository>
160 <repository>
vempob4e10912018-07-26 12:10:37 +0300161 <id>ecomp-public</id>
vempoa52d50e2018-07-24 17:34:04 +0300162 <name>Public Repository</name>
163 <url>${nexus.proxy}/content/repositories/public/</url>
164 </repository>
165 </repositories>
166 <distributionManagement>
167 <repository>
vempob4e10912018-07-26 12:10:37 +0300168 <id>ecomp-releases</id>
vempoa52d50e2018-07-24 17:34:04 +0300169 <name>Release Repository</name>
170 <url>${nexus.proxy}/content/repositories/releases/</url>
171 </repository>
172 <snapshotRepository>
vempob4e10912018-07-26 12:10:37 +0300173 <id>ecomp-snapshots</id>
vempoa52d50e2018-07-24 17:34:04 +0300174 <name>Snapshot Repository</name>
175 <url>${nexus.proxy}/content/repositories/snapshots/</url>
176 </snapshotRepository>
177 <site>
vempob4e10912018-07-26 12:10:37 +0300178 <id>ecomp-site</id>
vempoa52d50e2018-07-24 17:34:04 +0300179 <url>dav:${nexus.proxy}${sitePath}</url>
180 </site>
181 </distributionManagement>
182
183</project>