nexus site path corrected
[portal.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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>org.openecomp.portal</groupId>
5         <artifactId>portal-project</artifactId>
6         <packaging>pom</packaging>
7         <!-- NOTE This value will not be picked from the property tag below, pass it as -Drelease.version="" when doing mvn deploy -->
8         <version>1.1.0-SNAPSHOT</version>
9         <name>Portal (parent)</name>
10         <url>https://wiki/display/EcompPortal</url>
11         <description>ECOMP Portal Open-Source</description>
12         <scm>
13                 <connection>scm:git:https://todourl/</connection>
14         </scm>
15
16         <modules>
17                 <module>ecomp-portal-FE</module>
18                 <module>ecomp-portal-BE</module>
19         </modules>
20
21         <properties>
22                 <nexusproxy>https://nexus.onap.org</nexusproxy>
23                 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
24                 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
25                 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
26         </properties>
27
28         <build>
29                 <plugins>
30                         <plugin>
31                                 <groupId>org.sonatype.plugins</groupId>
32                                 <artifactId>nexus-staging-maven-plugin</artifactId>
33                                 <version>1.6.7</version>
34                                 <extensions>true</extensions>
35                                 <configuration>
36                                         <nexusUrl>${nexusproxy}</nexusUrl>
37                                         <stagingProfileId>176c31dfe190a</stagingProfileId>
38                                         <serverId>ecomp-staging</serverId>
39                                 </configuration>
40                         </plugin>
41                 </plugins>
42
43         </build>
44
45         <distributionManagement>
46                 <!-- Publish jars to the Nexus Repository - public group -->
47                 <!-- The id below must match your .m2/settings.xml/servers/server/id -->
48                 <repository>
49                         <id>ecomp-releases</id>
50                         <name>OpenECOMP - Release Repository</name>
51                         <url>${nexusproxy}/${releaseNexusPath}</url>
52                 </repository>
53                 <snapshotRepository>
54                         <id>ecomp-snapshots</id>
55                         <name>OpenECOMP - Snapshot Repository</name>
56                         <url>${nexusproxy}/${snapshotNexusPath}</url>
57                 </snapshotRepository>
58                 <site>
59                         <id>ecomp-site</id>
60                         <url>dav:${nexusproxy}${sitePath}</url>
61                 </site>
62         </distributionManagement>
63 </project>