<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>cn.net.communion</groupId>
|
<artifactId>dbdatasync</artifactId>
|
<version>0.0.1-SNAPSHOT</version>
|
<packaging>jar</packaging>
|
|
<name>dbdatasync</name>
|
<url>http://maven.apache.org</url>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>junit</groupId>
|
<artifactId>junit</artifactId>
|
<version>3.8.1</version>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>dom4j</groupId>
|
<artifactId>dom4j</artifactId>
|
<version>1.6.1</version>
|
</dependency>
|
<!-- MySQL 驱动 -->
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>8.0.33</version>
|
</dependency>
|
|
<!-- PostgreSQL 驱动 -->
|
<dependency>
|
<groupId>org.postgresql</groupId>
|
<artifactId>postgresql</artifactId>
|
<version>42.6.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.quartz-scheduler</groupId>
|
<artifactId>quartz</artifactId>
|
<version>2.1.3</version>
|
</dependency>
|
<dependency>
|
<groupId>log4j</groupId>
|
<artifactId>log4j</artifactId>
|
<version>1.2.14</version>
|
</dependency>
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-api</artifactId>
|
<version>1.7.5</version>
|
</dependency>
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-simple</artifactId>
|
<version>1.6.4</version>
|
</dependency>
|
<dependency>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-log4j12</artifactId>
|
<version>1.7.5</version>
|
</dependency>
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-jar-plugin</artifactId>
|
<configuration>
|
<archive>
|
<manifest>
|
<addClasspath>true</addClasspath>
|
<classpathPrefix>lib/</classpathPrefix>
|
<mainClass>cn.net.communion.dbdatasync.App</mainClass>
|
</manifest>
|
</archive>
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-dependency-plugin</artifactId>
|
<executions>
|
<execution>
|
<id>copy</id>
|
<phase>package</phase>
|
<goals>
|
<goal>copy-dependencies</goal>
|
</goals>
|
<configuration>
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
</configuration>
|
</execution>
|
</executions>
|
</plugin>
|
|
<plugin>
|
<groupId>org.mortbay.jetty</groupId>
|
<artifactId>maven-jetty-plugin</artifactId>
|
<version>6.1.10</version>
|
|
</plugin>
|
</plugins>
|
<resources>
|
<resource>
|
<directory>src/main/java</directory>
|
<includes>
|
<include>**/*.properties</include>
|
<include>**/*.xml</include>
|
</includes>
|
<filtering>true</filtering>
|
</resource>
|
</resources>
|
</build>
|
</project>
|