summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2017-04-06 17:27:47 -0400
committerManoop Talasila <talasila@research.att.com>2017-04-06 17:27:59 -0400
commit39d1e62c84041831bfc52cca73b5ed5efaf57d27 (patch)
tree4e6b052a728fa6125499ab3e2e4ef37d3bb04f48
parent6df5a28876e69f00f33a441181be18c03b662338 (diff)
nexus site path corrected
Change-Id: I9cec92d602bbef294fe3c56e1146f85b9838dfcf Signed-off-by: Manoop Talasila <talasila@research.att.com>
-rw-r--r--ecomp-portal-BE/pom.xml2
-rw-r--r--ecomp-portal-FE/pom.xml46
-rw-r--r--pom.xml4
3 files changed, 50 insertions, 2 deletions
diff --git a/ecomp-portal-BE/pom.xml b/ecomp-portal-BE/pom.xml
index e8590cbc..41df842b 100644
--- a/ecomp-portal-BE/pom.xml
+++ b/ecomp-portal-BE/pom.xml
@@ -19,7 +19,7 @@
<snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
<releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
<stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
- <sitePath>/content/sites/site/org/openecomp/portal/${project.version}</sitePath>
+ <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
</properties>
<reporting>
diff --git a/ecomp-portal-FE/pom.xml b/ecomp-portal-FE/pom.xml
index 30f136eb..c2fb2222 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.1.0-SNAPSHOT</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 255d29db..0d895a42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,5 +55,9 @@
<name>OpenECOMP - Snapshot Repository</name>
<url>${nexusproxy}/${snapshotNexusPath}</url>
</snapshotRepository>
+ <site>
+ <id>ecomp-site</id>
+ <url>dav:${nexusproxy}${sitePath}</url>
+ </site>
</distributionManagement>
</project>