pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466
  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. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>1.4.1.RELEASE</version>
  8. </parent>
  9. <groupId>com.uas.report</groupId>
  10. <artifactId>report</artifactId>
  11. <packaging>war</packaging>
  12. <version>0.0.1</version>
  13. <name>report Maven Webapp</name>
  14. <url>http://maven.apache.org</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <springframeword.cloud.version>1.2.1.RELEASE</springframeword.cloud.version>
  18. <oracle.jdbc.version>11.2.0</oracle.jdbc.version>
  19. <servlet.version>3.0-alpha-1</servlet.version>
  20. <druid.version>1.0.24</druid.version>
  21. <jasperreports.version>6.3.0</jasperreports.version>
  22. <poi.version>3.10.1</poi.version>
  23. <commons.fileupload.version>1.3.2</commons.fileupload.version>
  24. <fastjson.version>1.2.15</fastjson.version>
  25. <axis.version>1.4</axis.version>
  26. <commons.discovery.version>0.2</commons.discovery.version>
  27. <javax.activation.version>1.1.1</javax.activation.version>
  28. <barcode4j.version>2.1</barcode4j.version>
  29. <barbecue.version>1.5-beta1</barbecue.version>
  30. <batik.bridge.version>1.8</batik.bridge.version>
  31. <xmlgraphics.version>2.1</xmlgraphics.version>
  32. <mail.version>1.4.7</mail.version>
  33. <commons.lang.version>2.6</commons.lang.version>
  34. </properties>
  35. <dependencies>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-starter-config</artifactId>
  39. <version>${springframeword.cloud.version}</version>
  40. <exclusions>
  41. <exclusion>
  42. <groupId>org.slf4j</groupId>
  43. <artifactId>log4j-over-slf4j</artifactId>
  44. </exclusion>
  45. </exclusions>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-security</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework</groupId>
  53. <artifactId>spring-context-support</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-webmvc</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.aspectj</groupId>
  61. <artifactId>aspectjweaver</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.hibernate</groupId>
  65. <artifactId>hibernate-ehcache</artifactId>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>org.hibernate</groupId>
  69. <artifactId>hibernate-core</artifactId>
  70. </exclusion>
  71. <exclusion>
  72. <groupId>org.jboss.logging</groupId>
  73. <artifactId>jboss-logging</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <dependency>
  78. <groupId>javax.servlet</groupId>
  79. <artifactId>servlet-api</artifactId>
  80. <version>${servlet.version}</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba</groupId>
  85. <artifactId>druid</artifactId>
  86. <version>${druid.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba</groupId>
  90. <artifactId>fastjson</artifactId>
  91. <version>${fastjson.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.oracle</groupId>
  95. <artifactId>ojdbc6</artifactId>
  96. <version>${oracle.jdbc.version}</version>
  97. </dependency>
  98. <!-- 打印报表 -->
  99. <dependency>
  100. <groupId>net.sf.jasperreports</groupId>
  101. <artifactId>jasperreports</artifactId>
  102. <version>${jasperreports.version}</version>
  103. <exclusions>
  104. <exclusion>
  105. <groupId>org.apache.lucene</groupId>
  106. <artifactId>lucene-core</artifactId>
  107. </exclusion>
  108. <exclusion>
  109. <groupId>org.apache.lucene</groupId>
  110. <artifactId>lucene-analyzers-common</artifactId>
  111. </exclusion>
  112. <exclusion>
  113. <groupId>org.apache.lucene</groupId>
  114. <artifactId>lucene-queryparser</artifactId>
  115. </exclusion>
  116. <exclusion>
  117. <groupId>bouncycastle</groupId>
  118. <artifactId>bcprov-jdk14</artifactId>
  119. </exclusion>
  120. <exclusion>
  121. <groupId>org.bouncycastle</groupId>
  122. <artifactId>bctsp-jdk14</artifactId>
  123. </exclusion>
  124. <exclusion>
  125. <groupId>org.eclipse.jdt.core.compiler</groupId>
  126. <artifactId>ecj</artifactId>
  127. </exclusion>
  128. <exclusion>
  129. <groupId>com.ibm.icu</groupId>
  130. <artifactId>icu4j</artifactId>
  131. </exclusion>
  132. <exclusion>
  133. <groupId>org.jfree</groupId>
  134. <artifactId>jcommon</artifactId>
  135. </exclusion>
  136. <exclusion>
  137. <groupId>org.jfree</groupId>
  138. <artifactId>jfreechart</artifactId>
  139. </exclusion>
  140. <exclusion>
  141. <groupId>org.codehaus.castor</groupId>
  142. <artifactId>castor-xml</artifactId>
  143. </exclusion>
  144. <!-- 二维码打印 -->
  145. <!-- <exclusion> <groupId>com.google.zxing</groupId> <artifactId>core</artifactId>
  146. </exclusion> -->
  147. <exclusion>
  148. <groupId>org.olap4j</groupId>
  149. <artifactId>olap4j</artifactId>
  150. </exclusion>
  151. <exclusion>
  152. <groupId>commons-logging</groupId>
  153. <artifactId>commons-logging</artifactId>
  154. </exclusion>
  155. </exclusions>
  156. </dependency>
  157. <dependency>
  158. <groupId>net.sf.jasperreports</groupId>
  159. <artifactId>jasperreports-functions</artifactId>
  160. <version>${jasperreports.version}</version>
  161. </dependency>
  162. <!-- 导出xls报表 -->
  163. <dependency>
  164. <groupId>org.apache.poi</groupId>
  165. <artifactId>poi</artifactId>
  166. <version>${poi.version}</version>
  167. </dependency>
  168. <!-- 自制中文字体 - 微软雅黑 -->
  169. <dependency>
  170. <groupId>com.uas.report</groupId>
  171. <artifactId>microsoft-yahei-ui</artifactId>
  172. <version>1.0.0</version>
  173. </dependency>
  174. <!-- 文件上传 -->
  175. <dependency>
  176. <groupId>commons-fileupload</groupId>
  177. <artifactId>commons-fileupload</artifactId>
  178. <version>${commons.fileupload.version}</version>
  179. </dependency>
  180. <!-- HTTP请求 -->
  181. <dependency>
  182. <groupId>org.apache.httpcomponents</groupId>
  183. <artifactId>httpclient</artifactId>
  184. </dependency>
  185. <!-- axis web service -->
  186. <dependency>
  187. <groupId>org.apache.axis</groupId>
  188. <artifactId>axis</artifactId>
  189. <version>${axis.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.axis</groupId>
  193. <artifactId>axis-ant</artifactId>
  194. <version>${axis.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.axis</groupId>
  198. <artifactId>axis-jaxrpc</artifactId>
  199. <version>${axis.version}</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>org.apache.axis</groupId>
  203. <artifactId>axis-saaj</artifactId>
  204. <version>${axis.version}</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>commons-discovery</groupId>
  208. <artifactId>commons-discovery</artifactId>
  209. <version>${commons.discovery.version}</version>
  210. <exclusions>
  211. <exclusion>
  212. <groupId>commons-logging</groupId>
  213. <artifactId>commons-logging</artifactId>
  214. </exclusion>
  215. </exclusions>
  216. </dependency>
  217. <dependency>
  218. <groupId>wsdl4j</groupId>
  219. <artifactId>wsdl4j</artifactId>
  220. </dependency>
  221. <!-- Axis Attachment support -->
  222. <dependency>
  223. <groupId>javax.activation</groupId>
  224. <artifactId>activation</artifactId>
  225. <version>${javax.activation.version}</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>javax.mail</groupId>
  229. <artifactId>javax.mail-api</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>com.sun.mail</groupId>
  233. <artifactId>javax.mail</artifactId>
  234. </dependency>
  235. <!-- dom4j -->
  236. <dependency>
  237. <groupId>dom4j</groupId>
  238. <artifactId>dom4j</artifactId>
  239. </dependency>
  240. <dependency>
  241. <groupId>jaxen</groupId>
  242. <artifactId>jaxen</artifactId>
  243. </dependency>
  244. <!-- 打印条形码 -->
  245. <dependency>
  246. <groupId>net.sf.barcode4j</groupId>
  247. <artifactId>barcode4j</artifactId>
  248. <version>${barcode4j.version}</version>
  249. <exclusions>
  250. <exclusion>
  251. <groupId>org.apache.ant</groupId>
  252. <artifactId>ant</artifactId>
  253. </exclusion>
  254. <exclusion>
  255. <groupId>commons-cli</groupId>
  256. <artifactId>commons-cli</artifactId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <dependency>
  261. <groupId>net.sourceforge.barbecue</groupId>
  262. <artifactId>barbecue</artifactId>
  263. <version>${barbecue.version}</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.codehaus.groovy</groupId>
  267. <artifactId>groovy-all</artifactId>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.apache.xmlgraphics</groupId>
  271. <artifactId>batik-bridge</artifactId>
  272. <version>${batik.bridge.version}</version>
  273. <exclusions>
  274. <exclusion>
  275. <groupId>xalan</groupId>
  276. <artifactId>xalan</artifactId>
  277. </exclusion>
  278. </exclusions>
  279. </dependency>
  280. <dependency>
  281. <groupId>org.apache.xmlgraphics</groupId>
  282. <artifactId>xmlgraphics-commons</artifactId>
  283. <version>${xmlgraphics.version}</version>
  284. <exclusions>
  285. <exclusion>
  286. <groupId>commons-logging</groupId>
  287. <artifactId>commons-logging</artifactId>
  288. </exclusion>
  289. </exclusions>
  290. </dependency>
  291. <dependency>
  292. <groupId>commons-lang</groupId>
  293. <artifactId>commons-lang</artifactId>
  294. <version>${commons.lang.version}</version>
  295. </dependency>
  296. </dependencies>
  297. <build>
  298. <plugins>
  299. <plugin>
  300. <groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
  301. <artifactId>svn-revision-number-maven-plugin</artifactId>
  302. <version>1.13</version>
  303. <executions>
  304. <execution>
  305. <goals>
  306. <goal>revision</goal>
  307. </goals>
  308. </execution>
  309. </executions>
  310. <configuration>
  311. <entries>
  312. <entry>
  313. <prefix>svn</prefix>
  314. </entry>
  315. </entries>
  316. </configuration>
  317. <dependencies>
  318. <dependency>
  319. <groupId>org.tmatesoft.svnkit</groupId>
  320. <artifactId>svnkit</artifactId>
  321. <version>1.8.10</version>
  322. </dependency>
  323. </dependencies>
  324. </plugin>
  325. <plugin>
  326. <groupId>org.apache.maven.plugins</groupId>
  327. <artifactId>maven-compiler-plugin</artifactId>
  328. <configuration>
  329. <encoding>${project.build.sourceEncoding}</encoding>
  330. <source>1.7</source>
  331. <target>1.7</target>
  332. </configuration>
  333. </plugin>
  334. <plugin>
  335. <artifactId>maven-resources-plugin</artifactId>
  336. <executions>
  337. <execution>
  338. <id>copy-resources</id>
  339. <phase>prepare-package</phase>
  340. <goals>
  341. <goal>copy-resources</goal>
  342. </goals>
  343. <configuration>
  344. <outputDirectory>${project.build.directory}/minify</outputDirectory>
  345. <overwrite>false</overwrite>
  346. <resources>
  347. <resource>
  348. <directory>${basedir}/src/main/webapp</directory>
  349. </resource>
  350. </resources>
  351. </configuration>
  352. </execution>
  353. </executions>
  354. </plugin>
  355. <plugin>
  356. <groupId>com.uas.plugins</groupId>
  357. <artifactId>static-maven-plugin</artifactId>
  358. <version>0.0.2-SNAPSHOT</version>
  359. <!-- 静态资源分离 -->
  360. <executions>
  361. <execution>
  362. <id>default-static</id>
  363. <phase>prepare-package</phase>
  364. <configuration>
  365. <webappDir>${project.build.directory}/minify</webappDir>
  366. <sourceDir>/</sourceDir>
  367. <targetDir>${project.build.directory}/statics</targetDir>
  368. <staticDir>/</staticDir>
  369. <sourceIncludes>
  370. <sourceInclude>resources/js/**/*.js</sourceInclude>
  371. <sourceInclude>resources/css/**/*.css</sourceInclude>
  372. <sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
  373. </sourceIncludes>
  374. <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
  375. <versionSuffix>
  376. <suffix>?_v=${svn.revision}</suffix>
  377. <exclude>resources/lib/**/*</exclude>
  378. </versionSuffix>
  379. </configuration>
  380. <goals>
  381. <goal>static</goal>
  382. </goals>
  383. </execution>
  384. </executions>
  385. </plugin>
  386. <plugin>
  387. <groupId>org.apache.maven.plugins</groupId>
  388. <artifactId>maven-war-plugin</artifactId>
  389. <configuration>
  390. <webResources>
  391. <resource>
  392. <directory>${project.build.directory}/statics</directory>
  393. </resource>
  394. <resource>
  395. <directory>${project.build.directory}/minify</directory>
  396. </resource>
  397. </webResources>
  398. </configuration>
  399. </plugin>
  400. </plugins>
  401. <pluginManagement>
  402. <plugins>
  403. <plugin>
  404. <groupId>org.eclipse.m2e</groupId>
  405. <artifactId>lifecycle-mapping</artifactId>
  406. <version>1.0.0</version>
  407. <configuration>
  408. <lifecycleMappingMetadata>
  409. <pluginExecutions>
  410. <pluginExecution>
  411. <pluginExecutionFilter>
  412. <groupId>
  413. com.google.code.maven-svn-revision-number-plugin
  414. </groupId>
  415. <artifactId>
  416. svn-revision-number-maven-plugin
  417. </artifactId>
  418. <versionRange>
  419. [1.13,)
  420. </versionRange>
  421. <goals>
  422. <goal>
  423. revision
  424. </goal>
  425. </goals>
  426. </pluginExecutionFilter>
  427. <action>
  428. <ignore></ignore>
  429. </action>
  430. </pluginExecution>
  431. </pluginExecutions>
  432. </lifecycleMappingMetadata>
  433. </configuration>
  434. </plugin>
  435. </plugins>
  436. </pluginManagement>
  437. </build>
  438. <distributionManagement>
  439. <!-- 发布release仓库 -->
  440. <repository>
  441. <id>platform-release</id>
  442. <name>platform-release</name>
  443. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  444. </repository>
  445. <!-- 发布快照版本 -->
  446. <snapshotRepository>
  447. <id>platform-snapshots</id>
  448. <name>platform-snapshots</name>
  449. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  450. </snapshotRepository>
  451. </distributionManagement>
  452. </project>