usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [08/17] usergrid git commit: Add Jacoco to all modules.
Date Tue, 20 Oct 2015 22:00:37 GMT
Add Jacoco to all modules.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/0f6f052e
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/0f6f052e
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/0f6f052e

Branch: refs/heads/remove-inmemory-event-service
Commit: 0f6f052e574183eb8a1b937bbac903d5e0629749
Parents: e7c805f
Author: Dave Johnson <snoopdave@apache.org>
Authored: Mon Oct 19 14:03:53 2015 -0400
Committer: Dave Johnson <snoopdave@apache.org>
Committed: Mon Oct 19 14:03:53 2015 -0400

----------------------------------------------------------------------
 stack/core/pom.xml                       |  2 +-
 stack/corepersistence/collection/pom.xml | 50 +++-----------
 stack/corepersistence/common/pom.xml     | 16 +++++
 stack/corepersistence/graph/pom.xml      | 16 +++++
 stack/corepersistence/map/pom.xml        | 16 +++++
 stack/corepersistence/model/pom.xml      | 16 +++++
 stack/corepersistence/queryindex/pom.xml | 10 +++
 stack/corepersistence/queue/pom.xml      | 16 +++++
 stack/pom.xml                            | 95 ++++++++++++++++++++++-----
 stack/rest/pom.xml                       |  8 ++-
 stack/services/pom.xml                   |  4 +-
 stack/test-utils/pom.xml                 |  2 +-
 stack/tools/pom.xml                      |  2 +-
 stack/websocket/pom.xml                  |  2 +-
 14 files changed, 191 insertions(+), 64 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/core/pom.xml
----------------------------------------------------------------------
diff --git a/stack/core/pom.xml b/stack/core/pom.xml
index 15470ad..e0f8d43 100644
--- a/stack/core/pom.xml
+++ b/stack/core/pom.xml
@@ -89,7 +89,7 @@
                 <forkCount>${usergrid.it.forkCount}</forkCount>
                 <threadCount>${usergrid.it.threads}</threadCount>
                 <reuseForks>true</reuseForks>
-                <argLine>-Dtest.barrier.timestamp=${maven.build.timestamp} -Dtest.clean.storage=true
-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar
${ug.argline} </argLine>
+                <argLine>-Dtest.barrier.timestamp=${maven.build.timestamp} -Dtest.clean.storage=true
-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}
</argLine>
                 <!-- see this page for documentation on classloading issues http://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html
-->
                 <!--<useSystemClassLoader>false</useSystemClassLoader>-->
                 <!--<useManifestOnlyJar>false</useManifestOnlyJar>-->

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/collection/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/collection/pom.xml b/stack/corepersistence/collection/pom.xml
index 8d5ca57..62fadf7 100644
--- a/stack/corepersistence/collection/pom.xml
+++ b/stack/corepersistence/collection/pom.xml
@@ -18,48 +18,16 @@
   <build>
 
     <plugins>
-
-<!--      <plugin>
-        <groupId>org.safehaus.chop</groupId>
-        <artifactId>chop-maven-plugin</artifactId>
-        <version>${chop.version}</version>
-
-
-        NOTE: you should be putting most of these variables into your settings.xml
-        as an automatically activated profile.
-
-
-        <configuration>
-          <accessKey>${aws.s3.key}</accessKey>
-          <secretKey>${aws.s3.secret}</secretKey>
-          <availabilityZone>${availabilityZone}</availabilityZone>
-          <bucketName>${aws.s3.bucket}</bucketName>
-          <managerAppUsername>admin</managerAppUsername>
-          <managerAppPassword>${manager.app.password}</managerAppPassword>
-          <testPackageBase>org.apache.usergrid</testPackageBase>
-          <runnerSSHKeyFile>${runner.ssh.key.file}</runnerSSHKeyFile>
-          <failIfCommitNecessary>false</failIfCommitNecessary>
-          <amiID>${ami.id}</amiID>
-          <instanceType>m1.large</instanceType>
-          <resultsDirectory>${resultsDirectory}</resultsDirectory>
-          <dumpType>${dumpType}</dumpType>
-          <coldRestartTomcat>true</coldRestartTomcat>
-          <awsSecurityGroup>${security.group}</awsSecurityGroup>
-          <runnerKeyPairName>${runner.keypair.name}</runnerKeyPairName>
-          <runnerCount>6</runnerCount>
-          <securityGroupExceptions>
-
-            Add your own IP address as an exception to allow access
-            but please do this in the settings.xml file .. essentially
-            all parameters should be in the settings.xml file.
-
-            <param>${myip.address}/32:24981</param>
-            <param>${myip.address}/32:22</param>
-          </securityGroupExceptions>
-        </configuration>
-      </plugin>-->
-
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <version>${surefire.plugin.version}</version>
+            <configuration>
+                <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+            </configuration>
+        </plugin>
     </plugins>
