[ 
http://jira.codehaus.org/browse/SUREFIRE-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated SUREFIRE-258:
----------------------------------

    Fix Version/s: 2.3

> Report plugin adds xmlapi jar to projectArtifacts
> -------------------------------------------------
>
>                 Key: SUREFIRE-258
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-258
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: report plugin
>    Affects Versions: 2.0 Report Plugin
>         Environment: Windows XP
>            Reporter: Wim Deblauwe
>            Priority: Blocker
>             Fix For: 2.3
>
>
> The surefire-report plugin seems to add the 
> "xml-apis:xml-apis=xml-apis:xml-apis:jar:1.0.b2:compile" to the 
> projectArtifactMap. Running mvn -X surefire-report:report gives this:
> (f) projectArtifactMap = {abbot:abbot=abbot:abbot:jar: 1.0.0rc2:test, 
> log4j:log4j=log4j:log4j:jar:1.2.8:compile, jdom:jdom=jdom:jdom:jar:1.0:test, 
> commons-betwixt:commons-betwixt=commons-betwixt:commons-betwixt:jar:0.6.ba2:compile,
>  commons-beanutils:commons-beanutils=commons-beanutils:commons-beanutils:jar: 
> 1.6:compile, junit:junit=junit:junit:jar:3.8.1:test, 
> xml-apis:xml-apis=xml-apis:xml-apis:jar:1.0.b2:compile, 
> commons-logging:commons-logging=commons-logging:commons-logging:jar:1.0.4:compile,
>  commons-digester:commons-digester=commons-digester:commons-digester:jar: 
> 1.6:compile, 
> commons-beanutils:commons-beanutils-core=commons-beanutils:commons-beanutils-core:jar:1.7.0:compile,
>  commons-lang:commons-lang=commons-lang:commons-lang:jar:2.0:compile, 
> commons-collections:commons-collections=commons-collections:commons-collections:jar:
>  3.1:compile}
> If I run "mvn -X surefire:report", then this dependency is not present in the 
> projectArtifactMap.
> This additional dependency makes my unit tests fail. Is this a known bug? Any 
> workarounds? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to