Java Example
Java
Latest commit 1e35253 Sep 29, 2016 @stevepeak stevepeak committed on GitHub Merge pull request #10 from ddubson/patch-1
Fixed typo in README.md
Permalink
Failed to load latest commit information.
src initial commit Sep 28, 2014
.travis.yml Update .travis.yml Mar 25, 2016
README.md Fixed typo in README.md Sep 29, 2016
pom.xml update jacoco Aug 23, 2016

README.md

Codecov Java Example

  1. Add JaCoCo Plugin to your pom.xml file, see here
  2. Call bash <(curl -s https://codecov.io/bash) -t repository-upload-token at the end of your CI build
    • Is you repository public and tested with Travis, CircleCI or AppVeyor? Then the repository upload token is not required!

Other examples

Frequently Asked Questions

How do I enable multi-module projects?

In your pom.xml file please append a list of modules in your projects

<project>
  <modules>
    <module>module_a/</module>
    <module>module_b/</module>
  </modules>
</project>

Seeing Skipping JaCoCo execution due to missing execution data file?

Please see http://stackoverflow.com/questions/18107375/...

Does Codecov accept jacoco.exec reports?

No, these files are not supported. Please produce a xml file as detailed in the pom.xml file at codecov/example-java

Is there a Gradle example?

Yes, enter codecov/example-gradle

Is there a Android example?

Yes, enter codecov/example-android