pom.xml 6.1 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.37</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>
61 62 63 64 65 66 67

        <dependency>
            <groupId>commons-logging</groupId>
            <artifactId>commons-logging</artifactId>
            <version>1.2</version>
            <scope>test</scope>
        </dependency>
Z
zyyang 已提交
68
    </dependencies>
Z
change  
zyyang 已提交
69

Z
zyyang 已提交
70
    <build>
Z
zyyang 已提交
71 72 73 74 75 76 77 78
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <excludes>
                    <exclude>**/*.md</exclude>
                </excludes>
            </resource>
        </resources>
Z
zyyang 已提交
79
        <plugins>
80 81 82 83 84 85 86 87 88 89 90 91
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <id>attach-sources</id>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
Z
zyyang 已提交
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 124 125 126 127
            <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 已提交
128
                    <forkMode>pertest</forkMode>
Z
change  
zyyang 已提交
129
                    <argLine>${maven.test.jvmargs}</argLine>
130 131 132 133
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <excludes>
134
                        <exclude>**/HttpClientPoolUtilTest.java</exclude>
Z
change  
zyyang 已提交
135
                        <exclude>**/AppMemoryLeakTest.java</exclude>
136
                        <exclude>**/JDBCTypeAndTypeCompareTest.java</exclude>
Z
Zhiyu Yang 已提交
137 138
                        <exclude>**/ConnectMultiTaosdByRestfulWithDifferentTokenTest.java</exclude>
                        <exclude>**/DatetimeBefore1970Test.java</exclude>
139
                        <exclude>**/FailOverTest.java</exclude>
Z
change  
zyyang 已提交
140
                        <exclude>**/InvalidResultSetPointerTest.java</exclude>
Z
Zhiyu Yang 已提交
141 142 143
                        <exclude>**/TSDBJNIConnectorTest.java</exclude>
                        <exclude>**/TaosInfoMonitorTest.java</exclude>
                        <exclude>**/UnsignedNumberJniTest.java</exclude>
Z
Zhiyu Yang 已提交
144
                        <exclude>**/TimeZoneTest.java</exclude>
145
                    </excludes>
Z
zyyang 已提交
146 147 148 149 150
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
            </plugin>
        </plugins>
    </build>
H
hzcheng 已提交
151
</project>