Skip to content

Commit aad24f6

Browse files
authored
chore: Use argLine maven property (#2993)
Fixes #2966
1 parent 308aeaf commit aad24f6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gax-java/gax/pom.xml

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
<version>2.50.1-SNAPSHOT</version><!-- {x-version-update:gax:current} -->
1515
</parent>
1616

17+
<properties>
18+
<!-- mvn install runs the sonar plugin which injects an argLine value to surefire -->
19+
<!-- mvn surefire:test doesn't run sonar and errors as it does not have an argLine value to expand -->
20+
<!-- An empty argLine user property can still be expanded and won't throw an error -->
21+
<argLine />
22+
</properties>
23+
1724
<dependencies>
1825
<dependency>
1926
<groupId>com.google.api</groupId>

0 commit comments

Comments
 (0)