pom.xml 3.0 KB
Newer Older
X
xieyinglin 已提交
1 2 3
<?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"
4 5
         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>
X
xieyinglin 已提交
6

7 8 9
    <groupId>com.taosdata.jdbc</groupId>
    <artifactId>SpringJdbcTemplate</artifactId>
    <version>1.0-SNAPSHOT</version>
X
xieyinglin 已提交
10

11 12
    <name>SpringJdbcTemplate</name>
    <url>http://www.taosdata.com</url>
X
xieyinglin 已提交
13

14 15 16 17 18
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
X
xieyinglin 已提交
19

20
    <dependencies>
X
xieyinglin 已提交
21

22 23 24 25 26
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-context</artifactId>
            <version>5.2.8.RELEASE</version>
        </dependency>
X
xieyinglin 已提交
27

28 29 30 31 32
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-jdbc</artifactId>
            <version>5.1.9.RELEASE</version>
        </dependency>
X
xieyinglin 已提交
33

34 35 36 37 38
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-test</artifactId>
            <version>5.1.9.RELEASE</version>
        </dependency>
X
xieyinglin 已提交
39

40 41 42 43 44 45
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.13</version>
            <scope>test</scope>
        </dependency>
X
xieyinglin 已提交
46

47 48 49 50 51
        <dependency>
            <groupId>com.taosdata.jdbc</groupId>
            <artifactId>taos-jdbcdriver</artifactId>
            <version>2.0.4</version>
        </dependency>
X
xieyinglin 已提交
52

53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>3.1.0</version>
                <configuration>
                    <archive>
                        <manifest>
Z
change  
zyyang 已提交
72
                            <mainClass>com.taosdata.example.jdbcTemplate.App</mainClass>
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
                        </manifest>
                    </archive>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
X
xieyinglin 已提交
91
</project>