Make sparky deploy info match aai-common
[aai/sparky-be.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/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5
6     <groupId>org.onap.aai</groupId>
7     <artifactId>sparky-be</artifactId>
8     <version>1.2.0-SNAPSHOT</version>
9     <packaging>pom</packaging>
10     <name>aai-sparky-be</name>
11
12         <modules>
13                 <module>sparkybe-onap-service/pom.xml</module>
14                 <module>sparkybe-onap-application/pom.xml</module>
15         </modules>
16
17     <properties>
18         <sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
19         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
20     </properties>
21
22     <!-- we don't need to deploy the top level pom project -->
23         <build>
24           <pluginManagement>
25             <plugins>
26                 <plugin>
27                     <groupId>org.apache.maven.plugins</groupId>
28                     <artifactId>maven-deploy-plugin</artifactId>
29                     <version>2.8.2</version>
30                     <executions>
31                         <execution>
32                             <id>default-deploy</id>
33                             <phase>none</phase>
34                         </execution>
35                     </executions>
36                 </plugin>
37                 <plugin>
38                     <groupId>org.sonatype.plugins</groupId>
39                     <artifactId>nexus-staging-maven-plugin</artifactId>
40                     <version>1.6.7</version>
41                     <extensions>true</extensions>
42                     <configuration>
43                         <nexusUrl>${onap.nexus.url}</nexusUrl>
44                         <stagingProfileId>176c31dfe190a</stagingProfileId>
45                         <serverId>ecomp-staging</serverId>
46                     </configuration>
47                 </plugin>
48                 </plugins>
49               </pluginManagement>
50         </build>
51         
52     <distributionManagement>
53        <repository>
54           <id>ecomp-releases</id>
55           <name>ECOMP Release Repository</name>
56           <url>${onap.nexus.url}/content/repositories/releases/</url>
57        </repository>
58        <snapshotRepository>
59           <id>ecomp-snapshots</id>
60           <name>ECOMP Snapshot Repository</name>
61           <url>${onap.nexus.url}/content/repositories/snapshots/</url>
62       </snapshotRepository>
63       <site>
64         <id>ecomp-site</id>
65         <url>dav:${onap.nexus.url}${sitePath}</url>
66       </site>
67    </distributionManagement>
68
69     <repositories>
70         <repository>
71             <id>central</id>
72             <name>Maven 2 repository 2</name>
73             <url>http://repo2.maven.org/maven2/</url>
74         </repository>
75         <repository>
76             <id>ecomp-releases</id>
77             <name>ECOMP Release Repository</name>
78             <url>${onap.nexus.url}/content/repositories/releases/</url>
79         </repository>
80         <repository>
81             <id>ecomp-staging</id>
82             <name>ECOMP Staging Repository</name>
83             <url>${onap.nexus.url}/content/repositories/staging/</url>
84         </repository>
85         <repository>
86             <id>ecomp-snapshots</id>
87             <name>ECOMP Snapshot Repository</name>
88             <url>${onap.nexus.url}/content/repositories/snapshots/</url>
89         </repository>
90     </repositories>
91         
92 </project>