Skip to content

Commit

Permalink
Enforce JAVA_HOME for ITs
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo authored and slachiewicz committed May 11, 2022
1 parent f75c252 commit 13164e0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,24 @@
</repositories>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-JAVA_HOME-is-set</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireEnvironmentVariable>
<variableName>JAVA_HOME</variableName>
</requireEnvironmentVariable>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 13164e0

Please sign in to comment.