This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doap-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new d17c39f Use https for ASF DOAP category resources
d17c39f is described below
commit d17c39fb12442873d238bbc86aba63d74dc5f982
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Nov 14 10:07:27 2026 +0100
Use https for ASF DOAP category resources
https://projects.apache.org/guidelines.html requires https category URLs.
The doap and asfext namespace URIs stay http: they are identifiers.
---
.../java/org/apache/maven/plugin/doap/options/ASFExtOptionsUtil.java | 4 ++--
src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/src/main/java/org/apache/maven/plugin/doap/options/ASFExtOptionsUtil.java
b/src/main/java/org/apache/maven/plugin/doap/options/ASFExtOptionsUtil.java
index 9eb3727..15642f3 100644
--- a/src/main/java/org/apache/maven/plugin/doap/options/ASFExtOptionsUtil.java
+++ b/src/main/java/org/apache/maven/plugin/doap/options/ASFExtOptionsUtil.java
@@ -40,9 +40,9 @@ public class ASFExtOptionsUtil {
/**
* The ASF category resource.
*
- * @see <a
href="http://projects.apache.org/guidelines.html">http://projects.apache.org/guidelines.html</a>
+ * @see <a
href="https://projects.apache.org/guidelines.html">https://projects.apache.org/guidelines.html</a>
*/
- public static final String CATEGORY_RESOURCE =
"http://projects.apache.org/category/";
+ public static final String CATEGORY_RESOURCE =
"https://projects.apache.org/category/";
/** Projects related to building/maintaining source code/websites. */
public static final String BUILD_MANAGEMENT_CATEGORY = "build-management";
diff --git a/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
b/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
index f6861d5..f86b5e4 100644
--- a/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
+++ b/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
@@ -374,7 +374,7 @@ class DoapMojoTest {
}
assertTrue(readed.contains("<name>Apache " + mavenProject.getName() +
"</name>"));
assertTrue(readed.contains("<programming-language>Java</programming-language>"));
- assertTrue(readed.contains("<category
rdf:resource=\"http://projects.apache.org/category/library\"/>"));
+ assertTrue(readed.contains("<category
rdf:resource=\"https://projects.apache.org/category/library\"/>"));
assertTrue(
readed.contains("<mailing-list rdf:resource=\"" +
mavenProject.getUrl() + "/mailing-lists.html\"/>"));