Skip to content

Commit

Permalink
Install maven-enforcer-plugin for ITs in maven-enforcer-extension
Browse files Browse the repository at this point in the history
We need use extraArtifacts to be sure that plugin is installed for ITs
  • Loading branch information
slawekjaranowski committed Mar 27, 2023
1 parent 5895ff2 commit 435807f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions maven-enforcer-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@
<postBuildHookScript>verify</postBuildHookScript>
<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 -->
<extraArtifact>org.apache.maven.plugins:maven-enforcer-plugin:${project.version}</extraArtifact>
</extraArtifacts>
<goals>
<goal>validate</goal>
</goals>
Expand Down

0 comments on commit 435807f

Please sign in to comment.