[ 
https://issues.apache.org/jira/browse/SUREFIRE-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090032#comment-15090032
 ] 

Tibor Digana commented on SUREFIRE-964:
---------------------------------------

[~mfriedenhagen]
We have a chance to fix issues after 2.19 since we are preparing Surefire 
project for version 3.0 in git branch 3.0-RC1.
Meanwhile we can fix this issue as well but I would not do it immediately 
because it's just few days after 2.19.1 and the users have not noticed Version 
2.19.1.

The physical locations are two, so we should check the implementation and wait 
one week for another issue.
https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report.xsd
https://maven.apache.org/surefire/maven-failsafe-plugin/xsd/surefire-test-report.xsd

How much urgent issue it is for Jenkins plugin?

> TEST-*.xml files generated by Surefire throw validation warnings in Eclipse 
> for no grammer constraints (DTD or XML schema) referenced in the document
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-964
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-964
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 2.13
>         Environment: Any OS, Eclipse Juno with m2e and m2e-wtp.
>            Reporter: Josh Unger
>            Assignee: Tibor Digana
>            Priority: Trivial
>             Fix For: 2.19
>
>
> 1. Create a Maven project in Eclipse.
> 2. Add a single class and a single test method decorated with @Test.
> {code}
> import org.junit.Test;
> public class ATest
> {
>       @Test
>       public void test()
>       {
>               
>       }
> }
> {code}
> 3. Add the necessary information to the POM -
> {code}
> <build>
>     <plugins>
>         <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-surefire-plugin</artifactId>
>             <version>2.13</version>
>         </plugin>
>     </plugins>
> </build>
> <dependencies>
>     <dependency>
>         <groupId>junit</groupId>
>         <artifactId>junit</artifactId>
>         <version>4.7</version>
>         <scope>test</scope>
>     </dependency>
> </dependencies>
> {code}
> 4. Close Eclipse.
> 5. Edit your .project file to include the validator -
> {code}
> <buildCommand>
>     <name>org.eclipse.wst.validation.validationbuilder</name>
>     <arguments></arguments>
> </buildCommand>
> {code}
> 6. Build from the command line -
> > mvn install
> 7. Open Eclipse.
> EXPECTING: no warnings appear out of the box.  I understand workarounds, but 
> for the benefit of anyone going forward and existing users, there should be 
> no warnings.
> ACTUAL: warning appears -
> Description   Resource        Path    Location        Type
> No grammar constraints (DTD or XML Schema) referenced in the document.        
> TEST-ATest.xml  /test/target/surefire-reports   line 1  XML Problem



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to