Skip to content

Commit

Permalink
Cleanups ITs
Browse files Browse the repository at this point in the history
- use default goal defined for m-invoker-p
- remove invoker.properties with default values
  • Loading branch information
slawekjaranowski committed Mar 10, 2024
1 parent fdeb501 commit 5908b14
Show file tree
Hide file tree
Showing 69 changed files with 1 addition and 193 deletions.
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@
<enforcerPluginVersion>${maven-enforcer-plugin.version}</enforcerPluginVersion>
</filterProperties>
<goals>
<goal>clean</goal>
<goal>initialize</goal>
<goal>enforcer:enforce</goal>
</goals>
</configuration>
<executions>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce
invoker.buildResult = failure
5 changes: 0 additions & 5 deletions src/it/banduplicate-classes-fail-when-not-identical/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
</BanDuplicateClasses>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/banduplicate-classes-ignore-when-identical/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
</BanDuplicateClasses>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 0 additions & 2 deletions src/it/banduplicate-classes-jdk9/invoker.properties

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/banduplicate-classes-jdk9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
</BanDuplicateClasses>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/banduplicate-classes-wildcard-exclusion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
</BanDuplicateClasses>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 0 additions & 2 deletions src/it/circular-simple/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
invoker.goals=enforcer:enforce
invoker.buildResult = failure
invoker.maven.version = 3.0+
1 change: 0 additions & 1 deletion src/it/classname-conflict/invoker.properties

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-excluded-deps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce install
invoker.buildResult = failure
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-excluding-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce install
invoker.buildResult = failure
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce install
invoker.buildResult = failure
5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-jdkVersionOption/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce install
invoker.buildResult = failure
5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-missing-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce
invoker.buildResult = failure
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-module-info-jdk8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-module-info-jdk9/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-multirelease-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce
invoker.buildResult = failure
5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-multirelease-strict/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@
</rules>
</configuration>

<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-multirelease/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce install
invoker.buildResult = failure
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
invoker.goals = enforcer:enforce install
invoker.buildResult = failure
invoker.debug = false
5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-with-banned-deps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
invoker.goals = enforcer:enforce install
invoker.mavenOpts = -ea
invoker.buildResult = failure
5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-with-corrupted-jar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions src/it/enforce-bytecode-version-wo-banned-deps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@
</enforceBytecodeVersion>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
1 change: 0 additions & 1 deletion src/it/ignores/invoker.properties

This file was deleted.

2 changes: 0 additions & 2 deletions src/it/local-project-repo/invoker.properties

This file was deleted.

1 change: 0 additions & 1 deletion src/it/mojo-1682/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce
invoker.buildResult = failure
1 change: 0 additions & 1 deletion src/it/mojo-1731/invoker.properties

This file was deleted.

1 change: 0 additions & 1 deletion src/it/mojo-1744/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce
invoker.buildResult = failure
1 change: 0 additions & 1 deletion src/it/mojo-1769/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
invoker.goals = enforcer:enforce
invoker.buildResult = failure
1 change: 0 additions & 1 deletion src/it/mojo-1799/invoker.properties

This file was deleted.

2 changes: 0 additions & 2 deletions src/it/require-encoding-iso88591/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
invoker.goals = enforcer:enforce install
invoker.mavenOpts = -Dfile.encoding=UTF-8
invoker.buildResult = success
5 changes: 0 additions & 5 deletions src/it/require-encoding-iso88591/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
</requireEncoding>
</rules>
</configuration>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
1 change: 0 additions & 1 deletion src/it/require-encoding-usascii/invoker.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
invoker.goals = enforcer:enforce install
invoker.mavenOpts = -Dfile.encoding=UTF-8
invoker.buildResult = failure
Loading

0 comments on commit 5908b14

Please sign in to comment.