Cleanup SDG Maven parent and spring-data-geode module POM files.
Move all build plugin configuraton to the parent. Remove the 'ci' and 'distribute' build profile specific 'maven-javadoc-plugin' configuration. Resolves gh-538.
This commit is contained in:
71
pom.xml
71
pom.xml
@@ -56,6 +56,7 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
@@ -64,60 +65,34 @@
|
|||||||
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
|
<dependencySourceExclude>org.apache.geode:geode-gfsh</dependencySourceExclude>
|
||||||
</dependencySourceExcludes>
|
</dependencySourceExcludes>
|
||||||
<failOnWarnings>false</failOnWarnings>
|
<failOnWarnings>false</failOnWarnings>
|
||||||
<links>
|
<links combine.children="append">
|
||||||
<link>https://geode.apache.org/releases/latest/javadoc/</link>
|
<link>https://geode.apache.org/releases/latest/javadoc/</link>
|
||||||
</links>
|
</links>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
|
||||||
|
<includes>
|
||||||
|
<include>**/*Tests.java</include>
|
||||||
|
<include>**/*Test.java</include>
|
||||||
|
</includes>
|
||||||
|
<reuseForks>false</reuseForks>
|
||||||
|
<systemProperties>
|
||||||
|
<java.util.logging.config.file>${basedir}/src/test/resources/java-util-logging.properties</java.util.logging.config.file>
|
||||||
|
<gemfire.disableShutdownHook>true</gemfire.disableShutdownHook>
|
||||||
|
<logback.log.level>error</logback.log.level>
|
||||||
|
<spring.profiles.active>apache-geode</spring.profiles.active>
|
||||||
|
</systemProperties>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</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>
|
<repositories>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
@@ -137,7 +112,7 @@
|
|||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
<repository>
|
<repository>
|
||||||
<id>apache-snapshots</id>
|
<id>apache-snapshots</id>
|
||||||
<url>https://repository.apache.org/content/repositories/orgapachegeode-1060</url>
|
<url>https://repository.apache.org/content/repositories/orgapachegeode-1060</url>
|
||||||
|
|||||||
@@ -254,29 +254,6 @@
|
|||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<argLine>--add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED</argLine>
|
|
||||||
<includes>
|
|
||||||
<include>**/*Tests.java</include>
|
|
||||||
<include>**/*Test.java</include>
|
|
||||||
</includes>
|
|
||||||
<reuseForks>false</reuseForks>
|
|
||||||
<systemProperties>
|
|
||||||
<java.util.logging.config.file>${basedir}/src/test/resources/java-util-logging.properties</java.util.logging.config.file>
|
|
||||||
<gemfire.disableShutdownHook>true</gemfire.disableShutdownHook>
|
|
||||||
<logback.log.level>error</logback.log.level>
|
|
||||||
<spring.profiles.active>apache-geode</spring.profiles.active>
|
|
||||||
</systemProperties>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
|
|||||||
Reference in New Issue
Block a user