Skip to content

Commit 2aa71e7

Browse files
authored
[MENFORCER-490] Declare maven-enforcer-extension dependencies (#284)
1 parent d4ec8e1 commit 2aa71e7

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

maven-enforcer-extension/pom.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
<groupId>org.apache.maven</groupId>
3535
<artifactId>maven-core</artifactId>
3636
</dependency>
37+
<dependency>
38+
<groupId>org.apache.maven</groupId>
39+
<artifactId>maven-model</artifactId>
40+
<scope>provided</scope>
41+
</dependency>
3742
<dependency>
3843
<groupId>javax.inject</groupId>
3944
<artifactId>javax.inject</artifactId>
@@ -80,8 +85,8 @@
8085
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
8186
<settingsFile>src/it/mrm/settings.xml</settingsFile>
8287
<extraArtifacts>
83-
<!-- artifacts in test scope is not installed by default -->
84-
<!-- we only need this one not everything from test scope -->
88+
<!-- Artifacts in test scope are not installed by default. -->
89+
<!-- We only need this one, not everything from test scope. -->
8590
<extraArtifact>org.apache.maven.plugins:maven-enforcer-plugin:${project.version}</extraArtifact>
8691
</extraArtifacts>
8792
<goals>

pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@
131131
<version>${mavenVersion}</version>
132132
<scope>provided</scope>
133133
</dependency>
134+
<dependency>
135+
<groupId>org.apache.maven</groupId>
136+
<artifactId>maven-model</artifactId>
137+
<version>${mavenVersion}</version>
138+
<scope>provided</scope>
139+
</dependency>
134140
<dependency>
135141
<groupId>org.eclipse.aether</groupId>
136142
<artifactId>aether-api</artifactId>

0 commit comments

Comments
 (0)