Skip to content

Commit

Permalink
Fix deprecated goals in ITs poms
Browse files Browse the repository at this point in the history
plugin/goals is deprecated in mvn4 was removed
plugin/executions/execution/goals should be used
  • Loading branch information
slawekjaranowski committed May 12, 2023
1 parent 009b4ac commit a52cf33
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 18 deletions.
10 changes: 7 additions & 3 deletions versions-enforcer/src/it/it-max-dependency-updates-001/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>@maven-enforcer-plugin.version@</version>
<goals>
<goal>enforce</goal>
</goals>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<maxDependencyUpdates>
Expand Down
10 changes: 7 additions & 3 deletions versions-enforcer/src/it/it-max-dependency-updates-002/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>@maven-enforcer-plugin.version@</version>
<goals>
<goal>enforce</goal>
</goals>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<maxDependencyUpdates>
Expand Down
10 changes: 7 additions & 3 deletions versions-enforcer/src/it/it-max-dependency-updates-003/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>@maven-enforcer-plugin.version@</version>
<goals>
<goal>enforce</goal>
</goals>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<maxDependencyUpdates>
Expand Down
10 changes: 7 additions & 3 deletions versions-enforcer/src/it/it-max-dependency-updates-004/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>@maven-enforcer-plugin.version@</version>
<goals>
<goal>enforce</goal>
</goals>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<maxDependencyUpdates>
Expand Down
10 changes: 7 additions & 3 deletions versions-enforcer/src/it/it-max-dependency-updates-005/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>@maven-enforcer-plugin.version@</version>
<goals>
<goal>enforce</goal>
</goals>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<maxDependencyUpdates>
Expand Down
10 changes: 7 additions & 3 deletions versions-enforcer/src/it/it-max-dependency-updates-006/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>@maven-enforcer-plugin.version@</version>
<goals>
<goal>enforce</goal>
</goals>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<maxDependencyUpdates>
Expand Down

0 comments on commit a52cf33

Please sign in to comment.