Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1327

arquillian-jacoco: Wrong asm library (3.1.1) dependency

    XMLWordPrintable

    Details

      Description

      In its pom.xml the arquillian-jacoco extension is requiring the asm library in version 3.1.1

      http://search.maven.org/remotecontent?filepath=org/jboss/arquillian/extension/arquillian-jacoco/1.0.0.Alpha5/arquillian-jacoco-1.0.0.Alpha5.pom

      The Jacoco libraries itself don't require a certain version of the asm library.

      http://search.maven.org/remotecontent?filepath=org/jacoco/org.jacoco.core/0.6.0.201210061924/org.jacoco.core-0.6.0.201210061924.pom

      But the problem is, that trying to run a coverage test with arquillian-jacoco and using asm in version 3.1.1 is leading to an IncompatibleClassChangeError.

      The class org.jacoco.core.internal.flow.ClassProbesVisitor is extending org.objectweb.asm.ClassVisitor, which is an interface in 3.1.1 and an abstract class in the latest version (4.1).

      public abstract class ClassProbesVisitor extends ClassVisitor {
         ...
      }
      

      So, in my opion the asm-depencency should be changed to 4.1 to avoid this error.

        Attachments

          Activity

            People

            Assignee:
            aslak Aslak Knutsen
            Reporter:
            res_offz Tobias Seppenhauser (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: