pom.xml 6.2 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
Zhiyu Yang 已提交
6
    <version>2.0.38</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>
48
            <version>1.2.79</version>
49
        </dependency>
50 51 52
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
Z
Zhiyu Yang 已提交
53 54
            <version>30.1.1-jre</version>
        </dependency>
55 56 57 58 59
        <dependency>
            <groupId>org.java-websocket</groupId>
            <artifactId>Java-WebSocket</artifactId>
            <version>1.5.2</version>
        </dependency>
Z
Zhiyu Yang 已提交
60 61 62 63 64
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13.1</version>
            <scope>test</scope>
65
        </dependency>
66 67 68 69 70 71 72

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

Z
zyyang 已提交
75
    <build>
Z
zyyang 已提交
76 77 78 79 80 81 82 83
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <excludes>
                    <exclude>**/*.md</exclude>
                </excludes>
            </resource>
        </resources>
Z
zyyang 已提交
84
        <plugins>
85 86 87 88 89 90 91 92 93 94 95 96
            <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 已提交
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 128 129 130 131 132
            <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 已提交
133
                    <forkMode>pertest</forkMode>
Z
change  
zyyang 已提交
134
                    <argLine>${maven.test.jvmargs}</argLine>
135 136 137 138
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <excludes>
139
                        <exclude>**/HttpClientPoolUtilTest.java</exclude>
Z
change  
zyyang 已提交
140
                        <exclude>**/AppMemoryLeakTest.java</exclude>
141
                        <exclude>**/JDBCTypeAndTypeCompareTest.java</exclude>
Z
Zhiyu Yang 已提交
142 143
                        <exclude>**/ConnectMultiTaosdByRestfulWithDifferentTokenTest.java</exclude>
                        <exclude>**/DatetimeBefore1970Test.java</exclude>
144
                        <exclude>**/FailOverTest.java</exclude>
Z
change  
zyyang 已提交
145
                        <exclude>**/InvalidResultSetPointerTest.java</exclude>
Z
Zhiyu Yang 已提交
146 147 148
                        <exclude>**/TSDBJNIConnectorTest.java</exclude>
                        <exclude>**/TaosInfoMonitorTest.java</exclude>
                        <exclude>**/UnsignedNumberJniTest.java</exclude>
Z
Zhiyu Yang 已提交
149
                        <exclude>**/TimeZoneTest.java</exclude>
150
                    </excludes>
Z
zyyang 已提交
151 152 153 154 155
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
            </plugin>
        </plugins>
    </build>
H
hzcheng 已提交
156
</project>