You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2022/04/17 13:05:20 UTC

[maven-doap-plugin] branch maven-3.2.5 created (now cd335de)

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a change to branch maven-3.2.5
in repository https://gitbox.apache.org/repos/asf/maven-doap-plugin.git


      at cd335de  Update to maven 3.2.5

This branch includes the following new commits:

     new cd335de  Update to maven 3.2.5

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-doap-plugin] 01/01: Update to maven 3.2.5

Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch maven-3.2.5
in repository https://gitbox.apache.org/repos/asf/maven-doap-plugin.git

commit cd335debef150357ce5145611e645f570732a8d1
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Sun Apr 17 15:04:58 2022 +0200

    Update to maven 3.2.5
---
 pom.xml                                            | 33 ++++++++++++++++++----
 .../org/apache/maven/plugin/doap/DoapMojo.java     |  4 +--
 2 files changed, 30 insertions(+), 7 deletions(-)

diff --git a/pom.xml b/pom.xml
index 5b430b4..3a230ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,8 +62,8 @@ under the License.
   </distributionManagement>
 
   <properties>
-    <mavenVersion>2.2.1</mavenVersion>
-    <scmVersion>1.11.1</scmVersion>
+    <mavenVersion>3.2.5</mavenVersion>
+    <scmVersion>1.12.2</scmVersion>
     <maven.compiler.source>1.7</maven.compiler.source>
     <maven.compiler.target>1.7</maven.compiler.target>
     <project.build.outputTimestamp>2020-04-07T21:04:00Z</project.build.outputTimestamp>
@@ -73,12 +73,17 @@ under the License.
     <!-- Maven -->
     <dependency>
       <groupId>org.apache.maven</groupId>
-      <artifactId>maven-project</artifactId>
+      <artifactId>maven-plugin-api</artifactId>
       <version>${mavenVersion}</version>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
-      <artifactId>maven-plugin-api</artifactId>
+      <artifactId>maven-core</artifactId>
+      <version>${mavenVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-compat</artifactId>
       <version>${mavenVersion}</version>
     </dependency>
     <dependency>
@@ -161,7 +166,25 @@ under the License.
     <dependency>
       <groupId>org.apache.maven.plugin-testing</groupId>
       <artifactId>maven-plugin-testing-harness</artifactId>
-      <version>1.2</version>
+      <version>3.3.0</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-aether-provider</artifactId>
+      <version>${mavenVersion}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.aether</groupId>
+      <artifactId>aether-connector-basic</artifactId>
+      <version>1.0.0.v20140518</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.aether</groupId>
+      <artifactId>aether-transport-http</artifactId>
+      <version>1.0.0.v20140518</version>
       <scope>test</scope>
     </dependency>
   </dependencies>
diff --git a/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java b/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java
index 211374a..ddc288e 100644
--- a/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java
+++ b/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java
@@ -795,8 +795,8 @@ public class DoapMojo
         writeReleases( writer, project );
 
         // Developers
-        List<Contributor> developers = project.getDevelopers();
-        writeContributors( writer, developers );
+        List<Developer> developers = project.getDevelopers();
+        writeContributors( writer,  new ArrayList<Contributor>( developers ) );
 
         // Contributors
         List<Contributor> contributors = project.getContributors();