143 lines
5.5 KiB
XML
143 lines
5.5 KiB
XML
<?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/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>polardbx</artifactId>
|
|
<groupId>com.alibaba.polardbx</groupId>
|
|
<version>5.4.15-SNAPSHOT</version>
|
|
<relativePath>../pom.xml</relativePath>
|
|
</parent>
|
|
<packaging>jar</packaging>
|
|
<name>${project.artifactId} module for polardbx ${project.version}</name>
|
|
<groupId>com.alibaba.polardbx</groupId>
|
|
<artifactId>polardbx-test</artifactId>
|
|
|
|
<properties>
|
|
<mysql_connector_v5>5.1.49</mysql_connector_v5>
|
|
<mysql_connector_v8>8.0.26</mysql_connector_v8>
|
|
<mvn_parallel>none</mvn_parallel>
|
|
<mvn_threadCount>24</mvn_threadCount>
|
|
<mvn_threadCountClasses>10</mvn_threadCountClasses>
|
|
<mvn_threadCountSuites>10</mvn_threadCountSuites>
|
|
<jcip.version>1.0</jcip.version>
|
|
<!-- <mvn_useSystemClassLoader>false</mvn_useSystemClassLoader>-->
|
|
<!-- <mvn_parallelOptimized>true</mvn_parallelOptimized>-->
|
|
<!-- <mvn_perCoreThreadCount>false</mvn_perCoreThreadCount>-->
|
|
<!-- sed -i "" 's/'{mysql_connector_v5}'/'{mysql_connector_v5}'/g' tddl-qatest/pom.xml-->
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>pl.pragmatists</groupId>
|
|
<artifactId>JUnitParams</artifactId>
|
|
<version>${jUnitParams.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>polardbx-optimizer</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>polardbx-executor</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>polardbx-gms</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>polardbx-common</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>polardbx-parser</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- test libs -->
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>polardbx-server</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${mysql_connector_v5}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.truth</groupId>
|
|
<artifactId>truth</artifactId>
|
|
<version>${truth.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/net.jcip/jcip-annotations -->
|
|
<dependency>
|
|
<groupId>net.jcip</groupId>
|
|
<artifactId>jcip-annotations</artifactId>
|
|
<version>${jcip.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<argLine>-Xms2g -Xmx2g -Xmn2g -Xss2048k -XX:SurvivorRatio=10</argLine>
|
|
<properties>
|
|
<property>
|
|
<name>listener</name>
|
|
<value>com.alibaba.polardbx.qatest.JunitListener</value>
|
|
</property>
|
|
</properties>
|
|
<parallel>${mvn_parallel}</parallel>
|
|
<!-- <runOrder>random</runOrder>-->
|
|
<threadCount>${mvn_threadCount}</threadCount>
|
|
<threadCountClasses>${mvn_threadCountClasses}</threadCountClasses>
|
|
<threadCountSuites>${mvn_threadCountSuites}</threadCountSuites>
|
|
<useSystemClassLoader>false</useSystemClassLoader>
|
|
<parallelOptimized>true</parallelOptimized>
|
|
<perCoreThreadCount>false</perCoreThreadCount>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |