Jacoco reports now built into every module w/instructions in Coverage.md. Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/29f5717f Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/29f5717f Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/29f5717f Branch: refs/heads/usergrid-1007-shiro-cache Commit: 29f5717fcec50bdeea41b4175a31f84a7921fe7b Parents: 0f6f052 Author: Dave Johnson Authored: Tue Oct 20 13:42:18 2015 -0400 Committer: Dave Johnson Committed: Tue Oct 20 13:42:18 2015 -0400 ---------------------------------------------------------------------- stack/Coverage.md | 21 +++++ stack/corepersistence/graph/pom.xml | 106 ++++++++------------------ stack/corepersistence/pom.xml | 9 +++ stack/corepersistence/queryindex/pom.xml | 46 +++++------ stack/pom.xml | 7 -- 5 files changed, 86 insertions(+), 103 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/29f5717f/stack/Coverage.md ---------------------------------------------------------------------- diff --git a/stack/Coverage.md b/stack/Coverage.md new file mode 100644 index 0000000..a2c1e47 --- /dev/null +++ b/stack/Coverage.md @@ -0,0 +1,21 @@ +Generating Coverage reports +--- + +run this command: mvn verify jacoco:report + +Once you do that the below coverage reports will be available. + +Coverage reports +--- + +* [./core/target/site/jacoco/index.html](file:./core/target/site/jacoco/index.html) +* [./corepersistence/collection/target/site/jacoco/index.html](file:./corepersistence/collection/target/site/jacoco/index.html) +* [./corepersistence/common/target/site/jacoco/index.html](file:./corepersistence/common/target/site/jacoco/index.html) +* [./corepersistence/graph/target/site/jacoco/index.html](file:./corepersistence/graph/target/site/jacoco/index.html) +* [./corepersistence/map/target/site/jacoco/index.html](file:./corepersistence/map/target/site/jacoco/index.html) +* [./corepersistence/model/target/site/jacoco/index.html](file:./corepersistence/model/target/site/jacoco/index.html) +* [./corepersistence/queryindex/target/site/jacoco/index.html](file:./corepersistence/queryindex/target/site/jacoco/index.html) +* [./corepersistence/queue/target/site/jacoco/index.html](file:./corepersistence/queue/target/site/jacoco/index.html) +* [./services/target/site/jacoco/index.html](file:./services/target/site/jacoco/index.html) +* [./rest/target/site/jacoco/index.html](file:./services/target/site/jacoco/index.html) + http://git-wip-us.apache.org/repos/asf/usergrid/blob/29f5717f/stack/corepersistence/graph/pom.xml ---------------------------------------------------------------------- diff --git a/stack/corepersistence/graph/pom.xml b/stack/corepersistence/graph/pom.xml index 776380f..4a3a8a7 100644 --- a/stack/corepersistence/graph/pom.xml +++ b/stack/corepersistence/graph/pom.xml @@ -34,20 +34,6 @@ Usergrid Graph - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire.plugin.version} - - -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec - - - - - @@ -106,64 +92,36 @@ - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - - **/*ChopTest.java - **/*LoadTest.java - **/*StressTest.java - - - - - - + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${surefire.plugin.version} + + + -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + + **/*ChopTest.java + **/*LoadTest.java + **/*StressTest.java + + + + + + + + http://git-wip-us.apache.org/repos/asf/usergrid/blob/29f5717f/stack/corepersistence/pom.xml ---------------------------------------------------------------------- diff --git a/stack/corepersistence/pom.xml b/stack/corepersistence/pom.xml index 09effb5..b98139c 100644 --- a/stack/corepersistence/pom.xml +++ b/stack/corepersistence/pom.xml @@ -75,6 +75,8 @@ limitations under the License. 2.16 1.10.6 3.0.0 + 2.18.1 + 0.7.5.201505241946 @@ -129,6 +131,13 @@ limitations under the License. + + + + org.jacoco + jacoco-maven-plugin + + http://git-wip-us.apache.org/repos/asf/usergrid/blob/29f5717f/stack/corepersistence/queryindex/pom.xml ---------------------------------------------------------------------- diff --git a/stack/corepersistence/queryindex/pom.xml b/stack/corepersistence/queryindex/pom.xml index e6a26b0..e2694c4 100644 --- a/stack/corepersistence/queryindex/pom.xml +++ b/stack/corepersistence/queryindex/pom.xml @@ -47,33 +47,35 @@ - org.apache.maven.plugins - maven-surefire-plugin + org.apache.maven.plugins + maven-surefire-plugin - - - **/*IT.java - **/*Test.java - - - - **/IndexLoadTestsIT.java - + + + **/*IT.java + **/*Test.java + + + + **/IndexLoadTestsIT.java + - + - + - + + org.apache.maven.plugins + maven-surefire-plugin + ${surefire.plugin.version} + + + -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec + + + - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire.plugin.version} - - -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec - - + http://git-wip-us.apache.org/repos/asf/usergrid/blob/29f5717f/stack/pom.xml ---------------------------------------------------------------------- diff --git a/stack/pom.xml b/stack/pom.xml index ec60200..2236e22 100644 --- a/stack/pom.xml +++ b/stack/pom.xml @@ -1681,13 +1681,6 @@ - -