Skip to content

Commit

Permalink
[MENFORCER-490] Declare maven-enforcer-extension dependencies (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored Aug 24, 2023
1 parent d4ec8e1 commit 2aa71e7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions maven-enforcer-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2aa71e7

Please sign in to comment.