pom.xml 8.0 KB

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