Version 1

    Hi,

     

    I try to integrate the arquillian-jacoco project to integrate code coverage in our tests. However the war file is not deployed to the wildfly container because it hangs in the maven script

     

    Here is the output in the maven script. It will stay in this state forever

    Includes: **/**, path: WEB-INF/classes/lu

    Includes: **/**, path: WEB-INF/classes/lu/etat/pch/docroom/ejb/utils/PchStringBridge.class

    Includes: **/**, path: WEB-INF/classes/lu/etat/pch/docroom/ejb/controllers

    Includes: **/**, path: resources/images/leaf.gif

                    (E) DeploymentScenario

            (E) DeployManagedDeployments

                    (O) ContainerDeployController.deployManaged

                    (E) DeployDeployment

                            (I) ContainerDeploymentContextHandler.createContainerContext

                            (I) ContainerDeploymentContextHandler.createDeploymentContext

                            (I) DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy

                            (O) ContainerDeployController.deploy

                            (E) DeploymentDescription

                            (E) Deployment

                            (E) BeforeDeploy

                                    (O) ServerSetupObserver.handleBeforeDeployment

                                    (O) ArchiveDeploymentToolingExporter.export

                                    (O) ArchiveDeploymentExporter.callback

                                    (O) ArquillianServiceDeployer.doServiceDeploy

    INFO  [org.xnio] XNIO version 3.2.0.Beta4

    INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.2.0.Beta4

    INFO  [org.jboss.remoting] JBoss Remoting version (unknown)

                            (E) DeploymentException

                            (E) DeploymentException

                    (E) DeploymentException

                    (E) DeploymentException

            (E) DeploymentException

            (E) DeploymentException

    (E) AfterClass

            (I) TestContextHandler.createSuiteContext

            (I) TestContextHandler.createClassContext

            (E) TestClass

            (O) ClientBeforeAfterLifecycleEventExecuter.on

            (O) ContainerEventController.execute

            (E) UnDeployManagedDeployments

                    (O) ContainerDeployController.undeployManaged

                    (E) UnDeployDeployment

                            (I) ContainerDeploymentContextHandler.createContainerContext

                            (I) ContainerDeploymentContextHandler.createDeploymentContext

                            (O) ContainerDeployController.undeploy

                            (E) BeforeUnDeploy

    I use arquillian-wildfly-remote or arquillian-wildfly-managed in version 8.1.0.Final and arquillian-bom in version 1.1.5.Final

     

    My maven code is the follwoing  :

     

    <profile>
                <id>jacoco</id>
                <dependencies>
                    <dependency>
                        <groupId>org.jacoco</groupId>
                        <artifactId>org.jacoco.core</artifactId>
                        <version>0.7.4.201502262128</version>
                        <scope>test</scope>
                    </dependency>
                    <dependency>
                        <groupId>org.jboss.arquillian.extension</groupId>
                        <artifactId>arquillian-jacoco</artifactId>
                        <version>1.0.0.Alpha8</version>
                        <scope>test</scope>
                    </dependency>
                </dependencies>
                <build>
                    <plugins>
                        <plugin>
                            <groupId>org.jacoco</groupId>
                            <artifactId>jacoco-maven-plugin</artifactId>
                            <version>0.7.4.201502262128</version>
                            <executions>
                                <execution>
                                    <goals>
                                        <goal>prepare-agent</goal>
                                    </goals>
                                </execution>
                                <execution>
                                    <id>report</id>
                                    <phase>prepare-package</phase>
                                    <goals>
                                        <goal>report</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </build>
            </profile>
    

     

    Any help is appreciated

     

    Regards

     

    Georges Goebel