+
   </build>
 
   <dependencies>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/common/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/common/pom.xml b/stack/corepersistence/common/pom.xml
index 5481573..6e1e81b 100644
--- a/stack/corepersistence/common/pom.xml
+++ b/stack/corepersistence/common/pom.xml
@@ -12,6 +12,22 @@
   <artifactId>common</artifactId>
   <name>Usergrid Common</name>
 
+
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${surefire.plugin.version}</version>
+                <configuration>
+                    <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+
+    </build>
+
   <dependencies>
 
     <dependency>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/graph/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/graph/pom.xml b/stack/corepersistence/graph/pom.xml
index 1b02dd4..776380f 100644
--- a/stack/corepersistence/graph/pom.xml
+++ b/stack/corepersistence/graph/pom.xml
@@ -33,6 +33,22 @@
 
   <name>Usergrid Graph</name>
 
+
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${surefire.plugin.version}</version>
+                <configuration>
+                    <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+
+    </build>
+
   <dependencies>
 
     <dependency>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/map/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/map/pom.xml b/stack/corepersistence/map/pom.xml
index f8460b2..aec9fb7 100644
--- a/stack/corepersistence/map/pom.xml
+++ b/stack/corepersistence/map/pom.xml
@@ -31,6 +31,22 @@ limitations under the License.
   <artifactId>map</artifactId>
   <name>Usergrid Map</name>
 
+
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${surefire.plugin.version}</version>
+                <configuration>
+                    <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+
+    </build>
+
   <dependencies>
 
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/model/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/model/pom.xml b/stack/corepersistence/model/pom.xml
index 03d5f91..ce0076d 100644
--- a/stack/corepersistence/model/pom.xml
+++ b/stack/corepersistence/model/pom.xml
@@ -12,6 +12,22 @@
     <artifactId>model</artifactId>
     <name>Usergrid Model</name>
 
+
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${surefire.plugin.version}</version>
+                <configuration>
+                    <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+
+    </build>
+
     <!-- Runtime Dependencies -->
     <dependencies>
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/queryindex/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queryindex/pom.xml b/stack/corepersistence/queryindex/pom.xml
index d7397bd..e6a26b0 100644
--- a/stack/corepersistence/queryindex/pom.xml
+++ b/stack/corepersistence/queryindex/pom.xml
@@ -65,6 +65,16 @@
                    </plugin>
 
         </plugins>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>${surefire.plugin.version}</version>
+                    <configuration>
+                        <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+                    </configuration>
+                </plugin>
+
     </build>
 
     <dependencies>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/corepersistence/queue/pom.xml
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queue/pom.xml b/stack/corepersistence/queue/pom.xml
index 8ab60a2..34827b3 100644
--- a/stack/corepersistence/queue/pom.xml
+++ b/stack/corepersistence/queue/pom.xml
@@ -33,6 +33,22 @@
 
   <name>Usergrid Queue</name>
 
+
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${surefire.plugin.version}</version>
+                <configuration>
+                    <argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+
+    </build>
+
   <dependencies>
 
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/pom.xml
----------------------------------------------------------------------
diff --git a/stack/pom.xml b/stack/pom.xml
index 65a96c7..ec60200 100644
--- a/stack/pom.xml
+++ b/stack/pom.xml
@@ -104,6 +104,7 @@
       <hector-om-version>3.0-03</hector-om-version>
       <hector-version>1.1-4</hector-version>
       <hector-test-version>1.1-4</hector-test-version>
+      <jacoco.version>0.7.5.201505241946</jacoco.version>
       <jackson-version>1.9.9</jackson-version>
       <jackson-2-version>2.3.3</jackson-2-version>
       <jclouds.version>1.9.0</jclouds.version>
@@ -1473,11 +1474,16 @@
                           <threadCount>${usergrid.it.forkCount}</threadCount>
                           <!-- see this page for documentation on classloading issues
