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

robbie pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new b8ee43861e ARTEMIS-4918: artemis-maven-plugin tweaks and cleanup
b8ee43861e is described below

commit b8ee43861e4f3b0104c220548c1afdf5eaecef9a
Author: Robbie Gemmell <[email protected]>
AuthorDate: Wed Jul 10 15:16:51 2024 +0100

    ARTEMIS-4918: artemis-maven-plugin tweaks and cleanup
    
    - switch to using maven-core instead of ancient maven-project dep
    - set provided scope on various deps that should have it, fix warnings
    - use transitive maven-resolver-api from -core, its also 'provided'
    - add a property to update common component versions
---
 artemis-maven-plugin/pom.xml | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/artemis-maven-plugin/pom.xml b/artemis-maven-plugin/pom.xml
index c833b90cb0..7539b4c241 100644
--- a/artemis-maven-plugin/pom.xml
+++ b/artemis-maven-plugin/pom.xml
@@ -28,32 +28,28 @@
    <packaging>maven-plugin</packaging>
    <name>ActiveMQ Artemis Maven Plugin</name>
 
+   <properties>
+      <plugin.components.maven.version>3.9.8</plugin.components.maven.version>
+   </properties>
+
    <dependencies>
       <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-plugin-api</artifactId>
-         <version>3.9.8</version>
+         <version>${plugin.components.maven.version}</version>
+         <scope>provided</scope>
       </dependency>
       <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-artifact</artifactId>
-         <version>3.9.8</version>
+         <version>${plugin.components.maven.version}</version>
+         <scope>provided</scope>
       </dependency>
       <dependency>
          <groupId>org.apache.maven</groupId>
-         <artifactId>maven-project</artifactId>
-         <version>2.2.1</version>
-         <exclusions>
-            <exclusion>
-               <groupId>junit</groupId>
-               <artifactId>junit</artifactId>
-            </exclusion>
-         </exclusions>
-      </dependency>
-      <dependency>
-         <groupId>org.apache.maven.resolver</groupId>
-         <artifactId>maven-resolver-api</artifactId>
-         <version>1.9.20</version>
+         <artifactId>maven-core</artifactId>
+         <version>${plugin.components.maven.version}</version>
+         <scope>provided</scope>
       </dependency>
       <dependency>
          <groupId>org.apache.activemq</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to