Bump version to 1.5.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.5.1-SNAPSHOT</version>
33     <packaging>pom</packaging>
34
35     <properties>
36         <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
37         <jacoco.skip>true</jacoco.skip>
38         <maven.compiler.source>1.8</maven.compiler.source>
39         <maven.compiler.target>1.8</maven.compiler.target>
40         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42         <onap.version>1.3.0</onap.version>
43         <docker.optimize>true</docker.optimize>
44         <docker.username>docker</docker.username>
45         <docker.password>docker</docker.password>
46         <nexus.registry>nexus3.onap.org:10001</nexus.registry>
47         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
48         <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath>
49     </properties>
50
51     <parent>
52         <groupId>org.onap.oparent</groupId>
53         <artifactId>oparent</artifactId>
54         <version>2.0.0</version>
55         <relativePath/>
56     </parent>
57
58     <modules>
59         <module>workflow-designer-init</module>
60         <module>workflow-designer-be</module>
61         <module>workflow-designer-ui</module>
62     </modules>
63
64     <build>
65         <pluginManagement>
66             <plugins>
67                 <plugin>
68                     <groupId>org.apache.maven.plugins</groupId>
69                     <artifactId>maven-surefire-plugin</artifactId>
70                     <version>2.22.0</version>
71                 </plugin>
72                 <plugin>
73                     <groupId>org.jacoco</groupId>
74                     <artifactId>jacoco-maven-plugin</artifactId>
75                     <version>0.8.2</version>
76                 </plugin>
77                 <plugin>
78                     <groupId>io.fabric8</groupId>
79                     <artifactId>docker-maven-plugin</artifactId>
80                     <version>0.28.0</version>
81                     <configuration>
82                         <verbose>false</verbose>
83                         <registry>${nexus.registry}</registry>
84                         <authConfig>
85                             <pull>
86                                 <username>${docker.username}</username>
87                                 <password>${docker.password}</password>
88                             </pull>
89                         </authConfig>
90                     </configuration>
91                     <executions>
92                         <execution>
93                             <id>docker-build</id>
94                             <phase>install</phase>
95                             <goals>
96                                 <goal>build</goal>
97                             </goals>
98                         </execution>
99                         <execution>
100                             <id>push-images</id>
101                             <phase>deploy</phase>
102                             <goals>
103                                 <goal>push</goal>
104                             </goals>
105                         </execution>
106                     </executions>
107                 </plugin>
108             </plugins>
109         </pluginManagement>
110         <plugins>
111             <plugin>
112                 <artifactId>maven-checkstyle-plugin</artifactId>
113                 <version>${maven-checkstyle-plugin.version}</version>
114                 <configuration>
115                     <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
116                     <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
117                 </configuration>
118             </plugin>
119             <plugin>
120                 <groupId>org.jacoco</groupId>
121                 <artifactId>jacoco-maven-plugin</artifactId>
122                 <executions>
123                     <execution>
124                         <id>default-prepare-agent</id>
125                         <goals>
126                             <goal>prepare-agent</goal>
127                         </goals>
128                     </execution>
129                     <execution>
130                         <id>report</id>
131                         <phase>prepare-package</phase>
132                         <goals>
133                             <goal>report</goal>
134                         </goals>
135                     </execution>
136                     <execution>
137                         <id>post-unit-test</id>
138                         <phase>test</phase>
139                         <goals>
140                             <goal>report</goal>
141                         </goals>
142                         <configuration>
143                             <dataFile>target/jacoco.exec</dataFile>
144                             <outputDirectory>target/jacoco-ut</outputDirectory>
145                         </configuration>
146                     </execution>
147                 </executions>
148             </plugin>
149         </plugins>
150     </build>
151
152     <repositories>
153         <repository>
154             <id>ecomp-releases</id>
155             <name>Release Repository</name>
156             <url>${nexus.proxy}/content/repositories/releases/</url>
157         </repository>
158         <repository>
159             <id>ecomp-snapshots</id>
160             <name>Snapshots Repository</name>
161             <url>${nexus.proxy}/content/repositories/snapshots/</url>
162         </repository>
163         <repository>
164             <id>ecomp-public</id>
165             <name>Public Repository</name>
166             <url>${nexus.proxy}/content/repositories/public/</url>
167         </repository>
168     </repositories>
169     <distributionManagement>
170         <repository>
171             <id>ecomp-releases</id>
172             <name>Release Repository</name>
173             <url>${nexus.proxy}/content/repositories/releases/</url>
174         </repository>
175         <snapshotRepository>
176             <id>ecomp-snapshots</id>
177             <name>Snapshot Repository</name>
178             <url>${nexus.proxy}/content/repositories/snapshots/</url>
179         </snapshotRepository>
180         <site>
181             <id>ecomp-site</id>
182             <url>dav:${nexus.proxy}${sitePath}</url>
183         </site>
184     </distributionManagement>
185
186 </project>