Merge "Expand workflow versions"
[sdc/sdc-workflow-designer.git] / pom.xml
1 <!--
2   ~ 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">
21
22     <modelVersion>4.0.0</modelVersion>
23     <groupId>org.onap.sdc.workflow_designer</groupId>
24     <artifactId>workflow-designer-parent</artifactId>
25     <version>1.3.0-SNAPSHOT</version>
26     <packaging>pom</packaging>
27
28     <properties>
29         <maven.compiler.source>1.8</maven.compiler.source>
30         <maven.compiler.target>1.8</maven.compiler.target>
31         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
32         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
33         <onap.version>1.3.0-SNAPSHOT</onap.version>
34         <docker.optimize>true</docker.optimize>
35         <docker.username>docker</docker.username>
36         <docker.password>docker</docker.password>
37         <nexus.registry>nexus3.onap.org:10001</nexus.registry>
38         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
39         <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath>
40         <staging.profile.id>176c31dfe190a</staging.profile.id>
41     </properties>
42
43     <modules>
44         <module>workflow-designer-init</module>
45         <module>workflow-designer-be</module>
46         <module>workflow-designer-ui</module>
47     </modules>
48
49     <build>
50         <pluginManagement>
51             <plugins>
52                 <plugin>
53                     <groupId>io.fabric8</groupId>
54                     <artifactId>docker-maven-plugin</artifactId>
55                     <version>0.23.0</version>
56                     <configuration>
57                         <verbose>false</verbose>
58                         <registry>${nexus.registry}</registry>
59                         <authConfig>
60                             <pull>
61                                 <username>${docker.username}</username>
62                                 <password>${docker.password}</password>
63                             </pull>
64                         </authConfig>
65                     </configuration>
66                     <executions>
67                         <execution>
68                             <id>docker-build</id>
69                             <phase>install</phase>
70                             <goals>
71                                 <goal>build</goal>
72                             </goals>
73                         </execution>
74                         <execution>
75                             <id>push-images</id>
76                             <phase>deploy</phase>
77                             <goals>
78                                 <goal>push</goal>
79                             </goals>
80                         </execution>
81                     </executions>
82                 </plugin>
83             </plugins>
84         </pluginManagement>
85         <plugins>
86             <plugin>
87                 <groupId>org.sonatype.plugins</groupId>
88                 <artifactId>nexus-staging-maven-plugin</artifactId>
89                 <version>1.6.8</version>
90                 <extensions>true</extensions>
91                 <configuration>
92                     <serverId>onap-staging</serverId>
93                     <nexusUrl>${nexus.proxy}</nexusUrl>
94                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
95                 </configuration>
96             </plugin>
97         </plugins>
98     </build>
99
100     <repositories>
101         <repository>
102             <id>onap-releases</id>
103             <name>Release Repository</name>
104             <url>${nexus.proxy}/content/repositories/releases/</url>
105         </repository>
106         <repository>
107             <id>onap-snapshots</id>
108             <name>Snapshots Repository</name>
109             <url>${nexus.proxy}/content/repositories/snapshots/</url>
110         </repository>
111         <repository>
112             <id>onap-public</id>
113             <name>Public Repository</name>
114             <url>${nexus.proxy}/content/repositories/public/</url>
115         </repository>
116     </repositories>
117     <distributionManagement>
118         <repository>
119             <id>onap-releases</id>
120             <name>Release Repository</name>
121             <url>${nexus.proxy}/content/repositories/releases/</url>
122         </repository>
123         <snapshotRepository>
124             <id>onap-snapshots</id>
125             <name>Snapshot Repository</name>
126             <url>${nexus.proxy}/content/repositories/snapshots/</url>
127         </snapshotRepository>
128         <site>
129             <id>onap-site</id>
130             <url>dav:${nexus.proxy}${sitePath}</url>
131         </site>
132     </distributionManagement>
133
134 </project>