diff options
author | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-09 06:11:54 +0000 |
---|---|---|
committer | HuabingZhao <zhao.huabing@zte.com.cn> | 2017-08-09 06:12:00 +0000 |
commit | 438fc90c721da5068ff24a046150e4f2c7e37b77 (patch) | |
tree | 44aa83cc0016f1a494c2bc9c7a825fd8b09851ea /pom.xml | |
parent | 43981f4cac21b9541d9b3ca3bee79804ff15d9bf (diff) |
fix jenkins msb-discovery-master-stage-site-java
Change-Id: Ia6c96c2c10ada6ed9e9b79d065b19653cfd44a62
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 98 |
1 files changed, 46 insertions, 52 deletions
@@ -48,6 +48,12 @@ <dockerFileDir>src/main/docker</dockerFileDir> <blueprintFileDir>src/main/blueprint</blueprintFileDir> <version.output>target/version</version.output> + + <onap.nexus.host>nexus.onap.org</onap.nexus.host> + <onap.nexus.url>https://${onap.nexus.host}/content</onap.nexus.url> + <onap.nexus.snapshot-url>${onap.nexus.url}/repositories/snapshots/</onap.nexus.snapshot-url> + <onap.nexus.release-url>${onap.nexus.url}/repositories/releases/</onap.nexus.release-url> + <onap.nexus.javadocs-url>dav:${onap.nexus.url}/sites/site/org/onap/msb/apigateway/${project.version}</onap.nexus.javadocs-url> </properties> <modules> @@ -57,53 +63,14 @@ <module>distributions</module> </modules> -<!-- <distributionManagement> - <repository> - <id>releases</id> - <url>${nexus.repository.release}</url> - </repository> - <snapshotRepository> - <id>snapshots</id> - <url>${nexus.repository.snapshot}</url> - </snapshotRepository> - </distributionManagement> --> - -<!-- <profiles> - <profile> - <id>linux</id> - <properties> - <env.separator>:</env.separator> - </properties> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - </profile> - <profile> - <id>windows</id> - <properties> - <env.separator>;</env.separator> - </properties> - </profile> - </profiles> --> - + <distributionManagement> + <site> + <id>onap-site</id> + <url>${onap.nexus.javadocs-url}</url> + </site> + </distributionManagement> + <build> -<!-- <extensions> - <extension> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-ssh</artifactId> - <version>2.10</version> - </extension> - <extension> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-ftp</artifactId> - <version>2.10</version> - </extension> - <extension> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-webdav-jackrabbit</artifactId> - <version>2.10</version> - </extension> - </extensions> --> <resources> <resource> <filtering>false</filtering> @@ -148,11 +115,6 @@ <version>2.3</version> </plugin> -<!-- <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <version>${maven.plugin.version}</version> - </plugin> --> <plugin> <artifactId>maven-resources-plugin</artifactId> @@ -164,7 +126,39 @@ <artifactId>build-helper-maven-plugin</artifactId> <version>1.9.1</version> </plugin> - + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.6</version> + <configuration> + <reportPlugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.4</version> + <configuration> + <dependencyDetailsEnabled>false</dependencyDetailsEnabled> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + </configuration> + <reports> + <report>dependencies</report> + </reports> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.8</version> + </plugin> + </reportPlugins> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav-jackrabbit</artifactId> + <version>2.10</version> + </dependency> + </dependencies> + </plugin> </plugins> </pluginManagement> </build> |