pom.xml 5.5 KB
Newer Older
H
hzcheng 已提交
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
S
Shuaiqiang Chang 已提交
2
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Z
zyyang 已提交
3 4 5
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.taosdata.jdbc</groupId>
    <artifactId>taos-jdbcdriver</artifactId>
Z
change  
zyyang 已提交
6
    <version>2.0.18</version>
Z
zyyang 已提交
7 8
    <packaging>jar</packaging>
    <name>JDBCDriver</name>
S
Shuaiqiang Chang 已提交
9
    <url>https://github.com/taosdata/TDengine/tree/master/src/connector/jdbc</url>
Z
zyyang 已提交
10

Z
zyyang 已提交
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    <description>TDengine JDBC Driver</description>
    <licenses>
        <license>
            <name>GNU AFFERO GENERAL PUBLIC LICENSE Version 3</name>
            <url>https://github.com/taosdata/TDengine/blob/master/LICENSE</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <scm>
        <connection>scm:git:git://github.com/taosdata/TDengine.git</connection>
        <developerConnection>scm:git:git@github.com:taosdata/TDengine.git</developerConnection>
        <url>https://github.com/taosdata/TDengine/tree/master/src/connector/jdbc</url>
        <tag>HEAD</tag>
    </scm>
    <developers>
        <developer>
            <name>taosdata</name>
            <email>support@taosdata.com</email>
            <organization>https://www.taosdata.com/</organization>
            <organizationUrl>https://www.taosdata.com/</organizationUrl>
        </developer>
    </developers>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <java.version>1.8</java.version>
        <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
        <commons-logging.version>1.1.2</commons-logging.version>
        <commons-lang3.version>3.5</commons-lang3.version>
Z
change  
zyyang 已提交
39
        <maven.test.jvmargs></maven.test.jvmargs>
Z
zyyang 已提交
40 41 42 43 44 45 46 47 48 49 50 51 52
    </properties>
    <dependencies>
        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>${commons-logging.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>*</groupId>
                    <artifactId>*</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
Z
change  
zyyang 已提交
53

Z
zyyang 已提交
54 55 56 57 58 59
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13</version>
            <scope>test</scope>
        </dependency>
60

61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
        <!-- for restful -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.8</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.9</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.2.58</version>
        </dependency>

Z
change  
zyyang 已提交
78 79 80 81 82 83
        <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2 -->
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-dbcp2</artifactId>
            <version>2.7.0</version>
        </dependency>
Z
zyyang 已提交
84
    </dependencies>
Z
change  
zyyang 已提交
85

Z
zyyang 已提交
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>3.0.0</version>
                <configuration>
                    <descriptors>
                        <descriptor>src/main/assembly/assembly-jar.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>${maven-compiler-plugin.version}</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <debug>true</debug>
                    <showDeprecation>true</showDeprecation>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.12.4</version>
                <configuration>
Z
change  
zyyang 已提交
124
                    <forkMode>pertest</forkMode>
Z
change  
zyyang 已提交
125
                    <argLine>${maven.test.jvmargs}</argLine>
126 127 128 129
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <excludes>
Z
change  
zyyang 已提交
130
                        <exclude>**/AppMemoryLeakTest.java</exclude>
Z
change  
zyyang 已提交
131
                        <exclude>**/TaosInfoMonitorTest.java</exclude>
132
                        <exclude>**/FailOverTest.java</exclude>
Z
change  
zyyang 已提交
133
                        <exclude>**/InvalidResultSetPointerTest.java</exclude>
134
                    </excludes>
Z
zyyang 已提交
135 136 137 138 139
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
            </plugin>
        </plugins>
    </build>
H
hzcheng 已提交
140
</project>