pom.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.xt.js.gkaq</groupId>
  5. <artifactId>gkaq-web</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <description>港口安全网页端</description>
  9. <dependencies>
  10. <dependency>
  11. <groupId>org.springframework</groupId>
  12. <artifactId>spring-webmvc</artifactId>
  13. <scope>compile</scope>
  14. </dependency>
  15. <dependency>
  16. <groupId>org.springframework</groupId>
  17. <artifactId>spring-jdbc</artifactId>
  18. <scope>compile</scope>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework</groupId>
  22. <artifactId>spring-test</artifactId>
  23. <scope>test</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework</groupId>
  27. <artifactId>spring-context-support</artifactId>
  28. <scope>compile</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.slf4j</groupId>
  32. <artifactId>slf4j-log4j12</artifactId>
  33. <scope>compile</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.alibaba</groupId>
  37. <artifactId>druid</artifactId>
  38. </dependency>
  39. <!-- mybatis分页插件 -->
  40. <dependency>
  41. <groupId>com.yuanxd.tools</groupId>
  42. <artifactId>x-tools-pagehelper</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.mybatis</groupId>
  46. <artifactId>mybatis-spring</artifactId>
  47. <scope>compile</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.mybatis</groupId>
  51. <artifactId>mybatis</artifactId>
  52. <scope>compile</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>javax.servlet</groupId>
  56. <artifactId>servlet-api</artifactId>
  57. <scope>provided</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>javax.servlet</groupId>
  61. <artifactId>jstl</artifactId>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>taglibs</groupId>
  66. <artifactId>standard</artifactId>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>javax.servlet.jsp</groupId>
  71. <artifactId>jsp-api</artifactId>
  72. <scope>provided</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.fasterxml.jackson.core</groupId>
  76. <artifactId>jackson-core</artifactId>
  77. <scope>compile</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.fasterxml.jackson.core</groupId>
  81. <artifactId>jackson-databind</artifactId>
  82. <scope>compile</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.alibaba</groupId>
  86. <artifactId>fastjson</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.aspectj</groupId>
  90. <artifactId>aspectjrt</artifactId>
  91. <scope>compile</scope>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.aspectj</groupId>
  95. <artifactId>aspectjweaver</artifactId>
  96. <scope>compile</scope>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.oracle</groupId>
  100. <artifactId>ojdbc6</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.h2database</groupId>
  104. <artifactId>h2</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.quartz-scheduler</groupId>
  108. <artifactId>quartz</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.yuanxd.tools</groupId>
  112. <artifactId>x-tools-io</artifactId>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.shiro</groupId>
  116. <artifactId>shiro-core</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.apache.shiro</groupId>
  120. <artifactId>shiro-spring</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.shiro</groupId>
  124. <artifactId>shiro-web</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.shiro</groupId>
  128. <artifactId>shiro-ehcache</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.xt.js.gkaq</groupId>
  132. <artifactId>gkaq-frame</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.xt.js.gkaq</groupId>
  136. <artifactId>gkaq-common</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.xt.js.gkaq</groupId>
  140. <artifactId>gkaq-dwxx</artifactId>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.xt.js.gkaq</groupId>
  144. <artifactId>gkaq-aqsp</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>junit</groupId>
  148. <artifactId>junit</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.apache.poi</groupId>
  152. <artifactId>poi</artifactId>
  153. </dependency>
  154. <dependency>
  155. <groupId>commons-fileupload</groupId>
  156. <artifactId>commons-fileupload</artifactId>
  157. <version>1.2.2</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-io</groupId>
  161. <artifactId>commons-io</artifactId>
  162. <version>2.0.1</version>
  163. </dependency>
  164. </dependencies>
  165. <build>
  166. <!-- 插件配置 -->
  167. <pluginManagement>
  168. <plugins>
  169. <!-- compiler插件, 设定JDK版本 -->
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-compiler-plugin</artifactId>
  173. <version>3.0</version>
  174. <configuration>
  175. <source>${jdk.version}</source>
  176. <target>${jdk.version}</target>
  177. <showWarnings>true</showWarnings>
  178. </configuration>
  179. </plugin>
  180. <!-- war插件, 设定war名称不带版本号 -->
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-war-plugin</artifactId>
  184. <version>2.2</version>
  185. <configuration>
  186. <warName>${project.artifactId}</warName>
  187. </configuration>
  188. </plugin>
  189. <!-- resource插件, 设定编码 -->
  190. <plugin>
  191. <groupId>org.apache.maven.plugins</groupId>
  192. <artifactId>maven-resources-plugin</artifactId>
  193. <version>2.5</version>
  194. <configuration>
  195. <encoding>${project.build.sourceEncoding}</encoding>
  196. </configuration>
  197. </plugin>
  198. <!-- jar相关插件 -->
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-jar-plugin</artifactId>
  202. <version>2.4</version>
  203. <configuration>
  204. <archive>
  205. <manifest>
  206. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  207. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  208. </manifest>
  209. </archive>
  210. </configuration>
  211. </plugin>
  212. <!-- clean插件 -->
  213. <plugin>
  214. <groupId>org.apache.maven.plugins</groupId>
  215. <artifactId>maven-clean-plugin</artifactId>
  216. <version>2.4.1</version>
  217. </plugin>
  218. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-eclipse-plugin</artifactId>
  222. <version>2.9</version>
  223. <configuration>
  224. <sourceExcludes>
  225. <sourceExclude>**/.svn/</sourceExclude>
  226. </sourceExcludes>
  227. <downloadSources>true</downloadSources>
  228. <downloadJavadocs>false</downloadJavadocs>
  229. </configuration>
  230. </plugin>
  231. <!-- source attach plugin -->
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-source-plugin</artifactId>
  235. <version>2.1.2</version>
  236. <executions>
  237. <execution>
  238. <id>attach-sources</id>
  239. <goals>
  240. <goal>jar</goal>
  241. </goals>
  242. </execution>
  243. </executions>
  244. </plugin>
  245. </plugins>
  246. </pluginManagement>
  247. <plugins>
  248. <plugin>
  249. <artifactId>maven-war-plugin</artifactId>
  250. </plugin>
  251. <!-- compiler插件, 设定JDK版本 -->
  252. <plugin>
  253. <groupId>org.mybatis.generator</groupId>
  254. <artifactId>mybatis-generator-maven-plugin</artifactId>
  255. <version>1.3.2</version>
  256. <dependencies>
  257. <dependency>
  258. <groupId>com.oracle</groupId>
  259. <artifactId>ojdbc6</artifactId>
  260. <version>11.2.0</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>com.h2database</groupId>
  264. <artifactId>h2</artifactId>
  265. <version>1.4.192</version>
  266. </dependency>
  267. </dependencies>
  268. <configuration>
  269. <configurationFile>${basedir}\src\main\resources\generatorConfig.xml</configurationFile>
  270. <overwrite>true</overwrite>
  271. </configuration>
  272. </plugin>
  273. </plugins>
  274. </build>
  275. <dependencyManagement>
  276. <dependencies>
  277. <dependency>
  278. <groupId>com.xt.js.gkaq</groupId>
  279. <artifactId>gkaq-bom</artifactId>
  280. <version>0.0.1-SNAPSHOT</version>
  281. <type>pom</type>
  282. <scope>import</scope>
  283. </dependency>
  284. </dependencies>
  285. </dependencyManagement>
  286. <properties>
  287. <project.build.sourceEncoding>GBK</project.build.sourceEncoding>
  288. <!-- java 版本 -->
  289. <jdk.version>1.7</jdk.version>
  290. </properties>
  291. </project>