[arquillian-issues] [JBoss JIRA] (ARQ-1327) arquillian-jacoco: Wrong asm library (3.1.1) dependency
Aslak Knutsen (JIRA)
issues at jboss.org
Sun Mar 2 19:58:48 EST 2014
[ https://issues.jboss.org/browse/ARQ-1327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen resolved ARQ-1327.
--------------------------------
Assignee: Aslak Knutsen
Resolution: Done
upstream: https://github.com/arquillian/arquillian-extension-jacoco/commit/595f7de0227ebc14f589e4f4d084f84c48bbb10b
> 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
> Assignee: Aslak Knutsen
> Fix For: jacoco_1.0.0.Alpha6
>
>
> 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