-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.10.3
-
1
-
Severity 3 - Minor
-
Summary
Running mvn task with goal below, sets the system property with quotes:
-Dincludes="au.*,au.com.*"
Running a script task with the following inline commands, sets the system property without quotes:
/usr/share/maven/bin/mvn --batch-mode -X -Djava.io.tmpdir=/opt/atlassian/bamboo/temp/TEST-CLON-JOB1 clean package -Dincludes="au.*,au.com.*"
Expected Results
Consistency between the script task and the Maven task
Actual Results
When running maven with -X from Maven task:
build 29-Jun-2016 15:50:56 [DEBUG] Setting system property [includes]=["au.*,au.com.*"]
When running maven with -X from Script task:
build 29-Jun-2016 15:51:03 [DEBUG] Setting system property [includes]=[au.*,au.com.*]
Workaround
Remove quotes from the system property in the Maven task goals.
Quoted system property is passed through with quotes included in Maven task
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
5.10.3
-
1
-
Severity 3 - Minor
-
Summary
Running mvn task with goal below, sets the system property with quotes:
-Dincludes="au.*,au.com.*"
Running a script task with the following inline commands, sets the system property without quotes:
/usr/share/maven/bin/mvn --batch-mode -X -Djava.io.tmpdir=/opt/atlassian/bamboo/temp/TEST-CLON-JOB1 clean package -Dincludes="au.*,au.com.*"
Expected Results
Consistency between the script task and the Maven task
Actual Results
When running maven with -X from Maven task:
build 29-Jun-2016 15:50:56 [DEBUG] Setting system property [includes]=["au.*,au.com.*"]
When running maven with -X from Script task:
build 29-Jun-2016 15:51:03 [DEBUG] Setting system property [includes]=[au.*,au.com.*]
Workaround
Remove quotes from the system property in the Maven task goals.