Skip to content

Commit

Permalink
Merge pull request #9556 from famod/argLine-fixes
Browse files Browse the repository at this point in the history
Fix argLine handling in two integration-tests modules
  • Loading branch information
geoand authored May 25, 2020
2 parents a860bd9 + 8c483e7 commit 08c30ea
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions integration-tests/hibernate-validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- force the locale as we want to explicitly test message interpolation -->
<argLine>-Duser.language=en</argLine>
<systemPropertyVariables>
<!-- force the locale as we want to explicitly test message interpolation -->
<user.language>en</user.language>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
Expand All @@ -99,9 +101,9 @@
<goal>verify</goal>
</goals>
<configuration>
<!-- force the locale as we want to explicitly test message interpolation -->
<argLine>-Duser.language=en</argLine>
<systemPropertyVariables>
<!-- force the locale as we want to explicitly test message interpolation -->
<user.language>en</user.language>
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
</systemPropertyVariables>
</configuration>
Expand Down
10 changes: 6 additions & 4 deletions integration-tests/rest-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- force the locale as we want to explicitly test message interpolation -->
<argLine>-Duser.language=en</argLine>
<systemPropertyVariables>
<!-- force the locale as we want to explicitly test message interpolation -->
<user.language>en</user.language>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
Expand All @@ -94,9 +96,9 @@
<goal>verify</goal>
</goals>
<configuration>
<!-- force the locale as we want to explicitly test message interpolation -->
<argLine>-Duser.language=en</argLine>
<systemPropertyVariables>
<!-- force the locale as we want to explicitly test message interpolation -->
<user.language>en</user.language>
<native.image.path>${project.build.directory}/${project.build.finalName}-runner</native.image.path>
</systemPropertyVariables>
</configuration>
Expand Down

0 comments on commit 08c30ea

Please sign in to comment.