pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.esiu.city</groupId>
  5. <artifactId>city_base</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>city_base</name>
  9. <url>http://www.esiu.com.cn</url>
  10. <properties>
  11. <junit-version>4.12</junit-version>
  12. <servlet-version>3.0.1</servlet-version>
  13. <jsp-version>2.2</jsp-version>
  14. <standard-version>1.2.5</standard-version>
  15. <slf4j>1.7.13</slf4j>
  16. <commons-lang>3.4</commons-lang>
  17. <commons-collection-version>3.2.2</commons-collection-version>
  18. <gson-version>2.5</gson-version>
  19. <spring-version>4.2.4.RELEASE</spring-version>
  20. <aspectj-version>1.8.7</aspectj-version>
  21. <commons-fileupload-version>1.3.1</commons-fileupload-version>
  22. <commons-beanutils-version>1.7.0</commons-beanutils-version>
  23. <jackson-version>2.6.4</jackson-version>
  24. <hibernate-version>4.3.11.Final</hibernate-version>
  25. <ojdbc-version>1.0</ojdbc-version>
  26. <shiro-version>1.2.4</shiro-version>
  27. <jsoup-version>1.8.3</jsoup-version>
  28. <org.apache.poi>3.13</org.apache.poi>
  29. <ueditor-version>1.1.2</ueditor-version>
  30. <json-version>20160212</json-version>
  31. <commons-codec>1.10</commons-codec>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>junit</groupId>
  36. <artifactId>junit</artifactId>
  37. <version>${junit-version}</version>
  38. <scope>test</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>javax.servlet</groupId>
  42. <artifactId>javax.servlet-api</artifactId>
  43. <version>${servlet-version}</version>
  44. <scope>provided</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.servlet.jsp</groupId>
  48. <artifactId>jsp-api</artifactId>
  49. <version>${jsp-version}</version>
  50. <scope>provided</scope>
  51. </dependency>
  52. <!-- 公共基础支撑 start -->
  53. <!-- jstl start -->
  54. <dependency>
  55. <groupId>org.apache.taglibs</groupId>
  56. <artifactId>taglibs-standard-spec</artifactId>
  57. <version>${standard-version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.apache.taglibs</groupId>
  61. <artifactId>taglibs-standard-impl</artifactId>
  62. <version>${standard-version}</version>
  63. </dependency>
  64. <!-- jstl end -->
  65. <!-- commons -->
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. <version>${commons-lang}</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>commons-collections</groupId>
  73. <artifactId>commons-collections</artifactId>
  74. <version>${commons-collection-version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-beanutils</groupId>
  78. <artifactId>commons-beanutils</artifactId>
  79. <version>${commons-beanutils-version}</version>
  80. <exclusions>
  81. <exclusion>
  82. <groupId>commons-logging</groupId>
  83. <artifactId>commons-logging</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <!-- loggin start -->
  88. <dependency>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>slf4j-api</artifactId>
  91. <version>${slf4j}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.slf4j</groupId>
  95. <artifactId>slf4j-log4j12</artifactId>
  96. <version>${slf4j}</version>
  97. </dependency>
  98. <!-- loggin end -->
  99. <!-- gson -->
  100. <dependency>
  101. <groupId>com.google.code.gson</groupId>
  102. <artifactId>gson</artifactId>
  103. <version>${gson-version}</version>
  104. </dependency>
  105. <!-- 公共基础支撑 end -->
  106. <!-- spring 配置 start -->
  107. <dependency>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-core</artifactId>
  110. <version>${spring-version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework</groupId>
  114. <artifactId>spring-context</artifactId>
  115. <version>${spring-version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>org.springframework</groupId>
  119. <artifactId>spring-beans</artifactId>
  120. <version>${spring-version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.springframework</groupId>
  124. <artifactId>spring-orm</artifactId>
  125. <version>${spring-version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.springframework</groupId>
  129. <artifactId>spring-jdbc</artifactId>
  130. <version>${spring-version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework</groupId>
  134. <artifactId>spring-tx</artifactId>
  135. <version>${spring-version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.springframework</groupId>
  139. <artifactId>spring-web</artifactId>
  140. <version>${spring-version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.springframework</groupId>
  144. <artifactId>spring-aop</artifactId>
  145. <version>${spring-version}</version>
  146. </dependency>
  147. <!-- spring mvc -->
  148. <dependency>
  149. <groupId>org.springframework</groupId>
  150. <artifactId>spring-webmvc</artifactId>
  151. <version>${spring-version}</version>
  152. </dependency>
  153. <!-- spring test -->
  154. <dependency>
  155. <groupId>org.springframework</groupId>
  156. <artifactId>spring-test</artifactId>
  157. <version>${spring-version}</version>
  158. </dependency>
  159. <!--spring 文件上传支持 -->
  160. <dependency>
  161. <groupId>commons-fileupload</groupId>
  162. <artifactId>commons-fileupload</artifactId>
  163. <version>${commons-fileupload-version}</version>
  164. </dependency>
  165. <!-- sping json支持 -->
  166. <dependency>
  167. <groupId>com.fasterxml.jackson.core</groupId>
  168. <artifactId>jackson-databind</artifactId>
  169. <version>${jackson-version}</version>
  170. </dependency>
  171. <!-- spring 配置 end -->
  172. <!--AOP支持 aspectj 配置 start -->
  173. <dependency>
  174. <groupId>org.aspectj</groupId>
  175. <artifactId>aspectjrt</artifactId>
  176. <version>${aspectj-version}</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.aspectj</groupId>
  180. <artifactId>aspectjweaver</artifactId>
  181. <version>${aspectj-version}</version>
  182. </dependency>
  183. <!-- aspectj 配置 end -->
  184. <!-- hibernate 配置 start -->
  185. <dependency>
  186. <groupId>org.hibernate</groupId>
  187. <artifactId>hibernate-core</artifactId>
  188. <version>${hibernate-version}</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.hibernate</groupId>
  192. <artifactId>hibernate-entitymanager</artifactId>
  193. <version>${hibernate-version}</version>
  194. </dependency>
  195. <!-- c3p0 -->
  196. <dependency>
  197. <groupId>org.hibernate</groupId>
  198. <artifactId>hibernate-c3p0</artifactId>
  199. <version>${hibernate-version}</version>
  200. </dependency>
  201. <!-- oracle驱动 私服第三方库 -->
  202. <dependency>
  203. <groupId>oracle</groupId>
  204. <artifactId>oracle-ojdbc6</artifactId>
  205. <version>${ojdbc-version}</version>
  206. </dependency>
  207. <!--shiro-->
  208. <dependency>
  209. <groupId>org.apache.shiro</groupId>
  210. <artifactId>shiro-core</artifactId>
  211. <version>${shiro-version}</version>
  212. </dependency>
  213. <!--jsoup-->
  214. <dependency>
  215. <groupId>org.jsoup</groupId>
  216. <artifactId>jsoup</artifactId>
  217. <version>${jsoup-version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.apache.poi</groupId>
  221. <artifactId>poi-ooxml</artifactId>
  222. <version>${org.apache.poi}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.apache.ant</groupId>
  226. <artifactId>ant</artifactId>
  227. <version>1.9.4</version>
  228. </dependency>
  229. <!-- 二级缓存
  230. <dependency>
  231. <groupId>org.hibernate</groupId>
  232. <artifactId>hibernate-ehcache</artifactId>
  233. <version>${hibernate-version}</version>
  234. </dependency>-->
  235. <!-- hibernate 配置 end -->
  236. <!--ue-->
  237. <dependency>
  238. <groupId>com.baidu</groupId>
  239. <artifactId>ueditor</artifactId>
  240. <version>${ueditor-version}</version>
  241. </dependency>
  242. <dependency>
  243. <groupId>org.json</groupId>
  244. <artifactId>json</artifactId>
  245. <version>${json-version}</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>commons-codec</groupId>
  249. <artifactId>commons-codec</artifactId>
  250. <version>${commons-codec}</version>
  251. </dependency>
  252. </dependencies>
  253. <distributionManagement>
  254. <repository>
  255. <id>deploy-release</id>
  256. <name>repository for deplay</name>
  257. <url>http://10.0.1.208:10000/nexus/content/groups/public/</url>
  258. </repository>
  259. <snapshotRepository>
  260. <id>deploy-snapshot</id>
  261. <name>repository for deplay</name>
  262. <url>http://10.0.1.208:10000/nexus/content/groups/public/</url>
  263. </snapshotRepository>
  264. </distributionManagement>
  265. <build>
  266. <plugins>
  267. <!-- 修改编译器插件版本 -->
  268. <plugin>
  269. <groupId>org.apache.maven.plugins</groupId>
  270. <artifactId>maven-compiler-plugin</artifactId>
  271. <version>3.3</version>
  272. <configuration>
  273. <source>1.7</source>
  274. <target>1.7</target>
  275. </configuration>
  276. </plugin>
  277. <!--解决测试乱码问题-->
  278. <plugin>
  279. <groupId>org.apache.maven.plugins</groupId>
  280. <artifactId>maven-surefire-plugin</artifactId>
  281. <version>2.7.2</version>
  282. <configuration>
  283. <forkMode>once</forkMode>
  284. <argLine>-Dfile.encoding=UTF-8</argLine>
  285. <systemProperties>
  286. <property>
  287. <name>net.sourceforge.cobertura.datafile</name>
  288. <value>target/cobertura/cobertura.ser</value>
  289. </property>
  290. </systemProperties>
  291. </configuration>
  292. </plugin>
  293. </plugins>
  294. <finalName>city_base</finalName>
  295. </build>
  296. </project>