Add activity spec code
[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
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>
30     <artifactId>workflow-designer-parent</artifactId>
31     <version>1.3.0-SNAPSHOT</version>
32     <packaging>pom</packaging>
33
34     <properties>
35         <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>
40         <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>
46         <staging.profile.id>176c31dfe190a</staging.profile.id>
47     </properties>
48
49     <modules>
50         <module>workflow-designer-init</module>
51         <module>workflow-designer-be</module>
52         <module>workflow-designer-ui</module>
53     </modules>
54
55     <build>
56         <pluginManagement>
57             <plugins>
58                 <plugin>
59                     <groupId>io.fabric8</groupId>
60                     <artifactId>docker-maven-plugin</artifactId>
61                     <version>0.23.0</version>
62                     <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>
88                 </plugin>
89             </plugins>
90         </pluginManagement>
91         <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>
98                     <serverId>ecomp-staging</serverId>
99                     <nexusUrl>${nexus.proxy}</nexusUrl>
100                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
101                 </configuration>
102             </plugin>
103         </plugins>
104     </build>
105
106     <repositories>
107         <repository>
108             <id>ecomp-releases</id>
109             <name>Release Repository</name>
110             <url>${nexus.proxy}/content/repositories/releases/</url>
111         </repository>
112         <repository>
113             <id>ecomp-snapshots</id>
114             <name>Snapshots Repository</name>
115             <url>${nexus.proxy}/content/repositories/snapshots/</url>
116         </repository>
117         <repository>
118             <id>ecomp-public</id>
119             <name>Public Repository</name>
120             <url>${nexus.proxy}/content/repositories/public/</url>
121         </repository>
122     </repositories>
123     <distributionManagement>
124         <repository>
125             <id>ecomp-releases</id>
126             <name>Release Repository</name>
127             <url>${nexus.proxy}/content/repositories/releases/</url>
128         </repository>
129         <snapshotRepository>
130             <id>ecomp-snapshots</id>
131             <name>Snapshot Repository</name>
132             <url>${nexus.proxy}/content/repositories/snapshots/</url>
133         </snapshotRepository>
134         <site>
135             <id>ecomp-site</id>
136             <url>dav:${nexus.proxy}${sitePath}</url>
137         </site>
138     </distributionManagement>
139
140 </project>