You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/11/30 22:46:01 UTC

[maven-invoker-plugin] branch master updated: [MINVOKER-292] Update plugin (requires Maven 3.2.5+)

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-invoker-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new ef3e1a2  [MINVOKER-292] Update plugin (requires Maven 3.2.5+)
ef3e1a2 is described below

commit ef3e1a2121a90b7a4184fd11ac774dcc4b9fe711
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Mon Oct 18 14:08:47 2021 +0200

    [MINVOKER-292] Update plugin (requires Maven 3.2.5+)
    
    Update build and dependencies
    
    Closes #74
---
 .github/dependabot.yml | 18 ------------------
 pom.xml                | 24 ++++++++++++++++++------
 2 files changed, 18 insertions(+), 24 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 29eccbf..1a36225 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -22,24 +22,6 @@ updates:
     interval: daily
     time: '04:00'
   open-pull-requests-limit: 10
-  ignore:
-    # ignore Java 8+ dependencies
-    - dependency-name: org.mockito:mockito-core
-      versions:
-        - ">= 3.0"
-    - dependency-name: org.apache.commons:commons-lang3
-      versions:
-        - ">= 3.9"
-    - dependency-name: commons-io:commons-io
-      versions:
-        - ">= 2.7"
-    # Ignore Maven 3.2.1+
-    - dependency-name: org.apache.maven.plugin-testing:maven-plugin-testing-tools
-      versions:
-        - ">=3.2.0"
-    - dependency-name: org.apache.maven.plugin-testing:maven-plugin-testing-harness
-      versions:
-        - ">=3.2.0"
 - package-ecosystem: "github-actions"
   directory: "/"
   schedule:
diff --git a/pom.xml b/pom.xml
index 3ae0baa..30fa806 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@ under the License.
 
   <properties>
     <javaVersion>8</javaVersion>
-    <mavenVersion>3.1.1</mavenVersion>
+    <mavenVersion>3.2.5</mavenVersion>
     <doxiaVersion>1.10</doxiaVersion>
     <doxiaSitetoolsVersion>1.10</doxiaSitetoolsVersion>
     <beanshell-groupId>org.apache-extras.beanshell</beanshell-groupId>
@@ -89,26 +89,31 @@ under the License.
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-model</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
       <version>${mavenVersion}</version>
+      <scope>compile</scope> <!-- set to provided once MPLUGIN-372 fixed -->
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-artifact</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-settings</artifactId>
       <version>${mavenVersion}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven.reporting</groupId>
@@ -260,7 +265,7 @@ under the License.
     <dependency>
       <groupId>org.apache.maven.plugin-testing</groupId>
       <artifactId>maven-plugin-testing-harness</artifactId>
-      <version>3.1.0</version>
+      <version>3.3.0</version>
       <scope>test</scope>
       <exclusions>
         <exclusion>
@@ -301,10 +306,6 @@ under the License.
           </configuration>
         </plugin>
         <plugin>
-          <artifactId>maven-enforcer-plugin</artifactId>
-          <version>3.0.0-M3</version>
-        </plugin>
-        <plugin>
           <artifactId>maven-site-plugin</artifactId>
           <version>3.9.1</version>
         </plugin>
@@ -316,6 +317,17 @@ under the License.
     </pluginManagement>
 
     <plugins>
+      <plugin> <!-- Remove once MPOM-270 fixed -->
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <version>3.0.0</version>
+        <dependencies>
+          <dependency>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>extra-enforcer-rules</artifactId>
+            <version>1.4</version>
+          </dependency>
+        </dependencies>
+      </plugin>
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>