[arquillian-issues] [JBoss JIRA] (ARQ-1327) arquillian-jacoco: Wrong asm library (3.1.1) dependency
Tobias Seppenhauser (JIRA)
jira-events at lists.jboss.org
Mon Mar 4 07:02:57 EST 2013
Tobias Seppenhauser created ARQ-1327:
----------------------------------------
Summary: arquillian-jacoco: Wrong asm library (3.1.1) dependency
Key: ARQ-1327
URL: https://issues.jboss.org/browse/ARQ-1327
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Extension - Jacoco
Affects Versions: jacoco_1.0.0.Alpha5
Reporter: Tobias Seppenhauser
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).
{code}
public abstract class ClassProbesVisitor extends ClassVisitor {
...
}
{code}
So, in my opion the asm-depencency should be changed to 4.1 to avoid this error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list