http://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html -->
                           <useSystemClassLoader>false</useSystemClassLoader>
-                          <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin}  -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar
${ug.argline}</argLine>
+                          <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}</argLine>
                           <testFailureIgnore>false</testFailureIgnore>
+
+                          <systemPropertyVariables>
+                              <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
+                          </systemPropertyVariables>
+
                       </configuration>
 
-                      <!-- TODO, we may need an exclusion.  Appears to be a classloader
bug
+                      <!-- TODO, we may need an exclusion. Appears to be a classloader
bug
                       http://stackoverflow.com/questions/27225140/intermittent-noclassdeffounderror-when-running-a-maven-surefire-build-in-jenkins
                       -->
                       <dependencies>
@@ -1485,14 +1491,16 @@
                               <groupId>org.apache.maven.surefire</groupId>
                               <artifactId>${surefire.plugin.artifactName}</artifactId>
                               <version>${surefire.plugin.version}</version>
-
-                              <!--<exclusions>-->
-                                  <!--<exclusion>-->
-                                      <!--<groupId>org.apache.maven.surfire</groupId>-->
-                                      <!--<artifactId>common-junit3</artifactId>-->
-                                  <!--</exclusion>-->
-                              <!--</exclusions>-->
+<!--
+                              <exclusions>
+                                  <exclusion>
+                                      <groupId>org.apache.maven.surfire</groupId>
+                                      <artifactId>common-junit3</artifactId>
+                                  </exclusion>
+                              </exclusions>
+-->
                           </dependency>
+
                           <!-- override plex utils, otherwise bug from above SO post happens-->
                           <dependency>
                               <groupId>org.codehaus.plexus</groupId>
@@ -1502,6 +1510,50 @@
                       </dependencies>
                   </plugin>
 
+        <plugin>
+            <groupId>org.jacoco</groupId>
+            <artifactId>jacoco-maven-plugin</artifactId>
+            <version>${jacoco.version}</version>
+
+            <executions>
+                <execution>
+                    <id>default-prepare-agent</id>
+                    <goals>
+                        <goal>prepare-agent</goal>
+                    </goals>
+                </execution>
+                <execution>
+                    <id>default-report</id>
+                    <phase>prepare-package</phase>
+                    <goals>
+                        <goal>report</goal>
+                    </goals>
+                </execution>
+                <execution>
+                    <id>default-check</id>
+                    <goals>
+                        <goal>check</goal>
+                    </goals>
+                    <configuration>
+                        <rules>
+                            <!--  implementation is needed only for Maven 2  -->
+                            <rule implementation="org.jacoco.maven.RuleConfiguration">
+                                <element>BUNDLE</element>
+                                <limits>
+                                    <!--  implementation is needed only for Maven 2  -->
+                                    <limit implementation="org.jacoco.report.check.Limit">
+                                        <counter>COMPLEXITY</counter>
+                                        <value>COVEREDRATIO</value>
+                                        <minimum>0.30</minimum>
+                                    </limit>
+                                </limits>
+                            </rule>
+                        </rules>
+                    </configuration>
+                </execution>
+            </executions>
+
+        </plugin>
 
         <plugin>
             <groupId>org.apache.rat</groupId>
@@ -1628,6 +1680,14 @@
           </dependency>
         </dependencies>
       </plugin>
+
+<!--
+      <plugin>
+        <groupId>org.jacoco</groupId>
+        <artifactId>jacoco-maven-plugin</artifactId>
+      </plugin>
+-->
+
     </plugins>
   </build>
 
@@ -1646,14 +1706,15 @@
     </plugins>
   </reporting>
 
-
-    <!--<repositories>-->
-        <!--<repository>-->
-            <!--<id>local-dependencies</id>-->
-            <!--<name>local-depedendencies</name>-->
-            <!--<url>file://${project.basedir}/../m2/repository</url>-->
-        <!--</repository>-->
-    <!--</repositories>-->
+<!--
+    <repositories>
+        <repository>
+            <id>local-dependencies</id>
+            <name>local-depedendencies</name>
+            <url>file://${project.basedir}/../m2/repository</url>
+        </repository>
+    </repositories>
+-->
 
     <scm>
     	<url>https://git-wip-us.apache.org/repos/asf/incubator-usergrid.git</url>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/rest/pom.xml
