summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-08-23 12:03:32 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-08-23 12:03:32 -0700
commit07a40c895c7fd70daec7a63881799cc51cd53d7a (patch)
tree69c3d45a4803861b37f145818a2e5b7ae45a6fdb /pom.xml
parent2a78a3757795bbbfb6ac875dc51ec3b4eb7a5364 (diff)
Add support for site deploy in oparent
Change-Id: Ib4f02e7863b09a4c9476f82fee536598aeff59fa Issue-id: INT-111 Issue-id: INT-110 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml53
1 files changed, 36 insertions, 17 deletions
diff --git a/pom.xml b/pom.xml
index 4165b16..d4012a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,6 @@
<module>license</module>
<module>oparent</module>
</modules>
-
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
@@ -35,7 +34,6 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
</properties>
-
<distributionManagement>
<repository>
<id>ecomp-releases</id>
@@ -45,8 +43,12 @@
<id>ecomp-snapshots</id>
<url>${onap.nexus.url}/content/repositories/snapshots</url>
</snapshotRepository>
+ <site>
+ <id>ecomp-site</id>
+ <!-- sitePath property needs to be defined in the inheriting POM -->
+ <url>dav:${onap.nexus.url}${sitePath}</url>
+ </site>
</distributionManagement>
-
<build>
<pluginManagement>
<plugins>
@@ -60,26 +62,43 @@
<stagingProfileId>176c31dfe190a</stagingProfileId>
<serverId>ecomp-staging</serverId>
</configuration>
- </plugin>
- <plugin>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter -->
+ <!-- This version supports the "deployAtEnd" parameter -->
+ <version>2.8</version>
<configuration>
- <skip />
+ <skip/>
</configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
+ </plugin>
<plugin>
- <groupId>org.sonatype.plugins</groupId>
- <artifactId>nexus-staging-maven-plugin</artifactId>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- </plugin>
+ <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>
</plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>nexus-staging-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ </plugin>
+ </plugins>
</build>
</project>