maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfriedenha...@apache.org
Subject maven-surefire git commit: SUREFIRE-1216: TEST-*.xml files generated by Surefire are invalid.
Date Sun, 10 Jan 2016 19:54:13 GMT
Repository: maven-surefire
Updated Branches:
  refs/heads/master 62009aca4 -> 536f5c621


SUREFIRE-1216: TEST-*.xml files generated by Surefire are invalid.


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/536f5c62
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/536f5c62
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/536f5c62

Branch: refs/heads/master
Commit: 536f5c621ca55f05df295f64a69eca8b1056db14
Parents: 62009ac
Author: Mirko Friedenhagen <mfriedenhagen@apache.org>
Authored: Sat Jan 9 21:21:43 2016 +0100
Committer: Mirko Friedenhagen <mfriedenhagen@apache.org>
Committed: Sun Jan 10 20:51:04 2016 +0100

----------------------------------------------------------------------
 .../apache/maven/plugin/surefire/report/StatelessXmlReporter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/536f5c62/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
----------------------------------------------------------------------
diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
index 94c8d06..3305c5b 100644
--- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
+++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
@@ -354,7 +354,7 @@ public class StatelessXmlReporter
 
         ppw.addAttribute( "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance" );
 
-        ppw.addAttribute( "xsi:schemaLocation",
+        ppw.addAttribute( "xsi:noNamespaceSchemaLocation",
                           "https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd"
);
 
         ppw.addAttribute( "name", report.getReportName( reportNameSuffix1 ) );


Mime
View raw message