|
@@ -0,0 +1,468 @@
|
|
|
+<?xml version="1.0"?>
|
|
|
+<project
|
|
|
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
|
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <groupId>com.agent</groupId>
|
|
|
+ <artifactId>agentPlat</artifactId>
|
|
|
+ <packaging>war</packaging>
|
|
|
+ <name>agentPlat</name>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
+ <spring.version>4.0.0.RELEASE</spring.version>
|
|
|
+ <aspectjweaver.version>1.8.0</aspectjweaver.version>
|
|
|
+ <jackson.version>2.6.0</jackson.version>
|
|
|
+ <log4j.version>1.2.17</log4j.version>
|
|
|
+ <jettyVersion>7.2.0.v20101020</jettyVersion>
|
|
|
+ <maven.test.skip>true</maven.test.skip>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>com.sn.framework</groupId>-->
|
|
|
+ <!--<artifactId>sn_security</artifactId>-->
|
|
|
+ <!--<version>1.3.4</version>-->
|
|
|
+ <!--</dependency>-->
|
|
|
+ <!--<dependency>-->
|
|
|
+ <!--<groupId>com.sn</groupId>-->
|
|
|
+ <!--<artifactId>mk-client</artifactId>-->
|
|
|
+ <!--<version>3.0</version>-->
|
|
|
+ <!--</dependency>-->
|
|
|
+
|
|
|
+ <!-- jetty -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-server</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-webapp</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-util</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-io</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-continuation</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-http</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-security</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-servlet</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
+ <artifactId>jetty-xml</artifactId>
|
|
|
+ <version>${jettyVersion}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mortbay.jetty</groupId>
|
|
|
+ <artifactId>jsp-2.1-glassfish</artifactId>
|
|
|
+ <version>2.1.v20100127</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <!-- jetty -->
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>aopalliance</groupId>
|
|
|
+ <artifactId>aopalliance</artifactId>
|
|
|
+ <version>1.0</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- SSH -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.jcraft</groupId>
|
|
|
+ <artifactId>jsch</artifactId>
|
|
|
+ <version>0.1.50</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!--<dependency>
|
|
|
+ <groupId>com.sun</groupId>
|
|
|
+ <artifactId>tools</artifactId>
|
|
|
+ <version>1.7</version>
|
|
|
+ <scope>system</scope>
|
|
|
+ <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
|
|
|
+ </dependency>-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>jstl</artifactId>
|
|
|
+ <version>1.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>taglibs</groupId>
|
|
|
+ <artifactId>standard</artifactId>
|
|
|
+ <version>1.1.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet.jsp</groupId>
|
|
|
+ <artifactId>jsp-api</artifactId>
|
|
|
+ <version>2.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ <version>2.5</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- c3p0/ojdbc14 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>c3p0</groupId>
|
|
|
+ <artifactId>c3p0</artifactId>
|
|
|
+ <version>0.9.1.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ <version>5.1.9</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- Spring -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-core</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-context-support</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-web</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-webmvc</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-jdbc</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-oxm</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-tx</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-expression</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>cglib</groupId>
|
|
|
+ <artifactId>cglib</artifactId>
|
|
|
+ <version>3.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjrt</artifactId>
|
|
|
+ <version>1.6.11</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.aspectj</groupId>
|
|
|
+ <artifactId>aspectjweaver</artifactId>
|
|
|
+ <version>1.6.11</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- spring -->
|
|
|
+
|
|
|
+ <!-- jackson -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.jackson</groupId>
|
|
|
+ <artifactId>jackson-core-asl</artifactId>
|
|
|
+ <version>1.9.13</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.codehaus.jackson</groupId>
|
|
|
+ <artifactId>jackson-mapper-asl</artifactId>
|
|
|
+ <version>1.9.13</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- jackson -->
|
|
|
+
|
|
|
+ <!-- fastjson -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ <version>1.2.6</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- json-lib -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sf.json-lib</groupId>
|
|
|
+ <artifactId>json-lib</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ <classifier>jdk15</classifier>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- log4j -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>log4j</groupId>
|
|
|
+ <artifactId>log4j</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-api</artifactId>
|
|
|
+ <version>1.6.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ <version>1.6.2</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- log4j -->
|
|
|
+
|
|
|
+ <!-- commons -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-fileupload</groupId>
|
|
|
+ <artifactId>commons-fileupload</artifactId>
|
|
|
+ <version>1.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-logging</groupId>
|
|
|
+ <artifactId>commons-logging</artifactId>
|
|
|
+ <version>1.1.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-codec</groupId>
|
|
|
+ <artifactId>commons-codec</artifactId>
|
|
|
+ <version>1.2</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-pool</groupId>
|
|
|
+ <artifactId>commons-pool</artifactId>
|
|
|
+ <version>1.6</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-pool2</artifactId>
|
|
|
+ <version>2.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-httpclient</groupId>
|
|
|
+ <artifactId>commons-httpclient</artifactId>
|
|
|
+ <version>3.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>net.sourceforge.cobertura</groupId>
|
|
|
+ <artifactId>cobertura</artifactId>
|
|
|
+ <version>2.1.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.code.gson</groupId>
|
|
|
+ <artifactId>gson</artifactId>
|
|
|
+ <version>2.6</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- spring-test -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
+ <artifactId>spring-test</artifactId>
|
|
|
+ <version>${spring.version}</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>junit</groupId>
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
+ <version>4.10</version>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>eu.bitwalker</groupId>
|
|
|
+ <artifactId>UserAgentUtils</artifactId>
|
|
|
+ <version>1.16</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.scala-lang</groupId>
|
|
|
+ <artifactId>scala-library</artifactId>
|
|
|
+ <version>2.9.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.dropwizard.metrics</groupId>
|
|
|
+ <artifactId>metrics-core</artifactId>
|
|
|
+ <version>3.1.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.guava</groupId>
|
|
|
+ <artifactId>guava</artifactId>
|
|
|
+ <version>18.0</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- poi -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi</artifactId>
|
|
|
+ <version>3.10.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi-ooxml</artifactId>
|
|
|
+ <version>3.10.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.poi</groupId>
|
|
|
+ <artifactId>poi-ooxml-schemas</artifactId>
|
|
|
+ <version>3.10.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.servicemix.bundles</groupId>
|
|
|
+ <artifactId>org.apache.servicemix.bundles.xmlbeans</artifactId>
|
|
|
+ <version>2.4.0_1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.esotericsoftware</groupId>
|
|
|
+ <artifactId>reflectasm</artifactId>
|
|
|
+ <version>1.11.3</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.qiniu</groupId>
|
|
|
+ <artifactId>qiniu-java-sdk</artifactId>
|
|
|
+ <version>7.2.11</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.squareup.okhttp3</groupId>
|
|
|
+ <artifactId>okhttp</artifactId>
|
|
|
+ <version>3.3.1</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.qiniu</groupId>
|
|
|
+ <artifactId>happy-dns-java</artifactId>
|
|
|
+ <version>0.1.4</version>
|
|
|
+ <scope>compile</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-lang3</artifactId>
|
|
|
+ <version>3.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.httpcomponents</groupId>
|
|
|
+ <artifactId>httpclient</artifactId>
|
|
|
+ <version>4.5.6</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.commons</groupId>
|
|
|
+ <artifactId>commons-collections4</artifactId>
|
|
|
+ <version>4.2</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.quartz-scheduler</groupId>
|
|
|
+ <artifactId>quartz</artifactId>
|
|
|
+ <version>2.2.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.quartz-scheduler</groupId>
|
|
|
+ <artifactId>quartz-jobs</artifactId>
|
|
|
+ <version>2.2.1</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.zxing</groupId>
|
|
|
+ <artifactId>core</artifactId>
|
|
|
+ <version>3.3.3</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.7</source>
|
|
|
+ <target>1.7</target>
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
+ <compilerArguments>
|
|
|
+ <verbose/>
|
|
|
+ <!-- bootclasspath冒号是用于linux操作系统的,windows下只能改为分号。改完重新跑maven-->
|
|
|
+ <bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
|
|
|
+ </compilerArguments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+<!--
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <source>1.8</source>
|
|
|
+ <target>1.8</target>
|
|
|
+ <compilerArguments>
|
|
|
+ <bootclasspath>${JAVA_HOME_8}/jre/lib/rt.jar</bootclasspath>
|
|
|
+ </compilerArguments>
|
|
|
+ </configuration>
|
|
|
+ </plugin>-->
|
|
|
+ </plugins>
|
|
|
+
|
|
|
+
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|