<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" > <modelVersion>4.0.0</modelVersion> <!-- The Basics --> <artifactId>s2jdbc-it</artifactId> <packaging>jar</packaging> <parent> <groupId>org.seasar.container</groupId> <artifactId>s2-container-project</artifactId> <version>2.4.47-SNAPSHOT</version> <relativePath>../seasar2</relativePath> </parent> <!-- More Project Information --> <name>S2JDBC-IT</name> <url>http://s2container.seasar.org/</url> <!-- Profiles --> <profiles> <profile> <id>standard</id> <dependencies> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.3.1.4</version> <type>jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derbyLocale_ja_JP</artifactId> <version>10.3.1.4</version> <type>jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derbytools</artifactId> <version>10.3.1.4</version> <type>jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.derby</groupId> <artifactId>derby</artifactId> <version>10.3.1.4</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>hsqldb</id> </profile> <profile> <id>h2</id> <dependencies> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>1.0.60</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>postgre</id> <dependencies> <dependency> <groupId>postgresql</groupId> <artifactId>postgresql</artifactId> <version>8.3-603.jdbc3</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>mysql</id> <dependencies> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.6</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>oracle</id> <dependencies> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc14</artifactId> <version>10.2.0.4</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>db2</id> <dependencies> <dependency> <groupId>com.ibm</groupId> <artifactId>db2jcc</artifactId> <version>3.50.152</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> <profile> <id>mssql2005</id> <dependencies> <dependency> <groupId>com.microsoft</groupId> <artifactId>sqljdbc</artifactId> <version>1.2.2828</version> <type>jar</type> <scope>test</scope> </dependency> </dependencies> </profile> </profiles> <!-- Build Settings --> <build> <defaultGoal>validate</defaultGoal> <pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> <encoding>UTF-8</encoding> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>ant-setup-env</id> <phase>generate-test-resources</phase> <configuration> <tasks> <echo message="${database}" file="src/test/resources/env_ut.txt"/> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <id>ant-setup-data</id> <phase>test-compile</phase> <configuration> <tasks> <ant antfile="build.xml" target="setup-data"> <property name="database" value="${database}"/> <property name="classpath" refid="maven.test.classpath"/> </ant> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> <execution> <id>ant-teardown-env</id> <phase>test</phase> <configuration> <tasks> <echo message="hsqldb" file="src/test/resources/env_ut.txt"/> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <!-- Dependency Settings --> <dependencies> <dependency> <groupId>org.seasar.container</groupId> <artifactId>s2-tiger</artifactId> <version>${version}</version> <type>jar</type> </dependency> <dependency> <groupId>org.seasar.container</groupId> <artifactId>s2-framework</artifactId> <version>${version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.seasar.container</groupId> <artifactId>s2-extension</artifactId> <version>${version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-annotation_1.0_spec</artifactId> <version>1.0</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-ejb_3.0_spec</artifactId> <version>1.0</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-interceptor_3.0_spec</artifactId> <version>1.0</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jpa_3.0_spec</artifactId> <version>1.0</version> <type>jar</type> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.4</version> <type>jar</type> </dependency> <dependency> <groupId>junit-addons</groupId> <artifactId>junit-addons</artifactId> <version>1.4</version> <type>jar</type> <scope>test</scope> <exclusions> <exclusion> <groupId>junit-addons</groupId> <artifactId>junit-addons-runner</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.7.0</version> <type>jar</type> </dependency> </dependencies> </project>