You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2023/08/24 17:41:35 UTC
[maven-enforcer] branch master updated: [MENFORCER-490] Declare maven-enforcer-extension dependencies (#284)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git
The following commit(s) were added to refs/heads/master by this push:
new 2aa71e7 [MENFORCER-490] Declare maven-enforcer-extension dependencies (#284)
2aa71e7 is described below
commit 2aa71e792cf2817ae8e355e5483df11a74b78ea1
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Thu Aug 24 13:41:30 2023 -0400
[MENFORCER-490] Declare maven-enforcer-extension dependencies (#284)
---
maven-enforcer-extension/pom.xml | 9 +++++++--
pom.xml | 6 ++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/maven-enforcer-extension/pom.xml b/maven-enforcer-extension/pom.xml
index dd502f4..5426764 100644
--- a/maven-enforcer-extension/pom.xml
+++ b/maven-enforcer-extension/pom.xml
@@ -34,6 +34,11 @@
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-model</artifactId>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
@@ -80,8 +85,8 @@
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/mrm/settings.xml</settingsFile>
<extraArtifacts>
- <!-- artifacts in test scope is not installed by default -->
- <!-- we only need this one not everything from test scope -->
+ <!-- Artifacts in test scope are not installed by default. -->
+ <!-- We only need this one, not everything from test scope. -->
<extraArtifact>org.apache.maven.plugins:maven-enforcer-plugin:${project.version}</extraArtifact>
</extraArtifacts>
<goals>
diff --git a/pom.xml b/pom.xml
index ca38532..0d75004 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,6 +131,12 @@
<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.eclipse.aether</groupId>
<artifactId>aether-api</artifactId>