pom.xml 4.8 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.taosdata</groupId>
    <artifactId>taosdemo</artifactId>
    <version>2.0</version>
    <name>taosdemo</name>
Z
change  
zyyang 已提交
9
    <packaging>jar</packaging>
10 11 12
    <description>Demo project for TDengine</description>

    <properties>
Z
change  
zyyang 已提交
13
        <spring.version>5.3.2</spring.version>
14 15 16
    </properties>

    <dependencies>
Z
change  
zyyang 已提交
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
        <!-- spring -->
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-beans</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-expression</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aop</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-aspects</artifactId>
            <version>${spring.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>${spring.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>${spring.version}</version>
        </dependency>

Z
change  
zyyang 已提交
60 61 62 63 64 65 66
        <!-- fastjson -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.2.75</version>
        </dependency>

Z
change  
zyyang 已提交
67

Z
change  
zyyang 已提交
68 69 70 71 72 73
        <!-- HikariCP -->
        <dependency>
            <groupId>com.zaxxer</groupId>
            <artifactId>HikariCP</artifactId>
            <version>3.4.5</version>
        </dependency>
Z
change  
zyyang 已提交
74 75 76 77
        <!-- taos jdbc -->
        <dependency>
            <groupId>com.taosdata.jdbc</groupId>
            <artifactId>taos-jdbcdriver</artifactId>
Z
change  
zyyang 已提交
78
            <version>2.0.15</version>
Z
change  
zyyang 已提交
79 80 81 82 83 84 85 86 87 88 89 90 91
        </dependency>
        <!-- mysql -->
        <dependency>
            <groupId>mysql</groupId>
            <artifactId>mysql-connector-java</artifactId>
            <version>5.1.47</version>
        </dependency>
        <!-- log4j -->
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
Z
change  
zyyang 已提交
92
        <!-- junit -->
Z
change  
zyyang 已提交
93 94 95 96 97 98
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
Z
change  
zyyang 已提交
99
        <!-- lombok -->
100 101 102
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
Z
change  
zyyang 已提交
103 104
            <version>1.18.16</version>
            <scope>provided</scope>
105 106 107 108
        </dependency>
    </dependencies>

    <build>
Z
change  
zyyang 已提交
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
                <filtering>true</filtering>
            </resource>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
            </resource>
        </resources>

127 128
        <plugins>
            <plugin>
Z
change  
zyyang 已提交
129 130 131 132 133 134 135 136 137 138 139 140
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>3.0.0</version>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>8</source>
                    <target>8</target>
                </configuration>
141 142
            </plugin>
        </plugins>
Z
change  
zyyang 已提交
143

144 145 146
    </build>

</project>