pom.xml 5.4 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>
6
    <version>2.0.35</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
    <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>
Z
change  
zyyang 已提交
37
        <maven.test.jvmargs></maven.test.jvmargs>
Z
zyyang 已提交
38 39
    </properties>
    <dependencies>
40 41 42
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
43
            <version>4.5.13</version>
44 45 46 47
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
Z
Zhiyu Yang 已提交
48
            <version>1.2.76</version>
49
        </dependency>
50 51 52
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
Z
Zhiyu Yang 已提交
53 54 55 56 57 58 59
            <version>30.1.1-jre</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13.1</version>
            <scope>test</scope>
60
        </dependency>
Z
zyyang 已提交
61
    </dependencies>
Z
change  
zyyang 已提交
62

Z
zyyang 已提交
63
    <build>
Z
zyyang 已提交
64 65 66 67 68 69 70 71
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <excludes>
                    <exclude>**/*.md</exclude>
                </excludes>
            </resource>
        </resources>
Z
zyyang 已提交
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
        <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 已提交
109
                    <forkMode>pertest</forkMode>
Z
change  
zyyang 已提交
110
                    <argLine>${maven.test.jvmargs}</argLine>
111 112 113 114
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <excludes>
Z
change  
zyyang 已提交
115
                        <exclude>**/AppMemoryLeakTest.java</exclude>
116
                        <exclude>**/JDBCTypeAndTypeCompareTest.java</exclude>
Z
Zhiyu Yang 已提交
117 118
                        <exclude>**/ConnectMultiTaosdByRestfulWithDifferentTokenTest.java</exclude>
                        <exclude>**/DatetimeBefore1970Test.java</exclude>
119
                        <exclude>**/FailOverTest.java</exclude>
Z
change  
zyyang 已提交
120
                        <exclude>**/InvalidResultSetPointerTest.java</exclude>
Z
Zhiyu Yang 已提交
121 122 123
                        <exclude>**/TSDBJNIConnectorTest.java</exclude>
                        <exclude>**/TaosInfoMonitorTest.java</exclude>
                        <exclude>**/UnsignedNumberJniTest.java</exclude>
Z
Zhiyu Yang 已提交
124
                        <exclude>**/TimeZoneTest.java</exclude>
125
                    </excludes>
Z
zyyang 已提交
126 127 128 129 130
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
            </plugin>
        </plugins>
    </build>
H
hzcheng 已提交
131
</project>