Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-258

Report plugin adds xmlapi jar to projectArtifacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 2.0 Report Plugin
    • None
    • None
    • Windows XP

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            wim.deblauwe@gmail.com Wim Deblauwe
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: