Bumped up version to 1.4.1
[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     <name>sdc-sdc-workflow-designer</name>
32     <version>1.4.1-SNAPSHOT</version>
33     <packaging>pom</packaging>
34
35     <properties>
36         <jacoco.skip>true</jacoco.skip>
37         <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>
41         <onap.version>1.3.0</onap.version>
42         <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>
48         <staging.profile.id>176c31dfe190a</staging.profile.id>
49     </properties>
50
51     <modules>
52         <module>workflow-designer-init</module>
53         <module>workflow-designer-be</module>
54         <module>workflow-designer-ui</module>
55     </modules>
56
57     <build>
58         <pluginManagement>
59             <plugins>
60                 <plugin>
61                     <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>
71                     <groupId>io.fabric8</groupId>
72                     <artifactId>docker-maven-plugin</artifactId>
73                     <version>0.28.0</version>
74                     <configuration>
75                         <verbose>false</verbose>
76                         <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>
100                 </plugin>
101             </plugins>
102         </pluginManagement>
103         <plugins>
104             <plugin>
105                 <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>
136                 <groupId>org.sonatype.plugins</groupId>
137                 <artifactId>nexus-staging-maven-plugin</artifactId>
138                 <version>1.6.8</version>
139                 <extensions>true</extensions>
140                 <configuration>
141                     <serverId>ecomp-staging</serverId>
142                     <nexusUrl>${nexus.proxy}</nexusUrl>
143                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
144                 </configuration>
145             </plugin>
146         </plugins>
147     </build>
148
149     <repositories>
150         <repository>
151             <id>ecomp-releases</id>
152             <name>Release Repository</name>
153             <url>${nexus.proxy}/content/repositories/releases/</url>
154         </repository>
155         <repository>
156             <id>ecomp-snapshots</id>
157             <name>Snapshots Repository</name>
158             <url>${nexus.proxy}/content/repositories/snapshots/</url>
159         </repository>
160         <repository>
161             <id>ecomp-public</id>
162             <name>Public Repository</name>
163             <url>${nexus.proxy}/content/repositories/public/</url>
164         </repository>
165     </repositories>
166     <distributionManagement>
167         <repository>
168             <id>ecomp-releases</id>
169             <name>Release Repository</name>
170             <url>${nexus.proxy}/content/repositories/releases/</url>
171         </repository>
172         <snapshotRepository>
173             <id>ecomp-snapshots</id>
174             <name>Snapshot Repository</name>
175             <url>${nexus.proxy}/content/repositories/snapshots/</url>
176         </snapshotRepository>
177         <site>
178             <id>ecomp-site</id>
179             <url>dav:${nexus.proxy}${sitePath}</url>
180         </site>
181     </distributionManagement>
182
183 </project>