Author: tfischer
Date: Wed May 3 11:35:07 2006
New Revision: 399377
URL: http://svn.apache.org/viewcvs?rev=399377&view=rev
Log:
added the new mojos into the build cycle.
However, this is still far from the final version. (e.g. only one database is
taken into account now)
Modified:
db/torque/test/trunk/test-project/pom.xml
Modified: db/torque/test/trunk/test-project/pom.xml
URL:
http://svn.apache.org/viewcvs/db/torque/test/trunk/test-project/pom.xml?rev=399377&r1=399376&r2=399377&view=diff
==============================================================================
--- db/torque/test/trunk/test-project/pom.xml (original)
+++ db/torque/test/trunk/test-project/pom.xml Wed May 3 11:35:07 2006
@@ -50,6 +50,13 @@
<version>5.0.28</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <artifactId>mysql-connector-java</artifactId>
+ <groupId>mysql</groupId>
+ <version>3.1.12</version>
+ <scope>test</scope>
+ </dependency>
+
</dependencies>
<build>
@@ -89,19 +96,56 @@
<artifactId>torque-maven-plugin</artifactId>
<configuration>
<schemaDir>target/torque/test/schema</schemaDir>
+ <targetDatabase>mysql</targetDatabase>
<targetPackage>org.apache.torque.test</targetPackage>
<useManagers>true</useManagers>
<runOnlyOnSchemaChange>false</runOnlyOnSchemaChange>
+ <driver>org.gjt.mm.mysql.Driver</driver>
+ <url>jdbc:mysql://localhost:3306/bookstore</url>
+ <user>root</user>
+ <password>mysql</password>
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>om</goal>
+ <goal>sql</goal>
+ <goal>sqlExec</goal>
+ <goal>documentation</goal>
</goals>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <artifactId>mysql-connector-java</artifactId>
+ <groupId>mysql</groupId>
+ <version>3.1.12</version>
+ </dependency>
+ <!--dependency>
+ <artifactId>postgresql</artifactId>
+ <groupId>postgresql</groupId>
+ <version>8.0-312.jdbc3</version>
+ </dependency-->
+ </dependencies>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>**/BaseRuntimeTestCase.java</exclude>
+ </excludes>
+ <forkMode>pertest</forkMode>
+ <systemProperties>
+ <property>
+ <name>torque.configuration.file</name>
+ <value>../profile/mysql/Torque.properties</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]