Skip to content

Commit 7c1dbfe

Browse files
author
Steve Peak
authored
Update README.md
1 parent 1953305 commit 7c1dbfe

File tree

1 file changed

+10
-38
lines changed

1 file changed

+10
-38
lines changed

README.md

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,19 @@
1-
[Codecov][0] Java Example
2-
=========================
1+
[Codecov][0] Java Maven Example
2+
===============================
33

4-
1. Add JaCoCo Plugin to your pom.xml file, [see here](https://github.com/codecov/example-java/blob/master/pom.xml#L38-L56)
5-
2. Call `bash <(curl -s https://codecov.io/bash) -t repository-upload-token` at the end of your CI build
6-
- Is you repository public and tested with Travis, CircleCI or AppVeyor? Then the repository upload token is not required!
4+
1. Add `cobertura-maven-plugin` plugin to your pom.xml file, [see here](https://github.com/codecov/example-java-maven/blob/master/pom.xml#L47-L58)
5+
2. Call `bash <(curl -s https://codecov.io/bash)` at the end of your CI build, [see here](https://github.com/codecov/example-java-maven/blob/master/.travis.yml#L7)
6+
- [Learn how to include your upload repository token][5]
77

8-
> Also see out [Example Android][3] and [Example Gradle][2] repositories.
9-
10-
11-
# Frequently Asked Questions
12-
13-
####❔How do I enable multi-module projects?
14-
15-
In your `pom.xml` file please append a list of modules in your projects
16-
17-
```xml
18-
<project>
19-
<modules>
20-
<module>module_a/</module>
21-
<module>model_b/</module>
22-
</modules>
23-
</project>
24-
```
25-
26-
####❔Seeing `Skipping JaCoCo execution due to missing execution data file`?
27-
28-
Please see [http://stackoverflow.com/questions/18107375/...](http://stackoverflow.com/questions/18107375/getting-skipping-jacoco-execution-due-to-missing-execution-data-file-upon-exec)
29-
30-
####❔Does Codecov accept `jacoco.exec` reports?
31-
32-
**No**, these files are not supported. Please produce a `xml` file as detailed in the pom.xml file at [codecov/example-java][1]
33-
34-
####❔Is there a Gradle example?
35-
36-
**Yes**, enter [codecov/example-gradle][2]
37-
38-
####❔Is there a Android example?
39-
40-
**Yes**, enter [codecov/example-android][3]
8+
> Other Examples
9+
> - [Java JaCoCo Example][1]
10+
> - [Android Example][3]
11+
> - [Gradle Example][2]
4112
4213

4314

4415
[0]: https://codecov.io/
4516
[1]: https://github.com/codecov/example-java
4617
[2]: https://github.com/codecov/example-gradle
4718
[3]: https://github.com/codecov/example-android
19+
[5]: http://docs.codecov.io/docs/about-the-codecov-bash-uploader#section-upload-token

0 commit comments

Comments
 (0)