|
@@ -0,0 +1,258 @@
|
|
|
+<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.xt</groupId>
|
|
|
+ <artifactId>xtdsp</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ <packaging>war</packaging>
|
|
|
+ <description>xintong Data Sync Platform</description>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-jdbc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-context-support</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ <version>1.7.12</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>druid</artifactId>
|
|
|
+ <version>1.0.24</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- mybatis分页插件 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.yuanxd.tools</groupId>
|
|
|
+ <artifactId>x-tools-pagehelper</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ <artifactId>mybatis-spring</artifactId>
|
|
|
+ <version>1.2.3</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mybatis</groupId>
|
|
|
+ <artifactId>mybatis</artifactId>
|
|
|
+ <version>3.3.0</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ <version>2.5</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>jstl</artifactId>
|
|
|
+ <version>1.2</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>taglibs</groupId>
|
|
|
+ <artifactId>standard</artifactId>
|
|
|
+ <version>1.1.2</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet.jsp</groupId>
|
|
|
+ <artifactId>jsp-api</artifactId>
|
|
|
+ <version>2.2</version>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-core</artifactId>
|
|
|
+ <version>2.6.0</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
+ <version>2.6.0</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ <version>1.2.6</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjrt</artifactId>
|
|
|
+ <version>1.8.5</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjweaver</artifactId>
|
|
|
+ <version>1.8.5</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.oracle</groupId>
|
|
|
+ <artifactId>ojdbc6</artifactId>
|
|
|
+ <version>11.2.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.h2database</groupId>
|
|
|
+ <artifactId>h2</artifactId>
|
|
|
+ <version>1.4.192</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.quartz-scheduler</groupId>
|
|
|
+ <artifactId>quartz</artifactId>
|
|
|
+ <version>2.2.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.yuanxd.tools</groupId>
|
|
|
+ <artifactId>x-tools-io</artifactId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.xt</groupId>
|
|
|
+ <artifactId>xtdsp-core</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <!-- 插件配置 -->
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <!-- compiler插件, 设定JDK版本 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.0</version>
|
|
|
+ <configuration>
|
|
|
+ <source>${jdk.version}</source>
|
|
|
+ <target>${jdk.version}</target>
|
|
|
+ <showWarnings>true</showWarnings>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <!-- war插件, 设定war名称不带版本号 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ <version>2.2</version>
|
|
|
+ <configuration>
|
|
|
+ <warName>${project.artifactId}</warName>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <!-- resource插件, 设定编码 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
+ <version>2.5</version>
|
|
|
+ <configuration>
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <!-- jar相关插件 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <!-- clean插件 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
+ <version>2.4.1</version>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-eclipse-plugin</artifactId>
|
|
|
+ <version>2.9</version>
|
|
|
+ <configuration>
|
|
|
+ <sourceExcludes>
|
|
|
+ <sourceExclude>**/.svn/</sourceExclude>
|
|
|
+ </sourceExcludes>
|
|
|
+ <downloadSources>true</downloadSources>
|
|
|
+ <downloadJavadocs>false</downloadJavadocs>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
+ <!-- source attach plugin -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>2.1.2</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-sources</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ <!-- compiler插件, 设定JDK版本 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.mybatis.generator</groupId>
|
|
|
+ <artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
+ <version>1.3.2</version>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.oracle</groupId>
|
|
|
+ <artifactId>ojdbc6</artifactId>
|
|
|
+ <version>11.2.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.h2database</groupId>
|
|
|
+ <artifactId>h2</artifactId>
|
|
|
+ <version>1.4.192</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <configuration>
|
|
|
+ <configurationFile>${basedir}\src\main\resources\generatorConfig.xml</configurationFile>
|
|
|
+ <overwrite>true</overwrite>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <!-- java 版本 -->
|
|
|
+ <jdk.version>1.7</jdk.version>
|
|
|
+ <spring.version>4.3.2.RELEASE</spring.version>
|
|
|
+ </properties>
|
|
|
+</project>
|