[jboss-cvs] JBossAS SVN: r111994 - in projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927: classloader/src/test/java/org/jboss/test/classloader/resources/tests and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Aug 10 20:45:52 EDT 2011
Author: bmaxwell
Date: 2011-08-10 20:45:52 -0400 (Wed, 10 Aug 2011)
New Revision: 111994
Added:
projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824DefaultTestCase.java
projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824EnabledTestCase.java
projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestBase.java
Removed:
projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestCase.java
Modified:
projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/pom.xml
Log:
[JBPAPP-6927] updating tests cases to handle testing static system property
Added: projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824DefaultTestCase.java
===================================================================
--- projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824DefaultTestCase.java (rev 0)
+++ projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824DefaultTestCase.java 2011-08-11 00:45:52 UTC (rev 111994)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.classloader.resources.tests;
+
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.classloader.spi.ClassLoaderDomain;
+import org.jboss.classloader.spi.ClassLoaderSystem;
+import org.jboss.classloader.spi.ParentPolicy;
+import org.jboss.classloader.spi.filter.ClassFilter;
+import org.jboss.classloader.test.support.MockClassLoaderPolicy;
+import org.jboss.test.classloader.domain.support.MockLoader;
+import org.jboss.test.classloader.domain.test.ParentPolicyUnitTestCase;
+
+import java.net.URL;
+import java.net.URLClassLoader;
+
+// extending base class, this is because maven will not run tests in a testcase in a separate jvm which is needed to test system property
+public class JBPAPP6824DefaultTestCase extends JBPAPP6824TestBase
+{
+ private String SYSTEM_PROPERTY = "org.jboss.classloader.honor.resource.delegation";
+ private ClassLoader previousClassLoader;
+
+ public JBPAPP6824DefaultTestCase(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite()
+ {
+ return suite(JBPAPP6824DefaultTestCase.class);
+ }
+
+ // from org.jboss.test.classloader.resources.tests.ResourceUnitTestCase extends org.jboss.test.classloader.AbstractClassLoaderTestWithSecurity
+ public void testGetResourceFromParentBefore() throws Exception
+ {
+ System.out.println("property: " + getSystemProperty());
+ setSystemProperty(SYSTEM_PROPERTY, "false");
+ System.out.println("property after set: " + getSystemProperty());
+
+ try
+ {
+ // prefix is only on MockClassLoaderPolicy, it looks like it is just used to verify where the resource was found. So there will be two
+ // testResources in the same package but will be prefixed with a (parent) and b (child)
+ // The testResources are packaged in the resources directory, the policy is overriding getResource and prepending the prefix
+ ClassLoaderSystem system = createClassLoaderSystem();
+ ClassLoaderDomain parent = system.createAndRegisterDomain("parent");
+ MockClassLoaderPolicy policy = createMockClassLoaderPolicy();
+ policy.setPrefix("a/");
+ policy.setPath("com/acme/p1");
+ policy.setPackageNames(new String[] { "com.acme.p1" } );
+ system.registerClassLoaderPolicy(parent, policy);
+
+ ClassLoaderDomain child = system.createAndRegisterDomain("child", ParentPolicy.BEFORE, parent);
+ MockClassLoaderPolicy policy2 = createMockClassLoaderPolicy();
+ policy2.setPrefix("b/");
+ policy2.setPath("com/acme/p1");
+ ClassLoader classLoader = system.registerClassLoaderPolicy(child, policy2);
+
+ assertGetResource("b/", "com/acme/p1/testResource", classLoader);
+ }
+ finally
+ {
+ }
+ }
+}
Added: projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824EnabledTestCase.java
===================================================================
--- projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824EnabledTestCase.java (rev 0)
+++ projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824EnabledTestCase.java 2011-08-11 00:45:52 UTC (rev 111994)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.classloader.resources.tests;
+
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.classloader.spi.ClassLoaderDomain;
+import org.jboss.classloader.spi.ClassLoaderSystem;
+import org.jboss.classloader.spi.ParentPolicy;
+import org.jboss.classloader.spi.filter.ClassFilter;
+import org.jboss.classloader.test.support.MockClassLoaderPolicy;
+import org.jboss.test.classloader.domain.support.MockLoader;
+import org.jboss.test.classloader.domain.test.ParentPolicyUnitTestCase;
+
+import java.net.URL;
+import java.net.URLClassLoader;
+
+// extending base class, this is because maven will not run tests in a testcase in a separate jvm which is needed to test system property
+public class JBPAPP6824EnabledTestCase extends JBPAPP6824TestBase
+{
+ private String SYSTEM_PROPERTY = "org.jboss.classloader.honor.resource.delegation";
+ private ClassLoader previousClassLoader;
+
+ public JBPAPP6824EnabledTestCase(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite()
+ {
+ return suite(JBPAPP6824EnabledTestCase.class);
+ }
+
+ // base on org.jboss.test.classloader.resources.tests.ResourceUnitTestCase extends org.jboss.test.classloader.AbstractClassLoaderTestWithSecurity
+ public void testGetResourceFromParentBeforeJBPAPP682() throws Exception
+ {
+ System.out.println("property: " + getSystemProperty());
+ setSystemProperty(SYSTEM_PROPERTY, "true");
+ System.out.println("property after: " + getSystemProperty());
+ System.out.println("Classloader type: " + Thread.currentThread().getContextClassLoader().getClass());
+
+ try
+ {
+ // prefix is only on MockClassLoaderPolicy, it looks like it is just used to verify where the resource was found. So there will be two
+ // testResources in the same package but will be prefixed with a (parent) and b (child)
+ // The testResources are packaged in the resources directory, the policy is overriding getResource and prepending the prefix
+ ClassLoaderSystem system = createClassLoaderSystem();
+ ClassLoaderDomain parent = system.createAndRegisterDomain("parent");
+ MockClassLoaderPolicy policy = createMockClassLoaderPolicy();
+ policy.setPrefix("a/");
+ policy.setPath("com/acme/p1");
+ policy.setPackageNames(new String[] { "com.acme.p1" } );
+ system.registerClassLoaderPolicy(parent, policy);
+
+ ClassLoaderDomain child = system.createAndRegisterDomain("child", ParentPolicy.BEFORE, parent);
+ MockClassLoaderPolicy policy2 = createMockClassLoaderPolicy();
+ policy2.setPrefix("b/");
+ policy2.setPath("com/acme/p1");
+ ClassLoader classLoader = system.registerClassLoaderPolicy(child, policy2);
+
+ assertGetResource("a/", "com/acme/p1/testResource", classLoader);
+ }
+ finally
+ {
+ setSystemProperty(SYSTEM_PROPERTY, "false");
+ }
+ }
+}
Added: projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestBase.java
===================================================================
--- projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestBase.java (rev 0)
+++ projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestBase.java 2011-08-11 00:45:52 UTC (rev 111994)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.classloader.resources.tests;
+
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.classloader.spi.ClassLoaderDomain;
+import org.jboss.classloader.spi.ClassLoaderSystem;
+import org.jboss.classloader.spi.ParentPolicy;
+import org.jboss.classloader.spi.filter.ClassFilter;
+import org.jboss.classloader.test.support.MockClassLoaderPolicy;
+import org.jboss.test.classloader.domain.support.MockLoader;
+import org.jboss.test.classloader.domain.test.ParentPolicyUnitTestCase;
+
+import java.net.URL;
+import java.net.URLClassLoader;
+
+public class JBPAPP6824TestBase extends org.jboss.test.classloader.AbstractClassLoaderTestWithSecurity
+{
+ private String SYSTEM_PROPERTY = "org.jboss.classloader.honor.resource.delegation";
+ private ClassLoader previousClassLoader;
+
+ public JBPAPP6824TestBase(String name)
+ {
+ super(name);
+ }
+
+ public static Test suite()
+ {
+ return suite(JBPAPP6824TestBase.class);
+ }
+
+ protected void setSystemProperty(final String key, final String value)
+ {
+ SecurityManager sm = suspendSecurity();
+ try
+ {
+ java.security.AccessController.doPrivileged
+ (
+ new java.security.PrivilegedAction<String>()
+ {
+ public String run()
+ {
+ return System.setProperty(key, value);
+ }
+ }
+ );
+ }
+ finally
+ {
+ resumeSecurity(sm);
+ }
+ }
+
+ protected Boolean getSystemProperty()
+ {
+ SecurityManager sm = suspendSecurity();
+
+ try
+ {
+ Boolean useCorrectParentFirstResourceLoading =
+ java.security.AccessController.doPrivileged
+ (
+ new java.security.PrivilegedAction<Boolean>()
+ {
+ public Boolean run()
+ {
+ Boolean value = Boolean.valueOf ( System.getProperty(SYSTEM_PROPERTY, "false") );
+ return value;
+ }
+ }
+ );
+ return useCorrectParentFirstResourceLoading;
+ }
+ finally
+ {
+ resumeSecurity(sm);
+ }
+ }
+
+ protected URL assertGetResource(String prefix, String resourcePath, ClassLoader classLoader) throws Exception
+ {
+ URL url = classLoader.getResource(resourcePath);
+ assertNotNull("Should have got resource prefix=" + prefix + " resourcePath " + resourcePath + " from " + classLoader, url);
+ SecurityManager sm = suspendSecurity();
+ try
+ {
+ InputStream is = url.openStream();
+ try
+ {
+ InputStreamReader reader = new InputStreamReader(is);
+ char[] chars = new char[1000];
+ int count = 0;
+ int read = reader.read(chars);
+ while (read != -1)
+ {
+ count += read;
+ read = reader.read(chars, read, 1000 - read);
+ }
+ String string = new String(chars, 0, count);
+ assertEquals("Should have read the correct resource", prefix + resourcePath, string);
+ }
+ finally
+ {
+ is.close();
+ }
+ }
+ finally
+ {
+ resumeSecurity(sm);
+ }
+ return url;
+ }
+}
Deleted: projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestCase.java
===================================================================
--- projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestCase.java 2011-08-11 00:41:20 UTC (rev 111993)
+++ projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/classloader/src/test/java/org/jboss/test/classloader/resources/tests/JBPAPP6824TestCase.java 2011-08-11 00:45:52 UTC (rev 111994)
@@ -1,204 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.classloader.resources.tests;
-
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URL;
-
-import junit.framework.Test;
-
-import org.jboss.classloader.spi.ClassLoaderDomain;
-import org.jboss.classloader.spi.ClassLoaderSystem;
-import org.jboss.classloader.spi.ParentPolicy;
-import org.jboss.classloader.spi.filter.ClassFilter;
-import org.jboss.classloader.test.support.MockClassLoaderPolicy;
-import org.jboss.test.classloader.domain.support.MockLoader;
-import org.jboss.test.classloader.domain.test.ParentPolicyUnitTestCase;
-
-import java.net.URL;
-import java.net.URLClassLoader;
-
-public class JBPAPP6824TestCase extends org.jboss.test.classloader.AbstractClassLoaderTestWithSecurity
-{
- private String SYSTEM_PROPERTY = "org.jboss.classloader.honor.resource.delegation";
- private ClassLoader previousClassLoader;
-
- public JBPAPP6824TestCase(String name)
- {
- super(name);
- }
-
- public static Test suite()
- {
- return suite(JBPAPP6824TestCase.class);
- }
-
- private void setSystemProperty(final String key, final String value)
- {
- SecurityManager sm = suspendSecurity();
- try
- {
- java.security.AccessController.doPrivileged
- (
- new java.security.PrivilegedAction<String>()
- {
- public String run()
- {
- return System.setProperty(key, value);
- }
- }
- );
- }
- finally
- {
- resumeSecurity(sm);
- }
- }
-
- private Boolean getSystemProperty()
- {
- SecurityManager sm = suspendSecurity();
-
- try
- {
- Boolean useCorrectParentFirstResourceLoading =
- java.security.AccessController.doPrivileged
- (
- new java.security.PrivilegedAction<Boolean>()
- {
- public Boolean run()
- {
- Boolean value = Boolean.valueOf ( System.getProperty(SYSTEM_PROPERTY, "false") );
- return value;
- }
- }
- );
- return useCorrectParentFirstResourceLoading;
- }
- finally
- {
- resumeSecurity(sm);
- }
- }
-
- // from org.jboss.test.classloader.resources.tests.ResourceUnitTestCase extends org.jboss.test.classloader.AbstractClassLoaderTestWithSecurity
- public void testGetResourceFromParentBefore() throws Exception
- {
- System.out.println("property: " + getSystemProperty());
- setSystemProperty(SYSTEM_PROPERTY, "false");
- System.out.println("property after set: " + getSystemProperty());
-
- try
- {
- // prefix is only on MockClassLoaderPolicy, it looks like it is just used to verify where the resource was found. So there will be two
- // testResources in the same package but will be prefixed with a (parent) and b (child)
- // The testResources are packaged in the resources directory, the policy is overriding getResource and prepending the prefix
- ClassLoaderSystem system = createClassLoaderSystem();
- ClassLoaderDomain parent = system.createAndRegisterDomain("parent");
- MockClassLoaderPolicy policy = createMockClassLoaderPolicy();
- policy.setPrefix("a/");
- policy.setPath("com/acme/p1");
- policy.setPackageNames(new String[] { "com.acme.p1" } );
- system.registerClassLoaderPolicy(parent, policy);
-
- ClassLoaderDomain child = system.createAndRegisterDomain("child", ParentPolicy.BEFORE, parent);
- MockClassLoaderPolicy policy2 = createMockClassLoaderPolicy();
- policy2.setPrefix("b/");
- policy2.setPath("com/acme/p1");
- ClassLoader classLoader = system.registerClassLoaderPolicy(child, policy2);
-
- assertGetResource("b/", "com/acme/p1/testResource", classLoader);
- }
- finally
- {
- }
- }
-
- public void testGetResourceFromParentBeforeJBPAPP682() throws Exception
- {
- System.out.println("property: " + getSystemProperty());
- setSystemProperty(SYSTEM_PROPERTY, "true");
- System.out.println("property after: " + getSystemProperty());
- System.out.println("Classloader type: " + Thread.currentThread().getContextClassLoader().getClass());
-
- try
- {
- // prefix is only on MockClassLoaderPolicy, it looks like it is just used to verify where the resource was found. So there will be two
- // testResources in the same package but will be prefixed with a (parent) and b (child)
- // The testResources are packaged in the resources directory, the policy is overriding getResource and prepending the prefix
- ClassLoaderSystem system = createClassLoaderSystem();
- ClassLoaderDomain parent = system.createAndRegisterDomain("parent");
- MockClassLoaderPolicy policy = createMockClassLoaderPolicy();
- policy.setPrefix("a/");
- policy.setPath("com/acme/p1");
- policy.setPackageNames(new String[] { "com.acme.p1" } );
- system.registerClassLoaderPolicy(parent, policy);
-
- ClassLoaderDomain child = system.createAndRegisterDomain("child", ParentPolicy.BEFORE, parent);
- MockClassLoaderPolicy policy2 = createMockClassLoaderPolicy();
- policy2.setPrefix("b/");
- policy2.setPath("com/acme/p1");
- ClassLoader classLoader = system.registerClassLoaderPolicy(child, policy2);
-
- assertGetResource("a/", "com/acme/p1/testResource", classLoader);
- }
- finally
- {
- setSystemProperty(SYSTEM_PROPERTY, "false");
- }
- }
-
- protected URL assertGetResource(String prefix, String resourcePath, ClassLoader classLoader) throws Exception
- {
- URL url = classLoader.getResource(resourcePath);
- assertNotNull("Should have got resource prefix=" + prefix + " resourcePath " + resourcePath + " from " + classLoader, url);
- SecurityManager sm = suspendSecurity();
- try
- {
- InputStream is = url.openStream();
- try
- {
- InputStreamReader reader = new InputStreamReader(is);
- char[] chars = new char[1000];
- int count = 0;
- int read = reader.read(chars);
- while (read != -1)
- {
- count += read;
- read = reader.read(chars, read, 1000 - read);
- }
- String string = new String(chars, 0, count);
- assertEquals("Should have read the correct resource", prefix + resourcePath, string);
- }
- finally
- {
- is.close();
- }
- }
- finally
- {
- resumeSecurity(sm);
- }
- return url;
- }
-}
Modified: projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/pom.xml
===================================================================
--- projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/pom.xml 2011-08-11 00:41:20 UTC (rev 111993)
+++ projects/jboss-cl/branches/2.0.9.GA_JBPAPP-6927/pom.xml 2011-08-11 00:45:52 UTC (rev 111994)
@@ -9,7 +9,7 @@
<groupId>org.jboss.cl</groupId>
<artifactId>jboss-cl</artifactId>
- <version>2.0.9.GA</version>
+ <version>2.0.10-SNAPSHOT</version>
<packaging>pom</packaging>
<name>JBoss ClassLoader Parent POM</name>
@@ -17,9 +17,9 @@
<url>http://www.jboss.com/products/jbossmc</url>
<scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/tags/2.0.9.GA</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-cl/tags/2.0.9.GA</developerConnection>
- <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/tags/2.0.9.GA</url>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/branches/Branch_2_0/</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/jboss-cl/branches/Branch_2_0/</developerConnection>
+ <url>http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/branches/Branch_2_0</url>
</scm>
<modules>
@@ -89,9 +89,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.3</version>
+ <version>2.9</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <forkMode>always</forkMode>
+ <forkedProcessTimeoutInSeconds>10</forkedProcessTimeoutInSeconds>
<includes>
<include>org/jboss/test/**/*TestCase.java</include>
</includes>
More information about the jboss-cvs-commits
mailing list