129 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
<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">
<properties>
<subproject>test</subproject>
<subproject.source-dir>${project.source-dir}/clusterj-${subproject}</subproject.source-dir>
</properties>
<parent>
<groupId>com.mysql.clusterj</groupId>
<artifactId>clusterj-aggregate</artifactId>
<version>@JAVA_NDB_VERSION@@JAVA_MVN_SUFFIX@</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mysql.clusterj</groupId>
<artifactId>clusterj-test</artifactId>
<packaging>jar</packaging>
<version>@JAVA_NDB_VERSION@@JAVA_MVN_SUFFIX@</version>
<name>ClusterJ Test Suite</name>
<build>
<sourceDirectory>${subproject.source-dir}/src/main/java</sourceDirectory>
<testSourceDirectory>${subproject.source-dir}/src/test/java</testSourceDirectory>
<resources>
<resource>
<directory>${subproject.source-dir}/src/main/resources</directory>
</resource>
</resources>
<testResources>
<testResource>
<directory>${subproject.source-dir}/src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkmode>once</forkmode>
<argLine>-Djava.library.path=${ndbj.jnilib}</argLine>
<!-- The following line is for debugging
<argLine>-Djava.library.path=${ndbj.jnilib} -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787</argLine>
-->
<systemProperties>
</systemProperties>
<!-- The following doesn't work because system properties are set
! only after the vm is forked, which is too late for the
! property java.library.path.
<systemProperties>
<property>
<name>java.library.path</name>
<value>/Users/clr/ndb/clusterj/trunk/clusterj/target/classes/.libs</value>
</property>
</systemProperties>
<argValue>-Djava.util.logging.config.file=${logging.properties}</argValue>
!-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>2.0.6</version>
</requireMavenVersion>
<requireJavaVersion>
<version>1.5</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.mysql.clusterj</groupId>
<artifactId>clusterj-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.mysql.clusterj</groupId>
<artifactId>clusterj-core</artifactId>
</dependency>
<dependency>
<groupId>com.mysql.clusterj</groupId>
<artifactId>clusterj-unit</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
<licenses>
<license>
<name>GPLv2</name>
<url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
</license>
</licenses>
</project>