pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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. <parent>
  5. <groupId>com.hnshituo</groupId>
  6. <artifactId>core-fs-lib</artifactId>
  7. <version>5.0.20</version>
  8. </parent>
  9. <artifactId>xinsteel.maketx</artifactId>
  10. <version>0.0.1-SNAPSHOT</version>
  11. <packaging>war</packaging>
  12. <!-- 这里必须配置,不然生成的项目的配置文件会有编码问题 -->
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <profiles>
  17. <!-- 开发环境 -->
  18. <profile>
  19. <id>dev</id>
  20. <activation>
  21. <activeByDefault>true</activeByDefault>
  22. </activation>
  23. <properties>
  24. <profiles.active>dev</profiles.active>
  25. <deploy.url>http://localhost:8080/manager/text</deploy.url>
  26. <deploy.username>tomcat</deploy.username>
  27. <deploy.password>tomcat</deploy.password>
  28. </properties>
  29. </profile>
  30. <!-- 测试环境 -->
  31. <profile>
  32. <id>test</id>
  33. <properties>
  34. <profiles.active>test</profiles.active>
  35. <deploy.url>http://localhost:8080/manager/text</deploy.url>
  36. <deploy.username>tomcat</deploy.username>
  37. <deploy.password>tomcat</deploy.password>
  38. </properties>
  39. </profile>
  40. <!-- 仿真环境 -->
  41. <profile>
  42. <id>simu</id>
  43. <properties>
  44. <profiles.active>simu</profiles.active>
  45. <deploy.url>http://localhost:8080/manager/text</deploy.url>
  46. <deploy.username>tomcat</deploy.username>
  47. <deploy.password>tomcat</deploy.password>
  48. </properties>
  49. </profile>
  50. <!-- 生产环境 -->
  51. <profile>
  52. <id>prd</id>
  53. <properties>
  54. <profiles.active>prd</profiles.active>
  55. <deploy.url>http://localhost:8080/manager/text</deploy.url>
  56. <deploy.username>tomcat</deploy.username>
  57. <deploy.password>tomcat</deploy.password>
  58. </properties>
  59. </profile>
  60. <profile>
  61. <id>prd2</id>
  62. <properties>
  63. <profiles.active>prd2</profiles.active>
  64. <deploy.url>http://localhost:8080/manager/text</deploy.url>
  65. <deploy.username>tomcat</deploy.username>
  66. <deploy.password>tomcat</deploy.password>
  67. </properties>
  68. </profile>
  69. </profiles>
  70. <build>
  71. <finalName>xinsteel.maketx</finalName>
  72. <resources>
  73. <resource>
  74. <directory>src/main/resources</directory>
  75. <!-- 资源根目录排除各环境的配置,使用单独的资源目录来指定 -->
  76. <excludes>
  77. <exclude>dev/*</exclude>
  78. <exclude>test/*</exclude>
  79. <exclude>prd/*</exclude>
  80. <exclude>prd2/*</exclude>
  81. </excludes>
  82. </resource>
  83. <resource>
  84. <directory>src/main/resources/${profiles.active}</directory>
  85. </resource>
  86. </resources>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-compiler-plugin</artifactId>
  91. <version>2.3.2</version>
  92. <configuration>
  93. <source>1.7</source>
  94. <target>1.7</target>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-war-plugin</artifactId>
  100. <version>2.2</version>
  101. <configuration>
  102. <version>2.5</version>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.codehaus.mojo</groupId>
  107. <artifactId>tomcat-maven-plugin</artifactId>
  108. <!-- <version>1.2-SNAPSHOT</version> -->
  109. <configuration>
  110. <server>tomcat</server>
  111. <url>${deploy.url}</url>
  112. <username>${deploy.username}</username>
  113. <password>${deploy.password}</password>
  114. <path>/xinsteel.maketx</path>
  115. </configuration>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. <dependencies>
  120. <dependency>
  121. <groupId>com.hynnet</groupId>
  122. <artifactId>jxl</artifactId>
  123. <version>2.6.12.1</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>bsh</groupId>
  127. <artifactId>bsh</artifactId>
  128. <version>1.3.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>weld-osgi-bundle</groupId>
  132. <artifactId>weld-osgi-bundle</artifactId>
  133. <version>3.0.0</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.artofsolving</groupId>
  137. <artifactId>jodconverter</artifactId>
  138. <version>2.2.2</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>icore-file-service</groupId>
  142. <artifactId>icore-file-service</artifactId>
  143. <version>1.0.323</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.thetransactioncompany</groupId>
  147. <artifactId>cors-filter</artifactId>
  148. <version>1.7</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.thetransactioncompany</groupId>
  152. <artifactId>java-property-utils</artifactId>
  153. <version>1.9</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.google.code.gson</groupId>
  157. <artifactId>gson</artifactId>
  158. <version>2.2.2</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.hnshituo.other</groupId>
  162. <artifactId>json-lib</artifactId>
  163. <version>2.1</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>net.bull.javamelody</groupId>
  167. <artifactId>javamelody-core</artifactId>
  168. <version>1.61.0</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.thetransactioncompany</groupId>
  172. <artifactId>cors-filter</artifactId>
  173. <version>1.7</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.thetransactioncompany</groupId>
  177. <artifactId>java-property-utils</artifactId>
  178. <version>1.9</version>
  179. </dependency>
  180. <!-- <dependency>
  181. <groupId>com.oracle</groupId>
  182. <artifactId>ojdbc</artifactId>
  183. <version>11.2.0.1.0</version>
  184. </dependency> -->
  185. <dependency>
  186. <groupId>commons-dbcp</groupId>
  187. <artifactId>commons-dbcp</artifactId>
  188. <version>1.4</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>commons-pool</groupId>
  192. <artifactId>commons-pool</artifactId>
  193. <version>1.6</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>axis</groupId>
  197. <artifactId>axis</artifactId>
  198. <version>1.4</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>jaxrpc</groupId>
  202. <artifactId>jaxrpc</artifactId>
  203. <version>1.1</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>commons-discovery</groupId>
  207. <artifactId>commons-discovery</artifactId>
  208. <version>0.2</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>commons-net</groupId>
  212. <artifactId>commons-net</artifactId>
  213. <version>1.4.1</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>commons-fileupload</groupId>
  217. <artifactId>commons-fileupload</artifactId>
  218. <version>1.3.3</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.apache.poi</groupId>
  222. <artifactId>poi-ooxml-schemas</artifactId>
  223. <version>3.17</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>fakepath</groupId>
  227. <artifactId>poi-ooxml</artifactId>
  228. <version>3.17</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>fakepath</groupId>
  232. <artifactId>poi</artifactId>
  233. <version>3.17</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.apache.commons</groupId>
  237. <artifactId>commons-collections4</artifactId>
  238. <version>4.1</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>dom4j</groupId>
  242. <artifactId>dom4j</artifactId>
  243. <version>1.6.1</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.apache.xmlbeans</groupId>
  247. <artifactId>xmlbeans</artifactId>
  248. <version>2.6.0</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>stax</groupId>
  252. <artifactId>stax-api</artifactId>
  253. <version>1.0.1</version>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.geronimo.specs</groupId>
  257. <artifactId>geronimo-stax-api_1.0_spec</artifactId>
  258. <version>1.0.1</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.apache.poi</groupId>
  262. <artifactId>poi-scratchpad</artifactId>
  263. <version>3.17</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.poi</groupId>
  267. <artifactId>poi-excelant</artifactId>
  268. <version>3.17</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>com.google.zxing</groupId>
  272. <artifactId>javase</artifactId>
  273. <version>3.3.0</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>qrcode</groupId>
  277. <artifactId>qrcode-api</artifactId>
  278. <version>3.0</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>com.aspose</groupId>
  282. <artifactId>aspose-cells</artifactId>
  283. <version>8.5.2</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>commons-codec</groupId>
  287. <artifactId>commons-codec</artifactId>
  288. <version>1.3</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>mysql</groupId>
  292. <artifactId>mysql-connector-java</artifactId>
  293. <version>5.1.6</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>com.itextpdf</groupId>
  297. <artifactId>itextpdf</artifactId>
  298. <version>5.5.6</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>com.itextpdf</groupId>
  302. <artifactId>itext-asian</artifactId>
  303. <version>5.2.0</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>org.bouncycastle</groupId>
  307. <artifactId>bcprov-jdk15on</artifactId>
  308. <version>1.47</version>
  309. </dependency>
  310. </dependencies>
  311. </project>