diff options
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> |