Fix staging build
[ccsdk/parent.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5
6     <modelVersion>4.0.0</modelVersion>
7     <packaging>pom</packaging>
8     <groupId>org.onap.ccsdk.parent</groupId>
9     <artifactId>parent</artifactId>
10     <version>1.1.4-SNAPSHOT</version>
11     <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
12
13     <properties>
14         <onap.nexus.host>nexus.onap.org</onap.nexus.host>
15         <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
16         <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
17     </properties>
18
19     <distributionManagement>
20         <repository>
21             <id>ecomp-releases</id>
22             <url>https://nexus.onap.org/content/repositories/releases</url>
23         </repository>
24         <snapshotRepository>
25             <id>ecomp-snapshots</id>
26             <url>https://nexus.onap.org/content/repositories/snapshots</url>
27         </snapshotRepository>
28     </distributionManagement>
29
30     <profiles>
31                 <profile>
32                         <id>nexus-staging</id>
33                         <activation>
34                             <property>
35                                 <name>!altDeploymentRepository</name>
36                             </property>
37                         </activation>
38                         <build>
39                                 <plugins>
40                                         <plugin>
41                                                 <groupId>org.sonatype.plugins</groupId>
42                                                 <artifactId>nexus-staging-maven-plugin</artifactId>
43                                                 <version>1.6.7</version>
44                                                 <extensions>true</extensions>
45                                                 <configuration>
46                                                         <nexusUrl>https://nexus.onap.org</nexusUrl>
47                                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
48                                                         <serverId>ecomp-staging</serverId>
49                                                 </configuration>
50                                         </plugin>
51                                 </plugins>
52                         </build>
53                 </profile>
54     </profiles>
55     <build>
56         <plugins>
57             <plugin>
58                 <groupId>org.codehaus.mojo</groupId>
59                 <artifactId>versions-maven-plugin</artifactId>
60                 <version>2.5</version>
61                 <configuration>
62                     <processAllModules>true</processAllModules>
63                 </configuration>
64             </plugin>
65
66         </plugins>
67     </build>
68     <modules>
69         <module>odlparent</module>
70         <module>springboot</module>
71     </modules>
72
73 </project>