Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skipping JaCoCo execution due to missing execution data file #33

Open
mmarquezvacas opened this issue Jun 22, 2017 · 0 comments
Open

Skipping JaCoCo execution due to missing execution data file #33

mmarquezvacas opened this issue Jun 22, 2017 · 0 comments

Comments

@mmarquezvacas
Copy link

mmarquezvacas commented Jun 22, 2017

Issue Overview

I've configured the profile for running jacoco coverage tests.

Expected Behaviour

I expect to have the coverage report for Arquillian tests

Current Behaviour

I execute the command: mvn clean install -Pjacoco -DskipTests=true and get:
...
[INFO] --- jacoco-maven-plugin:0.7.8:report (report) @ adm ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
...

Steps To Reproduce

I have configured an mvn profile as follows:

...
<plugin.version.jacoco>0.7.8</plugin.version.jacoco>
<plugin.version.arquillian_jacoco>1.0.0.Alpha9</plugin.version.arquillian_jacoco>
...

jacoco org.jacoco org.jacoco.core ${plugin.version.jacoco} test org.jboss.arquillian.extension arquillian-jacoco ${plugin.version.arquillian_jacoco} test org.jacoco jacoco-maven-plugin ${plugin.version.jacoco} prepare-agent report prepare-package report ...

Then executed: mvn clean install -Pjacoco -DskipTests=true

Additional Information
<details>
 <summary>$mvn --version</summary>
 Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T14:39:06-05:00)
Maven home: /opt/apache-maven-3.5.0
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /opt/java/64/jdk1.8.0_131/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-79-generic", arch: "amd64", family: "unix"
</details>
<details>
<summary>$mvn dependency:tree</summary>
INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building Genérico 
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ adm ---
[INFO] XXXXXXXXXXXXX:ejb:6.0-SNAPSHOT
[INFO] +- javax:javaee-api:jar:7.0:provided
[INFO] |  \- com.sun.mail:javax.mail:jar:1.5.0:provided
[INFO] |     \- javax.activation:activation:jar:1.1:provided
[INFO] +- junit:junit:jar:4.10:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.1:test
[INFO] +- org.mockito:mockito-all:jar:1.9.0:test
[INFO] +- org.slf4j:slf4j-api:jar:1.7.7:provided
[INFO] +- org.apache.logging.log4j:log4j-api:jar:2.2:provided
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.2:provided
[INFO] +- org.apache.logging.log4j:log4j-slf4j-impl:jar:2.2:provided
[INFO] +- org.apache.logging.log4j:log4j-web:jar:2.2:provided
[INFO] +- org.jboss.arquillian.junit:arquillian-junit-container:jar:1.1.13.Final:test
[INFO] |  +- org.jboss.arquillian.junit:arquillian-junit-core:jar:1.1.13.Final:test
[INFO] |  +- org.jboss.arquillian.test:arquillian-test-api:jar:1.1.13.Final:test
[INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-api:jar:1.1.13.Final:test
[INFO] |  +- org.jboss.arquillian.test:arquillian-test-spi:jar:1.1.13.Final:test
[INFO] |  |  \- org.jboss.arquillian.core:arquillian-core-spi:jar:1.1.13.Final:test
[INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-api:jar:1.1.13.Final:test
[INFO] |  |  \- org.jboss.shrinkwrap:shrinkwrap-api:jar:1.2.6:test
[INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-spi:jar:1.1.13.Final:test
[INFO] |  |  \- org.jboss.arquillian.container:arquillian-container-spi:jar:1.1.13.Final:test
[INFO] |  |     \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-base:jar:2.0.0-alpha-10:test
[INFO] |  +- org.jboss.arquillian.core:arquillian-core-impl-base:jar:1.1.13.Final:test
[INFO] |  +- org.jboss.arquillian.test:arquillian-test-impl-base:jar:1.1.13.Final:test
[INFO] |  +- org.jboss.arquillian.container:arquillian-container-impl-base:jar:1.1.13.Final:test
[INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-api:jar:1.1.13.Final:test
[INFO] |  |  +- org.jboss.arquillian.config:arquillian-config-impl-base:jar:1.1.13.Final:test
[INFO] |  |  \- org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-spi:jar:2.0.0-alpha-10:test
[INFO] |  +- org.jboss.arquillian.container:arquillian-container-test-impl-base:jar:1.1.13.Final:test
[INFO] |  \- org.jboss.shrinkwrap:shrinkwrap-impl-base:jar:1.2.6:test
[INFO] |     \- org.jboss.shrinkwrap:shrinkwrap-spi:jar:1.2.6:test
[INFO] \- log4j:log4j:jar:1.2.16:provided
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.004 s
[INFO] Finished at: 2017-06-22T11:26:49-05:00
[INFO] Final Memory: 14M/228M
[INFO] ------------------------------------------------------------------------
</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant