You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/10/08 15:39:38 UTC
[maven-javadoc-plugin] branch stabilize updated: Upgrade commons-io
Add assert to JavadocReportTest.testTaglets to identify problem of flaky
test
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/stabilize by this push:
new 50e4dd6 Upgrade commons-io Add assert to JavadocReportTest.testTaglets to identify problem of flaky test
50e4dd6 is described below
commit 50e4dd67c3cac2b7faa5104ce7c4a7f831ac3781
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Oct 8 17:39:24 2021 +0200
Upgrade commons-io
Add assert to JavadocReportTest.testTaglets to identify problem of flaky test
---
pom.xml | 2 +-
src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index cfd801f..1a8c5d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -303,7 +303,7 @@ under the License.
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.8.0</version>
+ <version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
diff --git a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
index 5b00634..dba1838 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -654,6 +654,8 @@ public class JavadocReportTest
{
return;
}
+
+ assertThat( new File( localRepo, "org/tullmann/taglets/1.0/taglets-1.0.jar" ) ).exists();
Path testPom = unit.resolve( "taglet-test/taglet-test-plugin-config.xml" );
JavadocReport mojo = lookupMojo( testPom );