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