diff options
-rw-r--r-- | ecomp-portal-BE/pom.xml | 2 | ||||
-rw-r--r-- | ecomp-portal-FE/pom.xml | 46 | ||||
-rw-r--r-- | pom.xml | 4 |
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> @@ -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> |