------ Enhance ------ Mark Struberg ------ March 19, 2010 ------ Specifying connection settings in the plugin section Sometimes it's necessary to set (or override) the connection settings which are needed at build time in the plugin section because the persistence.xml doesn't contain the correct information. This can be performed with the 2 optional parameters * <<>> which defines the driver class * <<>> which defines further properties ------------------- [...] [...] org.apache.openjpa openjpa-maven-plugin 1.2 com/mycompany/myproject/myentities/*.class true true refresh ${project.build.directory}/database.sql com.mchange.v2.c3p0.ComboPooledDataSource driverClass=com.mysql.jdbc.Driver, jdbcUrl=jdbc:mysql://localhost/TissExamples, user=root, password=, minPoolSize=5, acquireRetryAttempts=3, maxPoolSize=20 mappingtool process-classes enhance log4j log4j 1.2.12 org.apache.openjpa openjpa-all 2.0.1 net.sourceforge.cobertura cobertura 1.9.2 c3p0 c3p0 0.9.1 mysql mysql-connector-java 5.1.11 [...] [...] [...] -------------------