From cda835d50bd2236de5c17551bcdadc77a7d37b4b Mon Sep 17 00:00:00 2001 From: Donald Woods Date: Tue, 23 Feb 2010 17:27:27 +0000 Subject: [PATCH] OPENJPA-1528 Upgrade to MySQL 5.1.12 driver. Include dbcp overrides needed for MySQL. Moved common dbcp and junit properties to parent pom to simplify maintenance. Add some blank lines in a couple poms to improve readability. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@915448 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-persistence-jdbc/pom.xml | 41 +++++++++++------------------ openjpa-persistence-locking/pom.xml | 18 ++++--------- openjpa-slice/pom.xml | 10 ++++++- pom.xml | 20 +++++++++++--- 4 files changed, 46 insertions(+), 43 deletions(-) diff --git a/openjpa-persistence-jdbc/pom.xml b/openjpa-persistence-jdbc/pom.xml index a8960413d..fff22d934 100644 --- a/openjpa-persistence-jdbc/pom.xml +++ b/openjpa-persistence-jdbc/pom.xml @@ -21,35 +21,22 @@ Maven release plugin requires the project tag to be on a single line. --> + 4.0.0 - org.apache.openjpa - openjpa-persistence-jdbc - jar - OpenJPA Persistence JDBC - OpenJPA Persistence JDBC - http://openjpa.apache.org + org.apache.openjpa openjpa-parent 2.0.0-SNAPSHOT - - INFO - 10 - 5 - 2 - 10000 - MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait} - 10 - 5 - - ignore - - + org.apache.openjpa + openjpa-persistence-jdbc + jar + OpenJPA Persistence JDBC + OpenJPA Persistence JDBC + + test-dynamic-enhancer @@ -63,7 +50,7 @@ - + org.apache.maven.plugins maven-surefire-plugin @@ -95,8 +82,8 @@ - - + + @@ -141,11 +128,13 @@ - 5.1.6 com.mysql.jdbc.Driver ${openjpa.mysql.url} ${openjpa.mysql.username} ${openjpa.mysql.password} + + 0 + 0 diff --git a/openjpa-persistence-locking/pom.xml b/openjpa-persistence-locking/pom.xml index 42d51f7a2..f95151bd7 100644 --- a/openjpa-persistence-locking/pom.xml +++ b/openjpa-persistence-locking/pom.xml @@ -21,6 +21,7 @@ Maven release plugin requires the project tag to be on a single line. --> + 4.0.0 @@ -36,25 +37,14 @@ OpenJPA Persistence Locking Tests - INFO - 10 - 5 - 2 - 10000 - MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait} 60 5 - - ignore - + test-dynamic-enhancer @@ -148,11 +138,13 @@ - 5.1.6 com.mysql.jdbc.Driver ${openjpa.mysql.url} ${openjpa.mysql.username} ${openjpa.mysql.password} + + 0 + 0 diff --git a/openjpa-slice/pom.xml b/openjpa-slice/pom.xml index cdd394260..df22a2e91 100644 --- a/openjpa-slice/pom.xml +++ b/openjpa-slice/pom.xml @@ -21,17 +21,21 @@ Maven release plugin requires the project tag to be on a single line. --> + 4.0.0 + org.apache.openjpa openjpa-parent 2.0.0-SNAPSHOT + org.apache.openjpa openjpa-slice jar OpenJPA Slice OpenJPA Slice + org.apache.openjpa @@ -62,6 +66,7 @@ test + @@ -85,14 +90,17 @@ - 5.1.6 com.mysql.jdbc.Driver ${openjpa.mysql.url} ${openjpa.mysql.username} ${openjpa.mysql.password} + + 0 + 0 + diff --git a/pom.xml b/pom.xml index 0aa0f3f62..62929f12d 100644 --- a/pom.xml +++ b/pom.xml @@ -43,15 +43,29 @@ ${pom.version} INFO + UTF-8 + ../openjpa-project/checkstyle.xml + 512m 1024m -Xmx${test.jvm.maxheapsize} -XX:MaxPermSize=${test.jvm.maxpermsize} - ${test.jvm.arguments} - UTF-8 - ../openjpa-project/checkstyle.xml + 10 + 5 + 2 + 10000 + MaxActive=${dbcp.maxActive},MaxIdle=${dbcp.maxIdle},MinIdle=${dbcp.minIdle},MaxWait=${dbcp.maxWait} + 10 + 5 + + ignore + 10.5.3.0_1 1.8.0.10 + 5.1.12