Repository: maven-surefire Updated Branches: refs/heads/master e8f0de332 -> cf64b1137
Add missing slash in closing tag of 'use argLine' error message Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/cf64b113 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/cf64b113 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/cf64b113 Branch: refs/heads/master Commit: cf64b1137ad6a941f157face8991b9e24774b716 Parents: e8f0de3 Author: Philip Graf <g...@acanda.ch> Authored: Wed Jul 22 23:51:16 2015 +0200 Committer: Philip Graf <g...@acanda.ch> Committed: Wed Jul 22 23:51:16 2015 +0200 ---------------------------------------------------------------------- .../org/apache/maven/plugin/surefire/AbstractSurefireMojo.java | 2 +- .../maven/surefire/its/jiras/Surefire1053SystemPropertiesIT.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/cf64b113/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java ---------------------------------------------------------------------- diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java index 8f333f7..4af79f2 100644 --- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java +++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/AbstractSurefireMojo.java @@ -908,7 +908,7 @@ public abstract class AbstractSurefireMojo if ( getArgLine() == null || !getArgLine().contains( "-D" + o + "=" ) ) { getLog().warn( o + " cannot be set as system property, use <argLine>-D" - + o + "=...<argLine> instead" ); + + o + "=...</argLine> instead" ); } } for ( Object systemPropertyMatchingArgLine : systemPropertiesMatchingArgLine( result ) ) http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/cf64b113/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1053SystemPropertiesIT.java ---------------------------------------------------------------------- diff --git a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1053SystemPropertiesIT.java b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1053SystemPropertiesIT.java index c33f6c9..6494b79 100644 --- a/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1053SystemPropertiesIT.java +++ b/surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire1053SystemPropertiesIT.java @@ -41,7 +41,7 @@ public class Surefire1053SystemPropertiesIT .executeTest() .verifyErrorFree( 1 ) .verifyTextInLog( "file.encoding cannot be set as system property, use <argLine>-D" - + "file.encoding=...<argLine> instead" ); + + "file.encoding=...</argLine> instead" ); } @Test public void checkWarningsSysPropTwice() throws Exception