pom.xml 4.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.taosdata.demo</groupId>
    <artifactId>connectionPools</artifactId>
    <version>1.0-SNAPSHOT</version>

    <dependencies>
12
        <!-- taos -->
13 14 15
        <dependency>
            <groupId>com.taosdata.jdbc</groupId>
            <artifactId>taos-jdbcdriver</artifactId>
Z
change  
zyyang 已提交
16
            <version>2.0.18</version>
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
        </dependency>
        <!-- druid -->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>druid</artifactId>
            <version>1.1.17</version>
        </dependency>
        <!-- HikariCP -->
        <dependency>
            <groupId>com.zaxxer</groupId>
            <artifactId>HikariCP</artifactId>
            <version>3.2.0</version>
        </dependency>
        <!-- dbcp Connection Pool -->
        <dependency>
            <groupId>commons-pool</groupId>
            <artifactId>commons-pool</artifactId>
            <version>1.5.4</version>
        </dependency>
        <dependency>
            <groupId>commons-dbcp</groupId>
            <artifactId>commons-dbcp</artifactId>
            <version>1.4</version>
        </dependency>
41 42 43 44
        <!-- c3p0 -->
        <dependency>
            <groupId>com.mchange</groupId>
            <artifactId>c3p0</artifactId>
45
            <version>0.9.5.4</version>
46
        </dependency>
47 48 49 50 51 52
        <!-- log4j -->
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>
53 54 55 56 57 58
        <!-- proxool -->
        <dependency>
            <groupId>com.cloudhopper.proxool</groupId>
            <artifactId>proxool</artifactId>
            <version>0.9.1</version>
        </dependency>
59
    </dependencies>
Z
change  
zyyang 已提交
60 61 62 63 64 65

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
66
                <version>3.3.0</version>
Z
change  
zyyang 已提交
67 68
                <executions>
                    <execution>
69 70 71 72 73 74 75 76 77 78 79 80
                        <id>ConnectionPoolDemo</id>
                        <configuration>
                            <finalName>ConnectionPoolDemo</finalName>
                            <archive>
                                <manifest>
                                    <mainClass>com.taosdata.example.ConnectionPoolDemo</mainClass>
                                </manifest>
                            </archive>
                            <descriptorRefs>
                                <descriptorRef>jar-with-dependencies</descriptorRef>
                            </descriptorRefs>
                        </configuration>
Z
change  
zyyang 已提交
81 82 83 84 85
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105

                    <execution>
                        <id>ProxoolDemo</id>
                        <configuration>
                            <finalName>ProxoolDemo</finalName>
                            <archive>
                                <manifest>
                                    <mainClass>com.taosdata.example.ProxoolDemo</mainClass>
                                </manifest>
                            </archive>
                            <descriptorRefs>
                                <descriptorRef>jar-with-dependencies</descriptorRef>
                            </descriptorRefs>
                        </configuration>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>

Z
change  
zyyang 已提交
106 107 108 109 110
                </executions>
            </plugin>
        </plugins>
    </build>

111
</project>