Skip to content

Commit 435807f

Browse files
Install maven-enforcer-plugin for ITs in maven-enforcer-extension
We need use extraArtifacts to be sure that plugin is installed for ITs
1 parent 5895ff2 commit 435807f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

maven-enforcer-extension/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@
6969
<postBuildHookScript>verify</postBuildHookScript>
7070
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
7171
<settingsFile>src/it/mrm/settings.xml</settingsFile>
72+
<extraArtifacts>
73+
<!-- artifacts in test scope is not installed by default -->
74+
<!-- we only need this one not everything from test scope -->
75+
<extraArtifact>org.apache.maven.plugins:maven-enforcer-plugin:${project.version}</extraArtifact>
76+
</extraArtifacts>
7277
<goals>
7378
<goal>validate</goal>
7479
</goals>

0 commit comments

Comments
 (0)