[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-commits
Subject:    [avro] 01/02: AVRO-2865: Remove maven 2 support.
From:       iemejia () apache ! org
Date:       2020-06-22 13:28:03
Message-ID: 20200622132802.B1882890B8 () gitbox ! apache ! org
[Download RAW message or body]

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

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 95f48dd6dd51f98485d04c7359371e767579bc76
Author: Ryan Skraba <ryan@skraba.com>
AuthorDate: Fri Jun 19 13:45:50 2020 +0200

    AVRO-2865: Remove maven 2 support.
---
 lang/java/maven-plugin/pom.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/lang/java/maven-plugin/pom.xml b/lang/java/maven-plugin/pom.xml
index 679c182..ab804cb 100644
--- a/lang/java/maven-plugin/pom.xml
+++ b/lang/java/maven-plugin/pom.xml
@@ -57,10 +57,8 @@
 
   <dependencies>
     <dependency>
-      <!-- Maven2 classes maintained as compatibility layer -->
-      <!-- Remove once avro-maven-plugin code is upgrade to Maven3 -->
       <groupId>org.apache.maven</groupId>
-      <artifactId>maven-compat</artifactId>
+      <artifactId>maven-core</artifactId>
       <version>${maven.version}</version>
     </dependency>
     <dependency>
@@ -69,10 +67,6 @@
       <version>${file-management.version}</version>
       <exclusions>
         <exclusion>
-          <groupId>org.apache.maven</groupId>
-          <artifactId>maven-plugin-api</artifactId>
-        </exclusion>
-        <exclusion>
           <groupId>com.google.code.findbugs</groupId>
           <artifactId>jsr305</artifactId>
         </exclusion>
@@ -85,6 +79,12 @@
     </dependency>
     <!-- test-->
     <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-compat</artifactId>
+      <version>${maven.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
       <groupId>org.apache.maven.plugin-testing</groupId>
       <artifactId>maven-plugin-testing-tools</artifactId>
       <version>${pluginTestingVersion}</version>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic