blob: 1df44b2777acc7c7a81ac77cef65fa26d06f7f75 [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>
31 <version>1.3.0-SNAPSHOT</version>
YuanHu77acffc2018-02-09 16:13:05 +080032 <packaging>pom</packaging>
Lvbo163f721b1a2017-08-23 17:27:33 +080033
Lvbo163091eb472017-09-15 17:36:41 +080034 <properties>
vempoa52d50e2018-07-24 17:34:04 +030035 <maven.compiler.source>1.8</maven.compiler.source>
36 <maven.compiler.target>1.8</maven.compiler.target>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39 <onap.version>1.3.0-SNAPSHOT</onap.version>
vempoa52d50e2018-07-24 17:34:04 +030040 <docker.optimize>true</docker.optimize>
41 <docker.username>docker</docker.username>
42 <docker.password>docker</docker.password>
43 <nexus.registry>nexus3.onap.org:10001</nexus.registry>
44 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
45 <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath>
vempoe0f514c2018-07-25 17:27:49 +030046 <staging.profile.id>176c31dfe190a</staging.profile.id>
Lvbo163091eb472017-09-15 17:36:41 +080047 </properties>
vempoa52d50e2018-07-24 17:34:04 +030048
49 <modules>
50 <module>workflow-designer-init</module>
51 <module>workflow-designer-be</module>
52 <module>workflow-designer-ui</module>
53 </modules>
54
Lvbo163091eb472017-09-15 17:36:41 +080055 <build>
56 <pluginManagement>
57 <plugins>
58 <plugin>
vempoa52d50e2018-07-24 17:34:04 +030059 <groupId>io.fabric8</groupId>
60 <artifactId>docker-maven-plugin</artifactId>
vempoe0f514c2018-07-25 17:27:49 +030061 <version>0.23.0</version>
vempoa52d50e2018-07-24 17:34:04 +030062 <configuration>
63 <verbose>false</verbose>
64 <registry>${nexus.registry}</registry>
65 <authConfig>
66 <pull>
67 <username>${docker.username}</username>
68 <password>${docker.password}</password>
69 </pull>
70 </authConfig>
71 </configuration>
72 <executions>
73 <execution>
74 <id>docker-build</id>
75 <phase>install</phase>
76 <goals>
77 <goal>build</goal>
78 </goals>
79 </execution>
80 <execution>
81 <id>push-images</id>
82 <phase>deploy</phase>
83 <goals>
84 <goal>push</goal>
85 </goals>
86 </execution>
87 </executions>
Lvbo163091eb472017-09-15 17:36:41 +080088 </plugin>
89 </plugins>
90 </pluginManagement>
vempoe0f514c2018-07-25 17:27:49 +030091 <plugins>
92 <plugin>
93 <groupId>org.sonatype.plugins</groupId>
94 <artifactId>nexus-staging-maven-plugin</artifactId>
95 <version>1.6.8</version>
96 <extensions>true</extensions>
97 <configuration>
vempob4e10912018-07-26 12:10:37 +030098 <serverId>ecomp-staging</serverId>
vempoe0f514c2018-07-25 17:27:49 +030099 <nexusUrl>${nexus.proxy}</nexusUrl>
100 <stagingProfileId>${staging.profile.id}</stagingProfileId>
101 </configuration>
102 </plugin>
103 </plugins>
Lvbo163091eb472017-09-15 17:36:41 +0800104 </build>
vempoa52d50e2018-07-24 17:34:04 +0300105
106 <repositories>
107 <repository>
vempob4e10912018-07-26 12:10:37 +0300108 <id>ecomp-releases</id>
vempoa52d50e2018-07-24 17:34:04 +0300109 <name>Release Repository</name>
110 <url>${nexus.proxy}/content/repositories/releases/</url>
111 </repository>
112 <repository>
vempob4e10912018-07-26 12:10:37 +0300113 <id>ecomp-snapshots</id>
vempoa52d50e2018-07-24 17:34:04 +0300114 <name>Snapshots Repository</name>
115 <url>${nexus.proxy}/content/repositories/snapshots/</url>
116 </repository>
117 <repository>
vempob4e10912018-07-26 12:10:37 +0300118 <id>ecomp-public</id>
vempoa52d50e2018-07-24 17:34:04 +0300119 <name>Public Repository</name>
120 <url>${nexus.proxy}/content/repositories/public/</url>
121 </repository>
122 </repositories>
123 <distributionManagement>
124 <repository>
vempob4e10912018-07-26 12:10:37 +0300125 <id>ecomp-releases</id>
vempoa52d50e2018-07-24 17:34:04 +0300126 <name>Release Repository</name>
127 <url>${nexus.proxy}/content/repositories/releases/</url>
128 </repository>
129 <snapshotRepository>
vempob4e10912018-07-26 12:10:37 +0300130 <id>ecomp-snapshots</id>
vempoa52d50e2018-07-24 17:34:04 +0300131 <name>Snapshot Repository</name>
132 <url>${nexus.proxy}/content/repositories/snapshots/</url>
133 </snapshotRepository>
134 <site>
vempob4e10912018-07-26 12:10:37 +0300135 <id>ecomp-site</id>
vempoa52d50e2018-07-24 17:34:04 +0300136 <url>dav:${nexus.proxy}${sitePath}</url>
137 </site>
138 </distributionManagement>
139
140</project>