Updated surefire to be a single fork to avoid ClassNotFoundException
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/ceaa796e Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/ceaa796e Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/ceaa796e Branch: refs/heads/USERGRID-347 Commit: ceaa796e0e8fb1293b6d8e099ed664cf6b862493 Parents: dcf4693 Author: Todd Nine <[email protected]> Authored: Fri Mar 20 11:31:06 2015 -0600 Committer: Todd Nine <[email protected]> Committed: Fri Mar 20 11:31:06 2015 -0600 ---------------------------------------------------------------------- stack/core/pom.xml | 13 +++++++------ stack/pom.xml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ceaa796e/stack/core/pom.xml ---------------------------------------------------------------------- diff --git a/stack/core/pom.xml b/stack/core/pom.xml index ba73150..6f3c381 100644 --- a/stack/core/pom.xml +++ b/stack/core/pom.xml @@ -90,7 +90,8 @@ <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> <!-- see this page for documentation on classloading issues http://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html --> - <useSystemClassLoader>false</useSystemClassLoader> + <!--<useSystemClassLoader>false</useSystemClassLoader>--> + <!--<useManifestOnlyJar>false</useManifestOnlyJar>--> <includes> <include>**/*IT.java</include> <include>**/*Test.java</include> @@ -103,11 +104,11 @@ <artifactId>${surefire.plugin.artifactName}</artifactId> <version>${surefire.plugin.version}</version> </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>3.0.21</version> - </dependency> + <!--<dependency>--> + <!--<groupId>org.codehaus.plexus</groupId>--> + <!--<artifactId>plexus-utils</artifactId>--> + <!--<version>3.0.21</version>--> + <!--</dependency>--> </dependencies> </plugin> http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ceaa796e/stack/pom.xml ---------------------------------------------------------------------- diff --git a/stack/pom.xml b/stack/pom.xml index a107114..19573d3 100644 --- a/stack/pom.xml +++ b/stack/pom.xml @@ -121,7 +121,7 @@ <!-- only use half the cores on the machine for testing --> <usergrid.it.parallel>methods</usergrid.it.parallel> <usergrid.it.reuseForks>true</usergrid.it.reuseForks> - <usergrid.it.forkCount>4</usergrid.it.forkCount> + <usergrid.it.forkCount>1</usergrid.it.forkCount> <usergrid.it.threads>8</usergrid.it.threads> <metrics.version>3.0.0</metrics.version>
