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