You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2022/07/17 17:40:33 UTC
[commons-text] branch master updated: fixing report generation
This is an automated email from the ASF dual-hosted git repository.
mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push:
new 0cd901c3 fixing report generation
0cd901c3 is described below
commit 0cd901c387cf766e8869598632c80d9d72d3ab9d
Author: Matt Juntunen <ma...@apache.org>
AuthorDate: Sun Jul 17 13:40:20 2022 -0400
fixing report generation
---
pom.xml | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/pom.xml b/pom.xml
index f0fefe10..56e47ecb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,7 +57,12 @@
<commons.mockito.version>4.6.1</commons.mockito.version>
<commons.jacoco.version>0.8.8</commons.jacoco.version>
- <commons.javadoc.version>3.4.0</commons.javadoc.version>
+
+ <!-- apache-rat-plugin 0.13 and jdepend-maven-plugin 2.0 both fail with LinkageError when generating reports
+ with maven site plugin 3.11+. However, javadoc 3.4.0+ fails with site plugin versions lower than 3.11. So, we'll
+ use slightly older site and javadoc versions here in order to be able to generate all reports. -->
+ <commons.site-plugin.version>3.10.0</commons.site-plugin.version>
+ <commons.javadoc.version>3.3.2</commons.javadoc.version>
<!-- 22.1.0 requires Java 11 -->
<graalvm.version>22.0.0.2</graalvm.version>
@@ -294,10 +299,10 @@
<version>${checkstyle.plugin.version}</version>
<configuration>
<enableRulesSummary>false</enableRulesSummary>
- <configLocation>${basedir}/checkstyle.xml</configLocation>
- <headerLocation>${basedir}/checkstyle-header.txt</headerLocation>
- <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
- <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression>
+ <configLocation>src/conf/checkstyle.xml</configLocation>
+ <headerLocation>src/conf/checkstyle-header.txt</headerLocation>
+ <suppressionsLocation>src/conf/checkstyle-suppressions.xml</suppressionsLocation>
+ <suppressionsFileExpression>src/conf/checkstyle-suppressions.xml</suppressionsFileExpression>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<excludes>**/generated/**.java,**/jmh_generated/**.java</excludes>
</configuration>
@@ -315,7 +320,7 @@
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${commons.spotbugs.plugin.version}</version>
<configuration>
- <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
+ <excludeFilterFile>src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
@@ -510,7 +515,7 @@
</goals>
<phase>pre-site</phase>
<configuration>
- <tasks>
+ <target>
<exec executable="svn">
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/>
</exec>
@@ -523,7 +528,7 @@
<exec executable="svn">
<arg line="update --set-depth infinity ${dirs}"/>
</exec>
- </tasks>
+ </target>
</configuration>
</execution>
</executions>