summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2017-04-06 16:13:46 -0400
committerManoop Talasila <talasila@research.att.com>2017-04-06 16:14:06 -0400
commitd9ac3bc912594508a6cfa976f117062e8a97dd0d (patch)
treed06514624e4f17e99c0ea2a18b1865b2a239c72b
parent4e957883d7cc7658378ae8c383500f7173a08444 (diff)
onap nexus url change
Change-Id: I412a60fda4ba24acb81d1928880be21c314b73ef Signed-off-by: Manoop Talasila <talasila@research.att.com>
-rw-r--r--ecomp-portal-BE/pom.xml11
-rw-r--r--ecomp-portal-FE/pom.xml46
-rw-r--r--pom.xml14
3 files changed, 63 insertions, 8 deletions
diff --git a/ecomp-portal-BE/pom.xml b/ecomp-portal-BE/pom.xml
index 3a38ef54..7b2d0d4a 100644
--- a/ecomp-portal-BE/pom.xml
+++ b/ecomp-portal-BE/pom.xml
@@ -16,7 +16,10 @@
<skiptests>false</skiptests>
<sonar.exclusions>**.js</sonar.exclusions>
<nexusproxy>https://nexus.onap.org</nexusproxy>
- <sitePath>/content/sites/site/org/openecomp/portal/${project.version}</sitePath>
+ <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
</properties>
<reporting>
@@ -50,19 +53,19 @@
<!-- Releases repository has ECOMP release artifacts -->
<id>ecomp-releases</id>
<name>OpenECOMP - Release Repository</name>
- <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
</repository>
<repository>
<!-- Snapshots repository has ECOMP snapshot artifacts -->
<id>ecomp-snapshots</id>
<name>OpenECOMP - Snapshot Repository</name>
- <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
</repository>
<repository>
<!-- Staging repository has ECOMP staging artifacts -->
<id>ecomp-staging</id>
<name>OpenECOMP - Staging Repository</name>
- <url>https://nexus.openecomp.org/content/repositories/staging/</url>
+ <url>${nexusproxy}/${stagingNexusPath}</url>
</repository>
<repository>
<!-- Snapshots repository has ECOMP snapshot artifacts -->
diff --git a/ecomp-portal-FE/pom.xml b/ecomp-portal-FE/pom.xml
index 97283c0a..f98cfac4 100644
--- a/ecomp-portal-FE/pom.xml
+++ b/ecomp-portal-FE/pom.xml
@@ -4,11 +4,55 @@
<artifactId>ecomp-portal-FE</artifactId>
<!-- Jenkins build process will append build number -->
<version>1.0.0</version>
-
+
+ <properties>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
+ </properties>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <failOnError>false</failOnError>
+ <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
+ <docletArtifact>
+ <groupId>org.umlgraph</groupId>
+ <artifactId>umlgraph</artifactId>
+ <version>5.6</version>
+ </docletArtifact>
+ <additionalparam>-views</additionalparam>
+ <useStandardDocletOptions>true</useStandardDocletOptions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+ <distributionManagement>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
+ </site>
+ </distributionManagement>
+
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.6</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav-jackrabbit</artifactId>
+ <version>2.10</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8</version>
<configuration>
diff --git a/pom.xml b/pom.xml
index 59d2dd0a..63e19135 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,6 +17,14 @@
<module>ecomp-portal-FE</module>
<module>ecomp-portal-BE</module>
</modules>
+
+ <properties>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
+ <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
+ <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
+ </properties>
+
<build>
<plugins>
<plugin>
@@ -25,7 +33,7 @@
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
- <nexusUrl>https://nexus.openecomp.org/</nexusUrl>
+ <nexusUrl>${nexusproxy}</nexusUrl>
<stagingProfileId>176c31dfe190a</stagingProfileId>
<serverId>ecomp-staging</serverId>
</configuration>
@@ -40,12 +48,12 @@
<repository>
<id>ecomp-releases</id>
<name>OpenECOMP - Release Repository</name>
- <url>https://nexus.openecomp.org/content/repositories/releases/</url>
+ <url>${nexusproxy}/${releaseNexusPath}</url>
</repository>
<snapshotRepository>
<id>ecomp-snapshots</id>
<name>OpenECOMP - Snapshot Repository</name>
- <url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
+ <url>${nexusproxy}/${snapshotNexusPath}</url>
</snapshotRepository>
</distributionManagement>
</project>