From commits-return-17156-apmail-usergrid-commits-archive=usergrid.apache.org@usergrid.apache.org Wed Oct 21 14:03:38 2015 Return-Path: X-Original-To: apmail-usergrid-commits-archive@minotaur.apache.org Delivered-To: apmail-usergrid-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77050180B9 for ; Wed, 21 Oct 2015 14:03:38 +0000 (UTC) Received: (qmail 68740 invoked by uid 500); 21 Oct 2015 14:03:38 -0000 Delivered-To: apmail-usergrid-commits-archive@usergrid.apache.org Received: (qmail 68691 invoked by uid 500); 21 Oct 2015 14:03:38 -0000 Mailing-List: contact commits-help@usergrid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@usergrid.apache.org Delivered-To: mailing list commits@usergrid.apache.org Received: (qmail 68158 invoked by uid 99); 21 Oct 2015 14:03:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 14:03:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E55F4E0451; Wed, 21 Oct 2015 14:03:37 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: snoopdave@apache.org To: commits@usergrid.apache.org Date: Wed, 21 Oct 2015 14:03:59 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [23/30] usergrid git commit: Jacoco reports now built into every module w/instructions in Coverage.md. 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 @@ - -