pom.xml 5.3 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
zyyang 已提交
6
    <version>2.0.28</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 40 41 42 43 44 45
    </properties>
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13</version>
            <scope>test</scope>
        </dependency>
46 47 48 49 50 51 52 53 54 55 56
        <!-- for restful -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.8</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.2.58</version>
        </dependency>
57 58 59 60 61
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>29.0-jre</version>
        </dependency>
Z
zyyang 已提交
62
    </dependencies>
Z
change  
zyyang 已提交
63

Z
zyyang 已提交
64
    <build>
Z
zyyang 已提交
65 66 67 68 69 70 71 72
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <excludes>
                    <exclude>**/*.md</exclude>
                </excludes>
            </resource>
        </resources>
Z
zyyang 已提交
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 109
        <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 已提交
110
                    <forkMode>pertest</forkMode>
Z
change  
zyyang 已提交
111
                    <argLine>${maven.test.jvmargs}</argLine>
112 113 114 115
                    <includes>
                        <include>**/*Test.java</include>
                    </includes>
                    <excludes>
116 117
                        <exclude>**/TSDBJNIConnectorTest.java</exclude>
                        <exclude>**/UnsignedNumberJniTest.java</exclude>
Z
change  
zyyang 已提交
118
                        <exclude>**/DatetimeBefore1970Test.java</exclude>
Z
change  
zyyang 已提交
119
                        <exclude>**/AppMemoryLeakTest.java</exclude>
Z
change  
zyyang 已提交
120
                        <exclude>**/AuthenticationTest.java</exclude>
Z
change  
zyyang 已提交
121
                        <exclude>**/TaosInfoMonitorTest.java</exclude>
122
                        <exclude>**/FailOverTest.java</exclude>
Z
change  
zyyang 已提交
123
                        <exclude>**/InvalidResultSetPointerTest.java</exclude>
P
Ping Xiao 已提交
124
                        <exclude>**/RestfulConnectionTest.java</exclude>
125
                    </excludes>
Z
zyyang 已提交
126 127 128 129 130
                    <testFailureIgnore>true</testFailureIgnore>
                </configuration>
            </plugin>
        </plugins>
    </build>
H
hzcheng 已提交
131
</project>