Fix the stage site issue by adding onap.nexus.url
[aai/aai-common.git] / aai-annotations / pom.xml
1 <?xml version="1.0"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>org.onap.aai.aai-common</groupId>
8         <artifactId>aai-common</artifactId>
9         <version>1.1.0-SNAPSHOT</version>
10     </parent>
11     <artifactId>aai-annotations</artifactId>
12     <name>aai-annotations</name>
13     <packaging>jar</packaging>
14     <properties>
15         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
16         <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
17     </properties>
18     <dependencies>
19         <dependency>
20             <groupId>junit</groupId>
21             <artifactId>junit</artifactId>
22             <version>3.8.1</version>
23             <scope>test</scope>
24         </dependency>
25     </dependencies>
26
27     <build>
28         <plugins>
29             <plugin>
30                 <groupId>org.apache.maven.plugins</groupId>
31                 <artifactId>maven-deploy-plugin</artifactId>
32             </plugin>
33             <plugin>
34                 <groupId>org.sonatype.plugins</groupId>
35                 <artifactId>nexus-staging-maven-plugin</artifactId>
36             </plugin>
37         </plugins>
38     </build>
39
40     <distributionManagement>
41         <site>
42             <id>ecomp-site</id>
43             <url>dav:${onap.nexus.url}${sitePath}</url>
44         </site>
45     </distributionManagement>
46
47     <!-- Plugins and repositories -->
48     <pluginRepositories>
49         <pluginRepository>
50             <id>central</id>
51             <url>http://repo1.maven.org/maven2</url>
52         </pluginRepository>
53         <pluginRepository>
54             <id>EvoSuite</id>
55             <name>EvoSuite Repository</name>
56             <url>http://www.evosuite.org/m2</url>
57         </pluginRepository>
58     </pluginRepositories>
59
60 </project>