You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2006/04/20 08:04:55 UTC
svn commit: r395502 - /db/torque/test/trunk/test-project/pom.xml
Author: tfischer
Date: Wed Apr 19 23:04:53 2006
New Revision: 395502
URL: http://svn.apache.org/viewcvs?rev=395502&view=rev
Log:
Created basic maven2 project descriptor.
This does not yet work because
- there is no profile support
- only the om mojo is available at the moment
Added:
db/torque/test/trunk/test-project/pom.xml
Added: db/torque/test/trunk/test-project/pom.xml
URL: http://svn.apache.org/viewcvs/db/torque/test/trunk/test-project/pom.xml?rev=395502&view=auto
==============================================================================
--- db/torque/test/trunk/test-project/pom.xml (added)
+++ db/torque/test/trunk/test-project/pom.xml Wed Apr 19 23:04:53 2006
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.apache.db.torque</groupId>
+ <artifactId>torque</artifactId>
+ <version>3.2.1-SNAPSHOT</version>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>torque-test-project</artifactId>
+ <packaging>jar</packaging>
+ <name>Torque Test Project</name>
+
+ <dependencies>
+ <dependency>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <artifactId>runtime</artifactId>
+ <groupId>org.apache.db.torque</groupId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <!-- needed for SQLToAppDataRuntimeTest -->
+ <artifactId>generator</artifactId>
+ <groupId>org.apache.db.torque</groupId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <artifactId>log4j</artifactId>
+ <groupId>log4j</groupId>
+ <version>1.2.8</version>
+ </dependency>
+ <dependency>
+ <artifactId>naming-common</artifactId>
+ <groupId>tomcat</groupId>
+ <version>5.0.28</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <artifactId>naming-java</artifactId>
+ <groupId>tomcat</groupId>
+ <version>5.0.28</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <testSourceDirectory>src/java</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <copy todir="target/torque/test/schema">
+ <fileset dir="src/schema">
+ <include name="*" />
+ </fileset>
+ <filterset>
+ <filter token="DATABASE_DEFAULT" value="bookstore"/>
+ <filter token="DATABASE_ID_METHOD" value="native"/>
+ </filterset>
+ </copy>
+ <delete dir="target/torque/test/sql" />
+ <copy todir="target/torque/test/sql">
+ <fileset dir="src/sql" />
+ </copy>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.db.torque</groupId>
+ <artifactId>torque-maven-plugin</artifactId>
+ <configuration>
+ <schemaDir>target/torque/test/schema</schemaDir>
+ <targetPackage>org.apache.torque.test</targetPackage>
+ <useManagers>true</useManagers>
+ <runOnlyOnSchemaChange>false</runOnlyOnSchemaChange>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>om</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org