From 4a1e9c21f05f1415a3861c6600ce4561bc723272 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Mon, 18 Sep 2023 08:00:35 +0200 Subject: [PATCH] Use a stable link in unit test Current version contains new element-list --- .../java/org/apache/maven/plugins/javadoc/JavadocUtilTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/maven/plugins/javadoc/JavadocUtilTest.java b/src/test/java/org/apache/maven/plugins/javadoc/JavadocUtilTest.java index c3168ba6d..bf2932226 100644 --- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocUtilTest.java +++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocUtilTest.java @@ -268,7 +268,7 @@ public void testIsValidPackageList() throws Exception { .toURL(); assertTrue(JavadocUtil.isValidPackageList(url, settings, true)); - url = new URL("http://maven.apache.org/plugins/maven-javadoc-plugin/apidocs/package-list"); + url = new URL("http://maven.apache.org/plugins-archives/maven-javadoc-plugin-3.5.0/apidocs/package-list"); assertTrue(JavadocUtil.isValidPackageList(url, settings, true)); wrongUrl = new URL("http://maven.apache.org/plugins/maven-javadoc-plugin/apidocs/package-list2");