pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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>rongji</groupId>
  5. <artifactId>rongji</artifactId>
  6. <packaging>war</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>energy Maven Webapp</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. <!-- MyBatis Generator -->
  13. <!-- Java接口和实体类 -->
  14. <targetJavaProject>${basedir}/src/main/java</targetJavaProject>
  15. <targetMapperPackage>com.yc.education.mapper</targetMapperPackage>
  16. <targetModelPackage>com.yc.education.model</targetModelPackage>
  17. <!-- XML生成路径 -->
  18. <targetResourcesProject>${basedir}/src/main/resources</targetResourcesProject>
  19. <targetXMLPackage>mapper</targetXMLPackage>
  20. <!-- 编译jdk版本 -->
  21. <jdk.version>1.8</jdk.version>
  22. <!-- 依赖版本 -->
  23. <mybatis.version>3.3.1</mybatis.version>
  24. <mapper.version>3.3.6</mapper.version>
  25. <pagehelper.version>4.1.1</pagehelper.version>
  26. <mysql.version>5.1.29</mysql.version>
  27. <spring.version>4.1.2.RELEASE</spring.version>
  28. <mybatis.spring.version>1.2.4</mybatis.spring.version>
  29. </properties>
  30. <dependencies>
  31. <!-- POI表格操作 start -->
  32. <dependency>
  33. <groupId>org.apache.poi</groupId>
  34. <artifactId>poi</artifactId>
  35. <version>3.9</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.poi</groupId>
  39. <artifactId>poi-ooxml</artifactId>
  40. <version>3.9</version>
  41. </dependency>
  42. <!-- POI表格操作 end -->
  43. <!-- excel 文件解析 start -->
  44. <dependency>
  45. <groupId>jexcelapi</groupId>
  46. <artifactId>jxl</artifactId>
  47. <version>2.6</version>
  48. </dependency>
  49. <!-- excel 文件解析 end -->
  50. <!-- Spring 定时器 start -->
  51. <dependency>
  52. <groupId>org.quartz-scheduler</groupId>
  53. <artifactId>quartz</artifactId>
  54. <version>1.8.4</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-context-support</artifactId>
  59. <version>3.2.4.RELEASE</version>
  60. </dependency>
  61. <!-- Spring 定时器 end -->
  62. <!-- lucene 全站搜索 start -->
  63. <dependency>
  64. <groupId>org.apache.lucene</groupId>
  65. <artifactId>lucene-core</artifactId>
  66. <version>6.4.1</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.lucene</groupId>
  70. <artifactId>lucene-analyzers</artifactId>
  71. <version>3.6.2</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.lucene</groupId>
  75. <artifactId>lucene-highlighter</artifactId>
  76. <version>6.4.1</version>
  77. </dependency>
  78. <!-- lucene 全站搜索 end -->
  79. <!-- ajax 上传 start -->
  80. <dependency>
  81. <groupId>commons-fileupload</groupId>
  82. <artifactId>commons-fileupload</artifactId>
  83. <version>1.3.1</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>commons-io</groupId>
  87. <artifactId>commons-io</artifactId>
  88. <version>2.5</version>
  89. </dependency>
  90. <!-- ajax 上传 end -->
  91. <!-- email邮件发送依赖 -->
  92. <dependency>
  93. <groupId>javax.mail</groupId>
  94. <artifactId>mail</artifactId>
  95. <version>1.4.6</version>
  96. </dependency>
  97. <!-- json -->
  98. <dependency>
  99. <groupId>org.json</groupId>
  100. <artifactId>org.json</artifactId>
  101. <version>chargebee-1.0</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba</groupId>
  105. <artifactId>fastjson</artifactId>
  106. <version>1.2.15</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>junit</groupId>
  110. <artifactId>junit</artifactId>
  111. <version>4.11</version>
  112. <scope>test</scope>
  113. </dependency>
  114. <dependency>
  115. <groupId>log4j</groupId>
  116. <artifactId>log4j</artifactId>
  117. <version>1.2.17</version>
  118. </dependency>
  119. <!-- http client -->
  120. <dependency>
  121. <groupId>org.apache.httpcomponents</groupId>
  122. <artifactId>httpclient</artifactId>
  123. <version>4.5.1</version>
  124. </dependency>
  125. <!-- json -->
  126. <dependency>
  127. <groupId>org.json</groupId>
  128. <artifactId>org.json</artifactId>
  129. <version>chargebee-1.0</version>
  130. </dependency>
  131. <!--web -->
  132. <dependency>
  133. <groupId>javax.servlet</groupId>
  134. <artifactId>servlet-api</artifactId>
  135. <version>2.5</version>
  136. <scope>provided</scope>
  137. </dependency>
  138. <dependency>
  139. <groupId>javax.servlet.jsp</groupId>
  140. <artifactId>jsp-api</artifactId>
  141. <version>2.1</version>
  142. <scope>provided</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>javax.servlet</groupId>
  146. <artifactId>jstl</artifactId>
  147. <version>1.2</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>javax.ws.rs</groupId>
  151. <artifactId>javax.ws.rs-api</artifactId>
  152. <version>2.0</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>javax.websocket</groupId>
  156. <artifactId>javax.websocket-api</artifactId>
  157. <version>1.0</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>javax.annotation</groupId>
  161. <artifactId>javax.annotation-api</artifactId>
  162. <version>1.2</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>javax.transaction</groupId>
  166. <artifactId>javax.transaction-api</artifactId>
  167. <version>1.2</version>
  168. </dependency>
  169. <!--Spring -->
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-context</artifactId>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-orm</artifactId>
  177. </dependency>
  178. <dependency>
  179. <groupId>org.springframework</groupId>
  180. <artifactId>spring-oxm</artifactId>
  181. </dependency>
  182. <dependency>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-jdbc</artifactId>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-tx</artifactId>
  189. </dependency>
  190. <dependency>
  191. <groupId>org.springframework</groupId>
  192. <artifactId>spring-web</artifactId>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-webmvc</artifactId>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.springframework</groupId>
  200. <artifactId>spring-aop</artifactId>
  201. </dependency>
  202. <dependency>
  203. <groupId>org.springframework</groupId>
  204. <artifactId>spring-test</artifactId>
  205. </dependency>
  206. <!--spring-oxm依赖 -->
  207. <dependency>
  208. <groupId>org.codehaus.castor</groupId>
  209. <artifactId>castor-xml</artifactId>
  210. <version>1.3.3</version>
  211. </dependency>
  212. <!--spring-json依赖 -->
  213. <dependency>
  214. <groupId>com.fasterxml.jackson.core</groupId>
  215. <artifactId>jackson-databind</artifactId>
  216. <version>2.4.2</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>com.fasterxml.jackson.dataformat</groupId>
  220. <artifactId>jackson-dataformat-xml</artifactId>
  221. <version>2.4.2</version>
  222. </dependency>
  223. <!--spring-aop依赖 -->
  224. <dependency>
  225. <groupId>org.aspectj</groupId>
  226. <artifactId>aspectjweaver</artifactId>
  227. <version>1.8.2</version>
  228. </dependency>
  229. <!--上传文件 -->
  230. <dependency>
  231. <groupId>commons-fileupload</groupId>
  232. <artifactId>commons-fileupload</artifactId>
  233. <version>1.3.1</version>
  234. </dependency>
  235. <!--mysql -->
  236. <dependency>
  237. <groupId>mysql</groupId>
  238. <artifactId>mysql-connector-java</artifactId>
  239. <version>${mysql.version}</version>
  240. </dependency>
  241. <!--druid -->
  242. <dependency>
  243. <groupId>com.alibaba</groupId>
  244. <artifactId>druid</artifactId>
  245. <version>1.0.11</version>
  246. </dependency>
  247. <dependency>
  248. <groupId>net.sf.json-lib</groupId>
  249. <artifactId>json-lib-ext-spring</artifactId>
  250. <version>1.0.2</version>
  251. </dependency>
  252. <!--Mybatis -->
  253. <dependency>
  254. <groupId>org.mybatis</groupId>
  255. <artifactId>mybatis</artifactId>
  256. <version>${mybatis.version}</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.mybatis</groupId>
  260. <artifactId>mybatis-spring</artifactId>
  261. <version>${mybatis.spring.version}</version>
  262. </dependency>
  263. <!-- Mybatis Generator -->
  264. <dependency>
  265. <groupId>org.mybatis.generator</groupId>
  266. <artifactId>mybatis-generator-core</artifactId>
  267. <version>1.3.2</version>
  268. <scope>compile</scope>
  269. <optional>true</optional>
  270. </dependency>
  271. <!--分页插件 -->
  272. <dependency>
  273. <groupId>com.github.pagehelper</groupId>
  274. <artifactId>pagehelper</artifactId>
  275. <version>${pagehelper.version}</version>
  276. </dependency>
  277. <!--通用Mapper -->
  278. <dependency>
  279. <groupId>tk.mybatis</groupId>
  280. <artifactId>mapper</artifactId>
  281. <version>${mapper.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>commons-codec</groupId>
  285. <artifactId>commons-codec</artifactId>
  286. <version>1.10</version>
  287. </dependency>
  288. <!-- 二维码 -->
  289. <dependency>
  290. <groupId>com.google.zxing</groupId>
  291. <artifactId>core</artifactId>
  292. <version>3.2.1</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>com.google.zxing</groupId>
  296. <artifactId>javase</artifactId>
  297. <version>3.2.1</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>dom4j</groupId>
  301. <artifactId>dom4j</artifactId>
  302. <version>1.6.1</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>commons-httpclient</groupId>
  306. <artifactId>commons-httpclient</artifactId>
  307. <version>3.1</version>
  308. </dependency>
  309. </dependencies>
  310. <dependencyManagement>
  311. <dependencies>
  312. <dependency>
  313. <groupId>org.springframework</groupId>
  314. <artifactId>spring-framework-bom</artifactId>
  315. <version>${spring.version}</version>
  316. <type>pom</type>
  317. <scope>import</scope>
  318. </dependency>
  319. </dependencies>
  320. </dependencyManagement>
  321. <build>
  322. <resources>
  323. <resource>
  324. <directory>${basedir}/src/main/java</directory>
  325. <includes>
  326. <include>**/*.xml</include>
  327. </includes>
  328. </resource>
  329. <resource>
  330. <directory>${basedir}/src/main/resources</directory>
  331. </resource>
  332. </resources>
  333. <plugins>
  334. <plugin>
  335. <artifactId>maven-compiler-plugin</artifactId>
  336. <configuration>
  337. <source>${jdk.version}</source>
  338. <target>${jdk.version}</target>
  339. </configuration>
  340. </plugin>
  341. <plugin>
  342. <groupId>org.mybatis.generator</groupId>
  343. <artifactId>mybatis-generator-maven-plugin</artifactId>
  344. <version>1.3.2</version>
  345. <configuration>
  346. <configurationFile>${basedir}/src/main/resources/generator/generatorConfig.xml</configurationFile>
  347. <overwrite>true</overwrite>
  348. <verbose>true</verbose>
  349. </configuration>
  350. <dependencies>
  351. <dependency>
  352. <groupId>mysql</groupId>
  353. <artifactId>mysql-connector-java</artifactId>
  354. <version>${mysql.version}</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>tk.mybatis</groupId>
  358. <artifactId>mapper</artifactId>
  359. <version>${mapper.version}</version>
  360. </dependency>
  361. </dependencies>
  362. </plugin>
  363. </plugins>
  364. </build>
  365. </project>