diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2024-05-06 15:48:11 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2024-05-07 13:04:55 +0200 |
commit | f2df80dbd277ffa97d2d43f8e44368944d3e1e4b (patch) | |
tree | 23762f8e8f545df1ec65da0e910a7ca98888da0e /it/pom.xml | |
parent | 3f3dfbe7907f6e2c0efe2d1b2a515db234cb65da (diff) | |
download | sonar-scanner-cli-f2df80dbd277ffa97d2d43f8e44368944d3e1e4b.tar.gz sonar-scanner-cli-f2df80dbd277ffa97d2d43f8e44368944d3e1e4b.zip |
Update to the latest scanner-java-library
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> |