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 af02055  Default mailingList to mailing-lists.html
af02055 is described below

commit af0205517cedd0b37e609b0d9b98031bd947885e
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Nov 14 10:07:27 2026 +0100

    Default mailingList to mailing-lists.html
    
    maven-project-info-reports-plugin generates mailing-lists.html; 
mail-lists.html is not produced, so the default link was a 404.
---
 src/main/mdo/doapOptions.mdo                                 | 4 ++--
 src/site/markdown/usage.md.vm                                | 4 ++--
 src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java | 2 ++
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/mdo/doapOptions.mdo b/src/main/mdo/doapOptions.mdo
index 5acbf60..51ae2df 100644
--- a/src/main/mdo/doapOptions.mdo
+++ b/src/main/mdo/doapOptions.mdo
@@ -170,13 +170,13 @@ some POM options.
         <field>
           <name>mailingList</name>
           <description><![CDATA[Single web page that allows people to find out 
more information about the mailing lists provided by the project.<br>
-<b>Default value</b>: ${project.url}/mail-lists.html<br>
+<b>Default value</b>: ${project.url}/mailing-lists.html<br>
 <b>Note</b>: by default, the mailing list page is the one generated by the 
Maven Project Info Reports Plugin.
 @see <a 
href="http://usefulinc.com/ns/doap#mailing-list";>http://usefulinc.com/ns/doap#mailing-list</a>]]></description>
           <version>1.0.0</version>
           <type>String</type>
           <identifier>true</identifier>
-          <defaultValue>${project.url}/mail-lists.html</defaultValue>
+          <defaultValue>${project.url}/mailing-lists.html</defaultValue>
         </field>
         <field>
           <name>name</name>
diff --git a/src/site/markdown/usage.md.vm b/src/site/markdown/usage.md.vm
index b09e04e..6a9a011 100644
--- a/src/site/markdown/usage.md.vm
+++ b/src/site/markdown/usage.md.vm
@@ -51,7 +51,7 @@ The DOAP Plugin generates DOAP and ASF DOAP compliant files. 
The following examp
             
<downloadPage>${esc.d}{project.distributionManagement.downloadUrl}</downloadPage>
             <homepage>${esc.d}{project.url}</homepage>
             <license>${esc.d}{project.licenses[0].url}</license>
-            <mailingList>${esc.d}{project.url}/mail-lists.html</mailingList>
+            <mailingList>${esc.d}{project.url}/mailing-lists.html</mailingList>
             <name>${esc.d}{project.name}</name>
             <programmingLanguage>Java</programmingLanguage>
             
<scmAnonymousConnection>${esc.d}{project.scm.connection}</scmAnonymousConnection>
@@ -152,7 +152,7 @@ This is the minimal POM to be ASF compliant.
             
<downloadPage>${esc.d}{project.distributionManagement.downloadUrl}</downloadPage>
             <homepage>${esc.d}{project.url}</homepage>
             <license>${esc.d}{project.licenses[0].url}</license>
-            <mailingList>${esc.d}{project.url}/mail-lists.html</mailingList>
+            <mailingList>${esc.d}{project.url}/mailing-lists.html</mailingList>
             <name>${esc.d}{project.name}</name>
             
<scmAnonymousConnection>${esc.d}{project.scm.connection}</scmAnonymousConnection>
             
<scmDeveloperConnection>${esc.d}{project.scm.developerConnection}</scmDeveloperConnection>
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 874bfe4..ccef7ae 100644
--- a/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
+++ b/src/test/java/org/apache/maven/plugin/doap/DoapMojoTest.java
@@ -369,6 +369,8 @@ 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("<mailing-list rdf:resource=\"" + 
mavenProject.getUrl() + "/mailing-lists.html\"/>"));
 
         // ASF ext
         assertTrue(readed.contains("<asfext:pmc rdf:resource=\"" + 
mavenProject.getUrl() + "\"/>"));

Reply via email to