pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.qhiot</groupId>
  8. <artifactId>qhiot-app</artifactId>
  9. <version>1.0.1</version>
  10. </parent>
  11. <groupId>com.qhiot</groupId>
  12. <artifactId>qhiot-web</artifactId>
  13. <version>1.0.1</version>
  14. <packaging>war</packaging>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.qhiot</groupId>
  21. <artifactId>qhiot-3rd-hik9800</artifactId>
  22. <version>1.0.1</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.qhiot</groupId>
  26. <artifactId>qhiot-core</artifactId>
  27. <version>1.0.1</version>
  28. <exclusions>
  29. <exclusion>
  30. <artifactId>logback-core</artifactId>
  31. <groupId>ch.qos.logback</groupId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.qhiot</groupId>
  37. <artifactId>qhiot-webcore</artifactId>
  38. <version>1.0.1</version>
  39. <exclusions>
  40. <exclusion>
  41. <artifactId>commons-beanutils</artifactId>
  42. <groupId>commons-beanutils</groupId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.qhiot</groupId>
  48. <artifactId>qhiot-websocket</artifactId>
  49. <version>1.0.1</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.qhiot</groupId>
  53. <artifactId>qhiot-cache</artifactId>
  54. <version>1.0.1</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.qhiot</groupId>
  58. <artifactId>qhiot-log2jms</artifactId>
  59. <version>1.0.1</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.qhiot</groupId>
  63. <artifactId>qhiot-log2es</artifactId>
  64. <version>1.0.1</version>
  65. <exclusions>
  66. <exclusion>
  67. <artifactId>guava</artifactId>
  68. <groupId>com.google.guava</groupId>
  69. </exclusion>
  70. </exclusions>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.qhiot</groupId>
  74. <artifactId>qhiot-log2es-browser</artifactId>
  75. <version>1.0.1</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.qhiot</groupId>
  79. <artifactId>qhiot-transport-message</artifactId>
  80. <version>1.0.1</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.qhiot</groupId>
  84. <artifactId>qhiot-transport-server</artifactId>
  85. <version>1.0.1</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.qhiot</groupId>
  89. <artifactId>qhiot-transport-web</artifactId>
  90. <version>1.0.1</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.qhiot</groupId>
  94. <artifactId>qhiot-cm</artifactId>
  95. <version>1.0.1</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.qhiot</groupId>
  99. <artifactId>qhiot-order</artifactId>
  100. <version>1.0.1</version>
  101. </dependency>
  102. <!--<dependency>
  103. <groupId>com.qhiot</groupId>
  104. <artifactId>qhiot-eventcenter</artifactId>
  105. <version>1.0.1</version>
  106. </dependency>-->
  107. <dependency>
  108. <groupId>com.qhiot</groupId>
  109. <artifactId>qhiot-video</artifactId>
  110. <version>1.0.1</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.qhiot</groupId>
  114. <artifactId>qhiot-notification</artifactId>
  115. <version>1.0.1</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.qhiot</groupId>
  119. <artifactId>qhiot-api-detect</artifactId>
  120. <version>1.0.1</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.qhiot</groupId>
  124. <artifactId>qhiot-api-wechat</artifactId>
  125. <version>1.0.1</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.qhiot</groupId>
  129. <artifactId>qhiot-api-link</artifactId>
  130. <version>1.0.1</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.qhiot</groupId>
  134. <artifactId>qhiot-api-ws</artifactId>
  135. <version>1.0.1</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.qhiot</groupId>
  139. <artifactId>qhiot-api-insight</artifactId>
  140. <version>1.0.1</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.qhiot</groupId>
  144. <artifactId>qhiot-api-datareport</artifactId>
  145. <version>1.0.1</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.qhiot</groupId>
  149. <artifactId>qhiot-transport-stats</artifactId>
  150. <version>1.0.1</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>com.qhiot</groupId>
  154. <artifactId>qhiot-operation</artifactId>
  155. <version>1.0.1</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>com.qhiot</groupId>
  159. <artifactId>qhiot-wechat</artifactId>
  160. <version>1.0.1</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>com.qhiot</groupId>
  164. <artifactId>qhiot-document</artifactId>
  165. <version>1.0.1</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>com.qhiot</groupId>
  169. <artifactId>qhiot-reception</artifactId>
  170. <version>1.0.1</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.qhiot</groupId>
  174. <artifactId>qhiot-faq</artifactId>
  175. <version>1.0.1</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.qhiot</groupId>
  179. <artifactId>qhiot-3rd-hik9800</artifactId>
  180. <version>1.0.1</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.qhiot</groupId>
  184. <artifactId>qhiot-transport-api-sync</artifactId>
  185. <version>1.0.1</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.qhiot</groupId>
  189. <artifactId>qhiot-detect</artifactId>
  190. <version>1.0.1</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.qhiot</groupId>
  194. <artifactId>qhiot-report</artifactId>
  195. <version>1.0.1</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>com.qhiot</groupId>
  199. <artifactId>qhiot-pm-task</artifactId>
  200. <version>1.0.1</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.qhiot</groupId>
  204. <artifactId>qhiot-pm-project</artifactId>
  205. <version>1.0.1</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.qhiot</groupId>
  209. <artifactId>qhiot-pm-knowledge</artifactId>
  210. <version>1.0.1</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.qhiot</groupId>
  214. <artifactId>qhiot-global-waterquality</artifactId>
  215. <version>1.0.1</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.qhiot</groupId>
  219. <artifactId>qhiot-artificialwater</artifactId>
  220. <version>1.0.1</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>javax</groupId>
  224. <artifactId>javaee-api</artifactId>
  225. <version>7.0</version>
  226. <scope>provided</scope>
  227. </dependency>
  228. <!-- Spring -->
  229. <dependency>
  230. <groupId>org.springframework</groupId>
  231. <artifactId>spring-webmvc</artifactId>
  232. <version>${springframework.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.springframework</groupId>
  236. <artifactId>spring-test</artifactId>
  237. <version>${springframework.version}</version>
  238. </dependency>
  239. <!-- Database -->
  240. <dependency>
  241. <groupId>com.alibaba</groupId>
  242. <artifactId>druid</artifactId>
  243. <version>1.0.29</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>mysql</groupId>
  247. <artifactId>mysql-connector-java</artifactId>
  248. <version>5.1.25</version>
  249. </dependency>
  250. <!-- Log -->
  251. <dependency>
  252. <groupId>org.apache.logging.log4j</groupId>
  253. <artifactId>log4j-core</artifactId>
  254. <version>${log4j2.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.apache.logging.log4j</groupId>
  258. <artifactId>log4j-api</artifactId>
  259. <version>${log4j2.version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.apache.logging.log4j</groupId>
  263. <artifactId>log4j-slf4j-impl</artifactId>
  264. <version>${log4j2.version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.apache.logging.log4j</groupId>
  268. <artifactId>log4j-web</artifactId>
  269. <version>${log4j2.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>com.lmax</groupId>
  273. <artifactId>disruptor</artifactId>
  274. <version>3.3.2</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.slf4j</groupId>
  278. <artifactId>jcl-over-slf4j</artifactId>
  279. <version>1.7.12</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.apache.logging.log4j</groupId>
  283. <artifactId>log4j-1.2-api</artifactId>
  284. <version>${log4j2.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.fusesource.jansi</groupId>
  288. <artifactId>jansi</artifactId>
  289. <version>1.17</version>
  290. </dependency>
  291. <!-- SpringMVC Viewer -->
  292. <dependency>
  293. <groupId>org.freemarker</groupId>
  294. <artifactId>freemarker</artifactId>
  295. <version>2.3.27-incubating</version>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.apache.velocity</groupId>
  299. <artifactId>velocity</artifactId>
  300. <version>1.7</version>
  301. </dependency>
  302. <dependency>
  303. <groupId>commons-fileupload</groupId>
  304. <artifactId>commons-fileupload</artifactId>
  305. <version>1.3.1</version>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.aspectj</groupId>
  309. <artifactId>aspectjweaver</artifactId>
  310. <version>1.8.6</version>
  311. </dependency>
  312. <dependency>
  313. <groupId>javax.validation</groupId>
  314. <artifactId>validation-api</artifactId>
  315. <version>1.1.0.Final</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>javax.servlet</groupId>
  319. <artifactId>javax.servlet-api</artifactId>
  320. <version>3.1.0</version>
  321. <scope>provided</scope>
  322. </dependency>
  323. <dependency>
  324. <groupId>javax.servlet</groupId>
  325. <artifactId>jstl</artifactId>
  326. <version>1.2</version>
  327. </dependency>
  328. <dependency>
  329. <groupId>junit</groupId>
  330. <artifactId>junit</artifactId>
  331. <version>4.12</version>
  332. <scope>test</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.eclipse.jetty.websocket</groupId>
  336. <artifactId>websocket-server</artifactId>
  337. <version>9.2.17.v20160517</version>
  338. <scope>test</scope>
  339. </dependency>
  340. <!-- Web Server -->
  341. <!--
  342. <dependency>
  343. <groupId>org.eclipse.jetty</groupId>
  344. <artifactId>jetty-webapp</artifactId>
  345. <version>9.2.17.v20160517</version>
  346. </dependency>
  347. <dependency>
  348. <groupId>org.eclipse.jetty</groupId>
  349. <artifactId>jetty-jsp</artifactId>
  350. <version>9.2.17.v20160517</version>
  351. </dependency>
  352. <dependency>
  353. <groupId>org.eclipse.jetty</groupId>
  354. <artifactId>jetty-continuation</artifactId>
  355. <version>9.2.17.v20160517</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>org.eclipse.jetty.websocket</groupId>
  359. <artifactId>websocket-server</artifactId>
  360. <version>9.2.17.v20160517</version>
  361. </dependency>
  362. -->
  363. </dependencies>
  364. <build>
  365. <finalName>qhiot-web</finalName>
  366. <resources>
  367. <resource>
  368. <directory>src/main/java</directory>
  369. <excludes>
  370. <exclude>**/*.java</exclude>
  371. <exclude>**/sass/**</exclude>
  372. <exclude>**/*.scss</exclude>
  373. </excludes>
  374. <filtering>true</filtering>
  375. </resource>
  376. <resource>
  377. <directory>src/main/resources</directory>
  378. <excludes>
  379. <exclude>production/**</exclude>
  380. <exclude>development/**</exclude>
  381. <exclude>test/**</exclude>
  382. <exclude>xls/**</exclude>
  383. </excludes>
  384. <filtering>true</filtering>
  385. </resource>
  386. <resource>
  387. <directory>src/main/resources</directory>
  388. <includes>
  389. <include>xls/**</include>
  390. </includes>
  391. <filtering>false</filtering>
  392. </resource>
  393. <resource>
  394. <directory>src/main/resources/${profiles.active}</directory>
  395. </resource>
  396. </resources>
  397. <plugins>
  398. <!--<plugin>-->
  399. <!--<groupId>net.alchim31.maven</groupId>-->
  400. <!--<artifactId>yuicompressor-maven-plugin</artifactId>-->
  401. <!--<version>1.5.1</version>-->
  402. <!--<executions>-->
  403. <!--<execution>-->
  404. <!--<goals>-->
  405. <!--<goal>compress</goal>-->
  406. <!--</goals>-->
  407. <!--</execution>-->
  408. <!--</executions>-->
  409. <!--<configuration>-->
  410. <!--<encoding>UTF-8</encoding>-->
  411. <!--<jswarn>false</jswarn>-->
  412. <!--<nosuffix>true</nosuffix>-->
  413. <!--<excludes>-->
  414. <!--<exclude>**/plugins/**</exclude>-->
  415. <!--<exclude>**/cache/**</exclude>-->
  416. <!--<exclude>**/weui/**</exclude>-->
  417. <!--<exclude>**/sass/**</exclude>-->
  418. <!--<exclude>**/*.scss</exclude>-->
  419. <!--</excludes>-->
  420. <!--<includes>-->
  421. <!--<include>**/*.js</include>-->
  422. <!--<include>**/*.css</include>-->
  423. <!--</includes>-->
  424. <!--</configuration>-->
  425. <!--</plugin>-->
  426. <plugin>
  427. <groupId>org.apache.maven.plugins</groupId>
  428. <artifactId>maven-war-plugin</artifactId>
  429. <version>3.1.0</version>
  430. <configuration>
  431. <warSourceExcludes>static/sass/**,static/css/**,static/scripts/**,static/cache/**</warSourceExcludes>
  432. <packagingExcludes>static/sass/**,static/cache/**</packagingExcludes>
  433. </configuration>
  434. </plugin>
  435. </plugins>
  436. </build>
  437. <profiles>
  438. <profile>
  439. <!-- 本地开发环境 -->
  440. <id>development</id>
  441. <properties>
  442. <profiles.active>development</profiles.active>
  443. </properties>
  444. <activation>
  445. <activeByDefault>true</activeByDefault>
  446. </activation>
  447. </profile>
  448. <profile>
  449. <!-- 测试环境 -->
  450. <id>test</id>
  451. <properties>
  452. <profiles.active>test</profiles.active>
  453. </properties>
  454. </profile>
  455. <profile>
  456. <!-- 生产环境 -->
  457. <id>production</id>
  458. <properties>
  459. <profiles.active>production</profiles.active>
  460. </properties>
  461. </profile>
  462. </profiles>
  463. </project>