Skip to content

Commit

Permalink
Fix IQSS#5122. Netbeans does not like the ${argLine} var, thus move t…
Browse files Browse the repository at this point in the history
…he argLine stuff from IQSS#4988 to a property.
  • Loading branch information
poikilotherm committed Oct 1, 2018
1 parent 6eecbf1 commit 89eb58e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<project.timezone>UTC</project.timezone>
<project.language>en</project.language>
<project.region>US</project.region>
<!--
Moving this from plugin config to global config, because of GH-5122.
This seems to play well with NetBeans 8.2, IDEA 2018.1 and mvn including compatibility with JaCoCo.
-->
<argLine>-Duser.timezone=${project.timezone} -Dfile.encoding=${project.build.sourceEncoding} -Duser.language=${project.language} -Duser.region=${project.region}</argLine>

<junit.version>4.12</junit.version>
<junit.jupiter.version>5.3.1</junit.jupiter.version>
Expand Down Expand Up @@ -657,9 +662,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<configuration>
<!-- testsToExclude come from the profile-->
<excludedGroups>${testsToExclude}</excludedGroups>
<argLine>${argLine} -Duser.timezone=${project.timezone} -Dfile.encoding=${project.build.sourceEncoding} -Duser.language=${project.language} -Duser.region=${project.region}</argLine>
<!-- testsToExclude come from the profile-->
<excludedGroups>${testsToExclude}</excludedGroups>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 89eb58e

Please sign in to comment.