Clean Sonar project name
[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.3.0-SNAPSHOT</version>
33     <packaging>pom</packaging>
34
35     <properties>
36         <maven.compiler.source>1.8</maven.compiler.source>
37         <maven.compiler.target>1.8</maven.compiler.target>
38         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40         <onap.version>1.3.0-SNAPSHOT</onap.version>
41         <docker.optimize>true</docker.optimize>
42         <docker.username>docker</docker.username>
43         <docker.password>docker</docker.password>
44         <nexus.registry>nexus3.onap.org:10001</nexus.registry>
45         <nexus.proxy>https://nexus.onap.org</nexus.proxy>
46         <sitePath>/content/sites/site/org/onap/sdc/workflow/${project.version}</sitePath>
47         <staging.profile.id>176c31dfe190a</staging.profile.id>
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>io.fabric8</groupId>
61                     <artifactId>docker-maven-plugin</artifactId>
62                     <version>0.23.0</version>
63                     <configuration>
64                         <verbose>false</verbose>
65                         <registry>${nexus.registry}</registry>
66                         <authConfig>
67                             <pull>
68                                 <username>${docker.username}</username>
69                                 <password>${docker.password}</password>
70                             </pull>
71                         </authConfig>
72                     </configuration>
73                     <executions>
74                         <execution>
75                             <id>docker-build</id>
76                             <phase>install</phase>
77                             <goals>
78                                 <goal>build</goal>
79                             </goals>
80                         </execution>
81                         <execution>
82                             <id>push-images</id>
83                             <phase>deploy</phase>
84                             <goals>
85                                 <goal>push</goal>
86                             </goals>
87                         </execution>
88                     </executions>
89                 </plugin>
90             </plugins>
91         </pluginManagement>
92         <plugins>
93             <plugin>
94                 <groupId>org.sonatype.plugins</groupId>
95                 <artifactId>nexus-staging-maven-plugin</artifactId>
96                 <version>1.6.8</version>
97                 <extensions>true</extensions>
98                 <configuration>
99                     <serverId>ecomp-staging</serverId>
100                     <nexusUrl>${nexus.proxy}</nexusUrl>
101                     <stagingProfileId>${staging.profile.id}</stagingProfileId>
102                 </configuration>
103             </plugin>
104         </plugins>
105     </build>
106
107     <repositories>
108         <repository>
109             <id>ecomp-releases</id>
110             <name>Release Repository</name>
111             <url>${nexus.proxy}/content/repositories/releases/</url>
112         </repository>
113         <repository>
114             <id>ecomp-snapshots</id>
115             <name>Snapshots Repository</name>
116             <url>${nexus.proxy}/content/repositories/snapshots/</url>
117         </repository>
118         <repository>
119             <id>ecomp-public</id>
120             <name>Public Repository</name>
121             <url>${nexus.proxy}/content/repositories/public/</url>
122         </repository>
123     </repositories>
124     <distributionManagement>
125         <repository>
126             <id>ecomp-releases</id>
127             <name>Release Repository</name>
128             <url>${nexus.proxy}/content/repositories/releases/</url>
129         </repository>
130         <snapshotRepository>
131             <id>ecomp-snapshots</id>
132             <name>Snapshot Repository</name>
133             <url>${nexus.proxy}/content/repositories/snapshots/</url>
134         </snapshotRepository>
135         <site>
136             <id>ecomp-site</id>
137             <url>dav:${nexus.proxy}${sitePath}</url>
138         </site>
139     </distributionManagement>
140
141 </project>