[arquillian-issues] [JBoss JIRA] (ARQ-1387) Support code coverage for jar/war deployed by ZipImporter

yangju (JIRA) issues at jboss.org
Mon Mar 3 16:22:37 EST 2014


    [ https://issues.jboss.org/browse/ARQ-1387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12949563#comment-12949563 ] 

yangju commented on ARQ-1387:
-----------------------------

With the latest 	 jacoco_1.0.0.Alpha6, we ran the command "mvn -Pcoverage integration-test and got error like:
Error is -
Caused by: org.jboss.shrinkwrap.api.exporter.ArchiveExportException: java.lang.IncompatibleClassChangeError: class org.jacoco.core.internal.flow.ClassProbesVisitor has interface org.objectweb.asm.ClassVisitor as super class
        at rg.jboss.shrinkwrap.impl.base.exporter.FutureCompletionInputStream.awaitOnFutureOnDone(FutureCompletionInputStream.java:125)

Please take a look. I am attaching our pom file
                
> Support code coverage for jar/war deployed by ZipImporter
> ---------------------------------------------------------
>
>                 Key: ARQ-1387
>                 URL: https://issues.jboss.org/browse/ARQ-1387
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Jacoco
>    Affects Versions: jacoco_1.0.0.Alpha5
>         Environment: jdk 1.7, org.jacoco.core.0.6.2.20130203000
>            Reporter: Andy Ma
>            Assignee: Aslak Knutsen
>              Labels: arquillian-jacoco, jacoco
>             Fix For: jacoco_1.0.0.Alpha6
>
>
> If deployed with ZipImporter like: 
> ShrinkWrap.create(ZipImporter.class, name)
>         .importFrom(new File(MODULE_PATH + "/" + name)).as(WebArchive.class);
> the code coverage of imported archive can not be reported.

--
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