----------------------------------------------------------------------
diff --git a/stack/rest/pom.xml b/stack/rest/pom.xml
index 1e28cb2..b631a8b 100644
--- a/stack/rest/pom.xml
+++ b/stack/rest/pom.xml
@@ -105,7 +105,7 @@
                     <threadCount>${usergrid.rest.threads}</threadCount>
                     <useSystemClassLoader>false</useSystemClassLoader>
                     <reuseForks>true</reuseForks>
-                    <argLine>-Dwebapp.directory=${basedir}/src/main/webapp -Dtest.barrier.timestamp=${maven.build.timestamp}
-Dtest.clean.storage=true -Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar -Djava.util.logging.config.file=${basedir}/src/test/resources/logging.properties
${ug.argline}
+                    <argLine>-Dwebapp.directory=${basedir}/src/main/webapp -Dtest.barrier.timestamp=${maven.build.timestamp}
-Dtest.clean.storage=true -Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar -Djava.util.logging.config.file=${basedir}/src/test/resources/logging.properties
${ug.argline}
                     </argLine>
                     <includes>
                         <include>**/*IT.java</include>
@@ -257,6 +257,12 @@
             <groupId>org.glassfish.jersey.ext</groupId>
             <artifactId>jersey-mvc-jsp</artifactId>
             <version>${jersey-version}</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>servlet-api</artifactId>
+                    <groupId>javax.servlet</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/services/pom.xml
----------------------------------------------------------------------
diff --git a/stack/services/pom.xml b/stack/services/pom.xml
index 0636cbe..0a53869 100644
--- a/stack/services/pom.xml
+++ b/stack/services/pom.xml
@@ -94,7 +94,7 @@
                 <threadCount>${usergrid.it.threads}</threadCount>
                 <reuseForks>${usergrid.it.reuseForks}</reuseForks>
                 <useSystemClassLoader>false</useSystemClassLoader>
-                <argLine>-Dtest.barrier.timestamp=${maven.build.timestamp} -Dtest.clean.storage=true
-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar
${ug.argline}
+                <argLine>-Dtest.barrier.timestamp=${maven.build.timestamp} -Dtest.clean.storage=true
-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}
                 </argLine>
                 <includes>
                     <include>**/*IT.java</include>
@@ -105,6 +105,8 @@
                 <excludes>
                     <exclude>**/*Scheduler*IT.java</exclude>
                     <exclude>**/*Notification*IT.java</exclude>
+                    <exclude>**/ExportServiceIT.java</exclude>
+                    <exclude>**/ImportServiceIT.java</exclude>
                 </excludes>
             </configuration>
             <dependencies>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/test-utils/pom.xml
----------------------------------------------------------------------
diff --git a/stack/test-utils/pom.xml b/stack/test-utils/pom.xml
index 248b351..a673b49 100644
--- a/stack/test-utils/pom.xml
+++ b/stack/test-utils/pom.xml
@@ -58,7 +58,7 @@
                    <threadCount>${usergrid.it.threads}</threadCount>
                    <threadCountClasses></threadCountClasses>
                    <reuseForks>true</reuseForks>
-                   <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8
-Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar
${ug.argline}</argLine>
+                   <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8
-Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}</argLine>
 
 
                     <includes>

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/tools/pom.xml
----------------------------------------------------------------------
diff --git a/stack/tools/pom.xml b/stack/tools/pom.xml
index d7bfc98..82ca6f4 100644
--- a/stack/tools/pom.xml
+++ b/stack/tools/pom.xml
@@ -69,7 +69,7 @@
             <storage-config>${basedir}/src/test/conf</storage-config>
           </systemPropertyVariables>
           <forkMode>always</forkMode>
-          <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}</argLine>
+          <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}</argLine>
         </configuration>
       </plugin>
 

http://git-wip-us.apache.org/repos/asf/usergrid/blob/0f6f052e/stack/websocket/pom.xml
----------------------------------------------------------------------
diff --git a/stack/websocket/pom.xml b/stack/websocket/pom.xml
index 0a1a66f..af5ed56 100644
--- a/stack/websocket/pom.xml
+++ b/stack/websocket/pom.xml
@@ -70,7 +70,7 @@
             <storage-config>${basedir}/src/test/conf</storage-config>
           </systemPropertyVariables>
           <forkMode>always</forkMode>
-          <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}</argLine>
+          <argLine>-Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/jacoco.exec
-javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline}</argLine>
         </configuration>
       </plugin>
     </plugins>


Mime
View raw message