Files
spring-data-geode/pom.xml
John Blum 100366367e Configure the maven-javadoc-plugin for the project build, the 'ci' build profile and the 'distribute' build profile.
Add link to Apache Geode (public) Javadoc site.

Add dependency source excluces on org.apache.geode:geode-gfsh.

Set 'failOnWarnings' to false.

Resolves gh-538.
2022-02-02 11:52:23 -08:00

157 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.data.build</groupId>
<artifactId>spring-data-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
</parent>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-geode-parent</artifactId>
<version>3.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Spring Data for Apache Geode Parent</name>
<description>Spring Data for Apache Geode Parent Maven POM</description>
<url>https://projects.spring.io/spring-data-geode/</url>
<organization>
<name>Pivotal Software, Inc.</name>
<url>https://www.spring.io</url>
</organization>
<developers>
<developer>
<id>jblum</id>
<name>John Blum</name>
<organization>Pivotal</organization>
<organizationUrl>https://www.pivotal.io</organizationUrl>
<roles>
<role>Lead Developer</role>
</roles>
</developer>
</developers>
<modules>
<module>spring-data-geode</module>
<module>spring-data-geode-distribution</module>
</modules>
<properties>
<java-module-name>spring.data.geode</java-module-name>
<source.level>17</source.level>
<antlr.version>2.7.7</antlr.version>
<apache-shiro.version>1.8.0</apache-shiro.version>
<cache-api.version>1.1.1</cache-api.version>
<log4j.version>2.16.0</log4j.version>
<multithreadedtc.version>1.01</multithreadedtc.version>
<snappy.version>0.4</snappy.version>
<spring>6.0.0-SNAPSHOT</spring>
<springdata.commons>3.0.0-SNAPSHOT</springdata.commons>
<spring-shell.version>1.2.0.RELEASE</spring-shell.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<dependencySourceExcludes>
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
</dependencySourceExcludes>
<failOnWarnings>false</failOnWarnings>
<links>
<link>https://geode.apache.org/releases/latest/javadoc/</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>ci</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<dependencySourceExcludes>
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
</dependencySourceExcludes>
<failOnWarnings>false</failOnWarnings>
<links>
<link>https://geode.apache.org/releases/latest/javadoc/</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>distribute</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<dependencySourceExcludes>
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
</dependencySourceExcludes>
<failOnWarnings>false</failOnWarnings>
<links>
<link>https://geode.apache.org/releases/latest/javadoc/</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>spring-libs-snapshot</id>
<url>https://repo.spring.io/libs-snapshot</url>
</repository>
<repository>
<id>geode-snapshot</id>
<name>Apache Geode Snapshots</name>
<url>https://maven.apachegeode-ci.info/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<!--
<repository>
<id>apache-snapshots</id>
<url>https://repository.apache.org/content/repositories/orgapachegeode-1060</url>
</repository>
-->
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-plugins-release</id>
<url>https://repo.spring.io/plugins-release</url>
</pluginRepository>
</pluginRepositories>
</project>