pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. <groupId>com.yihu.ehr.iot</groupId>
  5. <artifactId>app-iot-server</artifactId>
  6. <packaging>war</packaging>
  7. <version>1.0.0</version>
  8. <parent>
  9. <groupId>com.yihu.jw</groupId>
  10. <artifactId>svr-lib-parent-pom</artifactId>
  11. <version>1.0.0</version>
  12. <relativePath>../../svr-lib-parent-pom/pom.xml</relativePath>
  13. </parent>
  14. <!-- 依赖包 -->
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. <exclusions>
  20. <exclusion>
  21. <artifactId>log4j-over-slf4j</artifactId>
  22. <groupId>org.slf4j</groupId>
  23. </exclusion>
  24. <exclusion>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-tomcat</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-tomcat</artifactId>
  33. <scope>provided</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>us.codecraft</groupId>
  37. <artifactId>webmagic-core</artifactId>
  38. <version>0.4.2</version>
  39. <exclusions>
  40. <exclusion>
  41. <artifactId>log4j</artifactId>
  42. <groupId>log4j</groupId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>us.codecraft</groupId>
  48. <artifactId>webmagic-extension</artifactId>
  49. <version>0.4.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>de.codecentric</groupId>
  53. <artifactId>spring-boot-admin-starter-client</artifactId>
  54. <version>1.3.3</version>
  55. </dependency>
  56. <!-- 使用intellij作为集成开发环境 -->
  57. <dependency>
  58. <groupId>org.apache.tomcat.embed</groupId>
  59. <artifactId>tomcat-embed-jasper</artifactId>
  60. <scope>compile</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>javax.servlet</groupId>
  64. <artifactId>jstl</artifactId>
  65. <scope>compile</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework</groupId>
  74. <artifactId>spring-webmvc</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.springframework.security</groupId>
  78. <artifactId>spring-security-web</artifactId>
  79. <version>4.0.0.RELEASE</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.security</groupId>
  83. <artifactId>spring-security-config</artifactId>
  84. <version>4.0.0.RELEASE</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.security</groupId>
  88. <artifactId>spring-security-taglibs</artifactId>
  89. <version>4.0.0.RELEASE</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.tiles</groupId>
  93. <artifactId>tiles-extras</artifactId>
  94. <version>3.0.5</version>
  95. <exclusions>
  96. <exclusion>
  97. <groupId>com.google.guava</groupId>
  98. <artifactId>guava</artifactId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework</groupId>
  104. <artifactId>spring-context</artifactId>
  105. </dependency>
  106. <dependency>
  107. <groupId>io.springfox</groupId>
  108. <artifactId>springfox-swagger2</artifactId>
  109. <version>2.4.0</version>
  110. <exclusions>
  111. <exclusion>
  112. <artifactId>classmate</artifactId>
  113. <groupId>com.fasterxml</groupId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-swagger-ui</artifactId>
  120. <version>2.4.0</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.commons</groupId>
  124. <artifactId>commons-collections4</artifactId>
  125. <version>4.0</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>eu.medsea.mimeutil</groupId>
  129. <artifactId>mime-util</artifactId>
  130. <version>2.1.3</version>
  131. <exclusions>
  132. <exclusion>
  133. <artifactId>slf4j-log4j12</artifactId>
  134. <groupId>org.slf4j</groupId>
  135. </exclusion>
  136. </exclusions>
  137. </dependency>
  138. <dependency>
  139. <groupId>com.sun.jna</groupId>
  140. <artifactId>jna</artifactId>
  141. <version>3.0.9</version>
  142. </dependency>
  143. <!--<dependency>-->
  144. <!--<groupId>org.springframework.session</groupId>-->
  145. <!--<artifactId>spring-session-data-redis</artifactId>-->
  146. <!--</dependency>-->
  147. <dependency>
  148. <groupId>net.lingala.zip4j</groupId>
  149. <artifactId>zip4j</artifactId>
  150. <version>1.3.2</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>commons-fileupload</groupId>
  154. <artifactId>commons-fileupload</artifactId>
  155. <version>1.3</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.commons</groupId>
  159. <artifactId>commons-lang3</artifactId>
  160. <version>3.4</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>commons-httpclient</groupId>
  164. <artifactId>commons-httpclient</artifactId>
  165. <version>3.1</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.apache.httpcomponents</groupId>
  169. <artifactId>httpmime</artifactId>
  170. <version>4.5.1</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.json</groupId>
  174. <artifactId>json</artifactId>
  175. <version>20151123</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>junit</groupId>
  179. <artifactId>junit</artifactId>
  180. <version>4.12</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>net.sourceforge.jexcelapi</groupId>
  184. <artifactId>jxl</artifactId>
  185. <version>2.6</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.yihu.ehr</groupId>
  189. <artifactId>commons-admin-gateway-model</artifactId>
  190. <version>1.1.0</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>com.yihu.ehr</groupId>
  194. <artifactId>commons-util</artifactId>
  195. <version>1.1.0</version>
  196. <exclusions>
  197. <exclusion>
  198. <artifactId>log4j-core</artifactId>
  199. <groupId>org.apache.logging.log4j</groupId>
  200. </exclusion>
  201. <exclusion>
  202. <artifactId>log4j-api</artifactId>
  203. <groupId>org.apache.logging.log4j</groupId>
  204. </exclusion>
  205. </exclusions>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.yihu.ehr</groupId>
  209. <artifactId>commons-rest-model</artifactId>
  210. <version>1.1.0</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.yihu.jw</groupId>
  214. <artifactId>common-request-mapping</artifactId>
  215. <version>1.0.0</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.yihu.jw</groupId>
  219. <artifactId>common-rest-model</artifactId>
  220. <version>1.0.0</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.yihu.base</groupId>
  224. <artifactId>common-data-fastdfs</artifactId>
  225. <version>1.0.0</version>
  226. </dependency>
  227. <dependency>
  228. <groupId>org.springframework.boot</groupId>
  229. <artifactId>spring-boot-starter-logging</artifactId>
  230. </dependency>
  231. </dependencies>
  232. <build>
  233. <finalName>app-iot-server</finalName>
  234. <plugins>
  235. <plugin>
  236. <groupId>org.springframework.boot</groupId>
  237. <artifactId>spring-boot-maven-plugin </artifactId>
  238. </plugin>
  239. <plugin>
  240. <artifactId>maven-compiler-plugin</artifactId>
  241. <configuration>
  242. <source>1.8</source>
  243. <target>1.8</target>
  244. </configuration>
  245. </plugin>
  246. </plugins>
  247. <resources>
  248. <resource>
  249. <!--打包的时候把resources下的资源移到classpath下-->
  250. <directory>${basedir}/src/main/webapp</directory>
  251. <targetPath>${project.build.directory}/classes</targetPath>
  252. <includes>
  253. <include>**/**</include>
  254. </includes>
  255. </resource>
  256. <resource>
  257. <!--打包的时候把resources下的资源移到classpath下-->
  258. <directory>${basedir}/src/main/resources</directory>
  259. <targetPath>${project.build.directory}/classes</targetPath>
  260. <includes>
  261. <include>**/**</include>
  262. </includes>
  263. </resource>
  264. </resources>
  265. </build>
  266. </project>