pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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>junit</groupId>
  144. <artifactId>junit</artifactId>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.apache.poi</groupId>
  148. <artifactId>poi</artifactId>
  149. </dependency>
  150. <dependency>
  151. <groupId>commons-fileupload</groupId>
  152. <artifactId>commons-fileupload</artifactId>
  153. <version>1.2.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>commons-io</groupId>
  157. <artifactId>commons-io</artifactId>
  158. <version>2.0.1</version>
  159. </dependency>
  160. </dependencies>
  161. <build>
  162. <!-- 插件配置 -->
  163. <pluginManagement>
  164. <plugins>
  165. <!-- compiler插件, 设定JDK版本 -->
  166. <plugin>
  167. <groupId>org.apache.maven.plugins</groupId>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <version>3.0</version>
  170. <configuration>
  171. <source>${jdk.version}</source>
  172. <target>${jdk.version}</target>
  173. <showWarnings>true</showWarnings>
  174. </configuration>
  175. </plugin>
  176. <!-- war插件, 设定war名称不带版本号 -->
  177. <plugin>
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-war-plugin</artifactId>
  180. <version>2.2</version>
  181. <configuration>
  182. <warName>${project.artifactId}</warName>
  183. </configuration>
  184. </plugin>
  185. <!-- resource插件, 设定编码 -->
  186. <plugin>
  187. <groupId>org.apache.maven.plugins</groupId>
  188. <artifactId>maven-resources-plugin</artifactId>
  189. <version>2.5</version>
  190. <configuration>
  191. <encoding>${project.build.sourceEncoding}</encoding>
  192. </configuration>
  193. </plugin>
  194. <!-- jar相关插件 -->
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-jar-plugin</artifactId>
  198. <version>2.4</version>
  199. <configuration>
  200. <archive>
  201. <manifest>
  202. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  203. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  204. </manifest>
  205. </archive>
  206. </configuration>
  207. </plugin>
  208. <!-- clean插件 -->
  209. <plugin>
  210. <groupId>org.apache.maven.plugins</groupId>
  211. <artifactId>maven-clean-plugin</artifactId>
  212. <version>2.4.1</version>
  213. </plugin>
  214. <!-- eclipse插件,设定下载Source并屏蔽.svn文件 -->
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-eclipse-plugin</artifactId>
  218. <version>2.9</version>
  219. <configuration>
  220. <sourceExcludes>
  221. <sourceExclude>**/.svn/</sourceExclude>
  222. </sourceExcludes>
  223. <downloadSources>true</downloadSources>
  224. <downloadJavadocs>false</downloadJavadocs>
  225. </configuration>
  226. </plugin>
  227. <!-- source attach plugin -->
  228. <plugin>
  229. <groupId>org.apache.maven.plugins</groupId>
  230. <artifactId>maven-source-plugin</artifactId>
  231. <version>2.1.2</version>
  232. <executions>
  233. <execution>
  234. <id>attach-sources</id>
  235. <goals>
  236. <goal>jar</goal>
  237. </goals>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. </plugins>
  242. </pluginManagement>
  243. <plugins>
  244. <plugin>
  245. <artifactId>maven-war-plugin</artifactId>
  246. </plugin>
  247. <!-- compiler插件, 设定JDK版本 -->
  248. <plugin>
  249. <groupId>org.mybatis.generator</groupId>
  250. <artifactId>mybatis-generator-maven-plugin</artifactId>
  251. <version>1.3.2</version>
  252. <dependencies>
  253. <dependency>
  254. <groupId>com.oracle</groupId>
  255. <artifactId>ojdbc6</artifactId>
  256. <version>11.2.0</version>
  257. </dependency>
  258. <dependency>
  259. <groupId>com.h2database</groupId>
  260. <artifactId>h2</artifactId>
  261. <version>1.4.192</version>
  262. </dependency>
  263. </dependencies>
  264. <configuration>
  265. <configurationFile>${basedir}\src\main\resources\generatorConfig.xml</configurationFile>
  266. <overwrite>true</overwrite>
  267. </configuration>
  268. </plugin>
  269. </plugins>
  270. </build>
  271. <dependencyManagement>
  272. <dependencies>
  273. <dependency>
  274. <groupId>com.xt.js.gkaq</groupId>
  275. <artifactId>gkaq-bom</artifactId>
  276. <version>0.0.1-SNAPSHOT</version>
  277. <type>pom</type>
  278. <scope>import</scope>
  279. </dependency>
  280. </dependencies>
  281. </dependencyManagement>
  282. <properties>
  283. <project.build.sourceEncoding>GBK</project.build.sourceEncoding>
  284. <!-- java 版本 -->
  285. <jdk.version>1.7</jdk.version>
  286. </properties>
  287. </project>