diff options
Diffstat (limited to 'it/pom.xml')
-rw-r--r-- | it/pom.xml | 38 |
1 files changed, 22 insertions, 16 deletions
@@ -67,22 +67,28 @@ </dependencies> <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <systemProperties> - <scanner.version>${env.PROJECT_VERSION}</scanner.version> - </systemProperties> - <includes> - <include>**/SonarScannerTestSuite.java</include> - </includes> - </configuration> - </plugin> - </plugins> - </pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <!-- Some tests are asserting on localized messages or dates --> + <systemPropertyVariables> + <user.language>en</user.language> + <user.country>US</user.country> + </systemPropertyVariables> + <environmentVariables> + <LANGUAGE>en_US</LANGUAGE> + </environmentVariables> + <systemProperties> + <scanner.version>${env.PROJECT_VERSION}</scanner.version> + </systemProperties> + <includes> + <include>**/SonarScannerTestSuite.java</include> + </includes> + </configuration> + </plugin> + </plugins> </build> <profiles> |