Maven staging plugin removed
[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.0-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     </properties>
49
50     <modules>
51         <module>workflow-designer-init</module>
52         <module>workflow-designer-be</module>
53         <module>workflow-designer-ui</module>
54     </modules>
55
56     <build>
57         <pluginManagement>
58             <plugins>
59                 <plugin>
60                     <groupId>org.apache.maven.plugins</groupId>
61                     <artifactId>maven-surefire-plugin</artifactId>
62                     <version>2.22.0</version>
63                 </plugin>
64                 <plugin>
65                     <groupId>org.jacoco</groupId>
66                     <artifactId>jacoco-maven-plugin</artifactId>
67                     <version>0.8.2</version>
68                 </plugin>
69                 <plugin>
70                     <groupId>io.fabric8</groupId>
71                     <artifactId>docker-maven-plugin</artifactId>
72                     <version>0.28.0</version>
73                     <configuration>
74                         <verbose>false</verbose>
75                         <registry>${nexus.registry}</registry>
76                         <authConfig>
77                             <pull>
78                                 <username>${docker.username}</username>
79                                 <password>${docker.password}</password>
80                             </pull>
81                         </authConfig>
82                     </configuration>
83                     <executions>
84                         <execution>
85                             <id>docker-build</id>
86                             <phase>install</phase>
87                             <goals>
88                                 <goal>build</goal>
89                             </goals>
90                         </execution>
91                         <execution>
92                             <id>push-images</id>
93                             <phase>deploy</phase>
94                             <goals>
95                                 <goal>push</goal>
96                             </goals>
97                         </execution>
98                     </executions>
99                 </plugin>
100             </plugins>
101         </pluginManagement>
102         <plugins>
103             <plugin>
104                 <groupId>org.jacoco</groupId>
105                 <artifactId>jacoco-maven-plugin</artifactId>
106                 <executions>
107                     <execution>
108                         <id>default-prepare-agent</id>
109                         <goals>
110                             <goal>prepare-agent</goal>
111                         </goals>
112                     </execution>
113                     <execution>
114                         <id>report</id>
115                         <phase>prepare-package</phase>
116                         <goals>
117                             <goal>report</goal>
118                         </goals>
119                     </execution>
120                     <execution>
121                         <id>post-unit-test</id>
122                         <phase>test</phase>
123                         <goals>
124                             <goal>report</goal>
125                         </goals>
126                         <configuration>
127                             <dataFile>target/jacoco.exec</dataFile>
128                             <outputDirectory>target/jacoco-ut</outputDirectory>
129                         </configuration>
130                     </execution>
131                 </executions>
132             </plugin>
133         </plugins>
134     </build>
135
136     <repositories>
137         <repository>
138             <id>ecomp-releases</id>
139             <name>Release Repository</name>
140             <url>${nexus.proxy}/content/repositories/releases/</url>
141         </repository>
142         <repository>
143             <id>ecomp-snapshots</id>
144             <name>Snapshots Repository</name>
145             <url>${nexus.proxy}/content/repositories/snapshots/</url>
146         </repository>
147         <repository>
148             <id>ecomp-public</id>
149             <name>Public Repository</name>
150             <url>${nexus.proxy}/content/repositories/public/</url>
151         </repository>
152     </repositories>
153     <distributionManagement>
154         <repository>
155             <id>ecomp-releases</id>
156             <name>Release Repository</name>
157             <url>${nexus.proxy}/content/repositories/releases/</url>
158         </repository>
159         <snapshotRepository>
160             <id>ecomp-snapshots</id>
161             <name>Snapshot Repository</name>
162             <url>${nexus.proxy}/content/repositories/snapshots/</url>
163         </snapshotRepository>
164         <site>
165             <id>ecomp-site</id>
166             <url>dav:${nexus.proxy}${sitePath}</url>
167         </site>
168     </distributionManagement>
169
170 </project>