pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.agent</groupId>
  7. <artifactId>agentPlat</artifactId>
  8. <packaging>war</packaging>
  9. <name>agentPlat</name>
  10. <version>0.0.1-SNAPSHOT</version>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring.version>4.0.0.RELEASE</spring.version>
  15. <aspectjweaver.version>1.8.0</aspectjweaver.version>
  16. <jackson.version>2.6.0</jackson.version>
  17. <log4j.version>1.2.17</log4j.version>
  18. <jettyVersion>7.2.0.v20101020</jettyVersion>
  19. <maven.test.skip>true</maven.test.skip>
  20. </properties>
  21. <dependencies>
  22. <!--<dependency>-->
  23. <!--<groupId>com.sn.framework</groupId>-->
  24. <!--<artifactId>sn_security</artifactId>-->
  25. <!--<version>1.3.4</version>-->
  26. <!--</dependency>-->
  27. <!--<dependency>-->
  28. <!--<groupId>com.sn</groupId>-->
  29. <!--<artifactId>mk-client</artifactId>-->
  30. <!--<version>3.0</version>-->
  31. <!--</dependency>-->
  32. <!-- jetty -->
  33. <dependency>
  34. <groupId>org.eclipse.jetty</groupId>
  35. <artifactId>jetty-server</artifactId>
  36. <version>${jettyVersion}</version>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.eclipse.jetty</groupId>
  41. <artifactId>jetty-webapp</artifactId>
  42. <version>${jettyVersion}</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.eclipse.jetty</groupId>
  47. <artifactId>jetty-util</artifactId>
  48. <version>${jettyVersion}</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.eclipse.jetty</groupId>
  53. <artifactId>jetty-io</artifactId>
  54. <version>${jettyVersion}</version>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.eclipse.jetty</groupId>
  59. <artifactId>jetty-continuation</artifactId>
  60. <version>${jettyVersion}</version>
  61. <scope>test</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.eclipse.jetty</groupId>
  65. <artifactId>jetty-http</artifactId>
  66. <version>${jettyVersion}</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.eclipse.jetty</groupId>
  71. <artifactId>jetty-security</artifactId>
  72. <version>${jettyVersion}</version>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.eclipse.jetty</groupId>
  77. <artifactId>jetty-servlet</artifactId>
  78. <version>${jettyVersion}</version>
  79. <scope>test</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.eclipse.jetty</groupId>
  83. <artifactId>jetty-xml</artifactId>
  84. <version>${jettyVersion}</version>
  85. <scope>test</scope>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.mortbay.jetty</groupId>
  89. <artifactId>jsp-2.1-glassfish</artifactId>
  90. <version>2.1.v20100127</version>
  91. <scope>test</scope>
  92. </dependency>
  93. <!-- jetty -->
  94. <dependency>
  95. <groupId>aopalliance</groupId>
  96. <artifactId>aopalliance</artifactId>
  97. <version>1.0</version>
  98. </dependency>
  99. <!-- SSH -->
  100. <dependency>
  101. <groupId>com.jcraft</groupId>
  102. <artifactId>jsch</artifactId>
  103. <version>0.1.50</version>
  104. </dependency>
  105. <!--<dependency>
  106. <groupId>com.sun</groupId>
  107. <artifactId>tools</artifactId>
  108. <version>1.7</version>
  109. <scope>system</scope>
  110. <systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
  111. </dependency>-->
  112. <dependency>
  113. <groupId>javax.servlet</groupId>
  114. <artifactId>jstl</artifactId>
  115. <version>1.2</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>taglibs</groupId>
  119. <artifactId>standard</artifactId>
  120. <version>1.1.2</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>javax.servlet.jsp</groupId>
  124. <artifactId>jsp-api</artifactId>
  125. <version>2.2</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>javax.servlet</groupId>
  129. <artifactId>servlet-api</artifactId>
  130. <version>2.5</version>
  131. </dependency>
  132. <!-- c3p0/ojdbc14 -->
  133. <dependency>
  134. <groupId>c3p0</groupId>
  135. <artifactId>c3p0</artifactId>
  136. <version>0.9.1.2</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>mysql</groupId>
  140. <artifactId>mysql-connector-java</artifactId>
  141. <version>5.1.9</version>
  142. </dependency>
  143. <!-- Spring -->
  144. <dependency>
  145. <groupId>org.springframework</groupId>
  146. <artifactId>spring-core</artifactId>
  147. <version>${spring.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework</groupId>
  151. <artifactId>spring-aop</artifactId>
  152. <version>${spring.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework</groupId>
  156. <artifactId>spring-context-support</artifactId>
  157. <version>${spring.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-web</artifactId>
  162. <version>${spring.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-webmvc</artifactId>
  167. <version>${spring.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-beans</artifactId>
  172. <version>${spring.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-jdbc</artifactId>
  177. <version>${spring.version}</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.springframework</groupId>
  181. <artifactId>spring-oxm</artifactId>
  182. <version>${spring.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.springframework</groupId>
  186. <artifactId>spring-tx</artifactId>
  187. <version>${spring.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework</groupId>
  191. <artifactId>spring-expression</artifactId>
  192. <version>${spring.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>cglib</groupId>
  196. <artifactId>cglib</artifactId>
  197. <version>3.1</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.aspectj</groupId>
  201. <artifactId>aspectjrt</artifactId>
  202. <version>1.6.11</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.aspectj</groupId>
  206. <artifactId>aspectjweaver</artifactId>
  207. <version>1.6.11</version>
  208. </dependency>
  209. <!-- spring -->
  210. <!-- jackson -->
  211. <dependency>
  212. <groupId>org.codehaus.jackson</groupId>
  213. <artifactId>jackson-core-asl</artifactId>
  214. <version>1.9.13</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.codehaus.jackson</groupId>
  218. <artifactId>jackson-mapper-asl</artifactId>
  219. <version>1.9.13</version>
  220. </dependency>
  221. <!-- jackson -->
  222. <!-- fastjson -->
  223. <dependency>
  224. <groupId>com.alibaba</groupId>
  225. <artifactId>fastjson</artifactId>
  226. <version>1.2.6</version>
  227. </dependency>
  228. <!-- json-lib -->
  229. <dependency>
  230. <groupId>net.sf.json-lib</groupId>
  231. <artifactId>json-lib</artifactId>
  232. <version>2.4</version>
  233. <classifier>jdk15</classifier>
  234. </dependency>
  235. <!-- log4j -->
  236. <dependency>
  237. <groupId>log4j</groupId>
  238. <artifactId>log4j</artifactId>
  239. <version>${log4j.version}</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.slf4j</groupId>
  243. <artifactId>slf4j-api</artifactId>
  244. <version>1.6.2</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>org.slf4j</groupId>
  248. <artifactId>slf4j-log4j12</artifactId>
  249. <version>1.6.2</version>
  250. </dependency>
  251. <!-- log4j -->
  252. <!-- commons -->
  253. <dependency>
  254. <groupId>commons-io</groupId>
  255. <artifactId>commons-io</artifactId>
  256. <version>2.4</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>commons-fileupload</groupId>
  260. <artifactId>commons-fileupload</artifactId>
  261. <version>1.2</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>commons-logging</groupId>
  265. <artifactId>commons-logging</artifactId>
  266. <version>1.1.1</version>
  267. </dependency>
  268. <dependency>
  269. <groupId>commons-codec</groupId>
  270. <artifactId>commons-codec</artifactId>
  271. <version>1.2</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>commons-pool</groupId>
  275. <artifactId>commons-pool</artifactId>
  276. <version>1.6</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.apache.commons</groupId>
  280. <artifactId>commons-pool2</artifactId>
  281. <version>2.4</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>commons-httpclient</groupId>
  285. <artifactId>commons-httpclient</artifactId>
  286. <version>3.1</version>
  287. </dependency>
  288. <dependency>
  289. <groupId>net.sourceforge.cobertura</groupId>
  290. <artifactId>cobertura</artifactId>
  291. <version>2.1.1</version>
  292. </dependency>
  293. <dependency>
  294. <groupId>com.google.code.gson</groupId>
  295. <artifactId>gson</artifactId>
  296. <version>2.6</version>
  297. </dependency>
  298. <!-- spring-test -->
  299. <dependency>
  300. <groupId>org.springframework</groupId>
  301. <artifactId>spring-test</artifactId>
  302. <version>${spring.version}</version>
  303. <scope>test</scope>
  304. </dependency>
  305. <dependency>
  306. <groupId>junit</groupId>
  307. <artifactId>junit</artifactId>
  308. <version>4.10</version>
  309. <scope>test</scope>
  310. </dependency>
  311. <dependency>
  312. <groupId>eu.bitwalker</groupId>
  313. <artifactId>UserAgentUtils</artifactId>
  314. <version>1.16</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.scala-lang</groupId>
  318. <artifactId>scala-library</artifactId>
  319. <version>2.9.1</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>io.dropwizard.metrics</groupId>
  323. <artifactId>metrics-core</artifactId>
  324. <version>3.1.0</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>com.google.guava</groupId>
  328. <artifactId>guava</artifactId>
  329. <version>18.0</version>
  330. </dependency>
  331. <!-- poi -->
  332. <dependency>
  333. <groupId>org.apache.poi</groupId>
  334. <artifactId>poi</artifactId>
  335. <version>3.10.1</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>org.apache.poi</groupId>
  339. <artifactId>poi-ooxml</artifactId>
  340. <version>3.10.1</version>
  341. </dependency>
  342. <dependency>
  343. <groupId>org.apache.poi</groupId>
  344. <artifactId>poi-ooxml-schemas</artifactId>
  345. <version>3.10.1</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>org.apache.servicemix.bundles</groupId>
  349. <artifactId>org.apache.servicemix.bundles.xmlbeans</artifactId>
  350. <version>2.4.0_1</version>
  351. </dependency>
  352. <dependency>
  353. <groupId>com.esotericsoftware</groupId>
  354. <artifactId>reflectasm</artifactId>
  355. <version>1.11.3</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>com.qiniu</groupId>
  359. <artifactId>qiniu-java-sdk</artifactId>
  360. <version>7.2.11</version>
  361. <scope>compile</scope>
  362. </dependency>
  363. <dependency>
  364. <groupId>com.squareup.okhttp3</groupId>
  365. <artifactId>okhttp</artifactId>
  366. <version>3.3.1</version>
  367. <scope>compile</scope>
  368. </dependency>
  369. <dependency>
  370. <groupId>com.qiniu</groupId>
  371. <artifactId>happy-dns-java</artifactId>
  372. <version>0.1.4</version>
  373. <scope>compile</scope>
  374. </dependency>
  375. <dependency>
  376. <groupId>org.apache.commons</groupId>
  377. <artifactId>commons-lang3</artifactId>
  378. <version>3.1</version>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.apache.httpcomponents</groupId>
  382. <artifactId>httpclient</artifactId>
  383. <version>4.5.6</version>
  384. </dependency>
  385. <dependency>
  386. <groupId>org.apache.commons</groupId>
  387. <artifactId>commons-collections4</artifactId>
  388. <version>4.2</version>
  389. </dependency>
  390. <dependency>
  391. <groupId>org.quartz-scheduler</groupId>
  392. <artifactId>quartz</artifactId>
  393. <version>2.2.1</version>
  394. </dependency>
  395. <dependency>
  396. <groupId>org.quartz-scheduler</groupId>
  397. <artifactId>quartz-jobs</artifactId>
  398. <version>2.2.1</version>
  399. </dependency>
  400. <dependency>
  401. <groupId>com.google.zxing</groupId>
  402. <artifactId>core</artifactId>
  403. <version>3.3.3</version>
  404. </dependency>
  405. </dependencies>
  406. <build>
  407. <plugins>
  408. <plugin>
  409. <groupId>org.apache.maven.plugins</groupId>
  410. <artifactId>maven-compiler-plugin</artifactId>
  411. <configuration>
  412. <source>1.7</source>
  413. <target>1.7</target>
  414. <encoding>UTF-8</encoding>
  415. <compilerArguments>
  416. <verbose/>
  417. <!-- bootclasspath冒号是用于linux操作系统的,windows下只能改为分号。改完重新跑maven-->
  418. <bootclasspath>${java.home}/lib/rt.jar:${java.home}/lib/jce.jar</bootclasspath>
  419. </compilerArguments>
  420. </configuration>
  421. </plugin>
  422. <!--
  423. <plugin>
  424. <groupId>org.apache.maven.plugins</groupId>
  425. <artifactId>maven-compiler-plugin</artifactId>
  426. <configuration>
  427. <source>1.8</source>
  428. <target>1.8</target>
  429. <compilerArguments>
  430. <bootclasspath>${JAVA_HOME_8}/jre/lib/rt.jar</bootclasspath>
  431. </compilerArguments>
  432. </configuration>
  433. </plugin>-->
  434. </plugins>
  435. </build>
  436. </project>