pom.xml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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>public-health-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>net.lingala.zip4j</groupId>
  140. <artifactId>zip4j</artifactId>
  141. <version>1.3.2</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>commons-fileupload</groupId>
  145. <artifactId>commons-fileupload</artifactId>
  146. <version>1.3</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.apache.commons</groupId>
  150. <artifactId>commons-lang3</artifactId>
  151. <version>3.4</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>commons-httpclient</groupId>
  155. <artifactId>commons-httpclient</artifactId>
  156. <version>3.1</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.apache.httpcomponents</groupId>
  160. <artifactId>httpmime</artifactId>
  161. <version>4.5.1</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.json</groupId>
  165. <artifactId>json</artifactId>
  166. <version>20151123</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>junit</groupId>
  170. <artifactId>junit</artifactId>
  171. <version>4.12</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>net.sourceforge.jexcelapi</groupId>
  175. <artifactId>jxl</artifactId>
  176. <version>2.6</version>
  177. </dependency>
  178. <dependency>
  179. <groupId>com.yihu.ehr</groupId>
  180. <artifactId>commons-admin-gateway-model</artifactId>
  181. <version>1.1.0</version>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.yihu.ehr</groupId>
  185. <artifactId>commons-util</artifactId>
  186. <version>1.1.0</version>
  187. <exclusions>
  188. <exclusion>
  189. <artifactId>log4j-core</artifactId>
  190. <groupId>org.apache.logging.log4j</groupId>
  191. </exclusion>
  192. <exclusion>
  193. <artifactId>log4j-api</artifactId>
  194. <groupId>org.apache.logging.log4j</groupId>
  195. </exclusion>
  196. </exclusions>
  197. </dependency>
  198. <dependency>
  199. <groupId>com.yihu.ehr</groupId>
  200. <artifactId>commons-rest-model</artifactId>
  201. <version>1.1.0</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.yihu.jw</groupId>
  205. <artifactId>common-request-mapping</artifactId>
  206. <version>1.0.0</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.yihu.jw</groupId>
  210. <artifactId>common-rest-model</artifactId>
  211. <version>1.0.0</version>
  212. </dependency>
  213. <dependency>
  214. <groupId>com.yihu.base</groupId>
  215. <artifactId>common-data-fastdfs</artifactId>
  216. <version>1.0.0</version>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.springframework.boot</groupId>
  220. <artifactId>spring-boot-starter-logging</artifactId>
  221. </dependency>
  222. </dependencies>
  223. <build>
  224. <finalName>app-iot-server</finalName>
  225. <plugins>
  226. <plugin>
  227. <groupId>org.springframework.boot</groupId>
  228. <artifactId>spring-boot-maven-plugin </artifactId>
  229. </plugin>
  230. <plugin>
  231. <artifactId>maven-compiler-plugin</artifactId>
  232. <configuration>
  233. <source>1.8</source>
  234. <target>1.8</target>
  235. </configuration>
  236. </plugin>
  237. </plugins>
  238. <resources>
  239. <resource>
  240. <!--打包的时候把resources下的资源移到classpath下-->
  241. <directory>${basedir}/src/main/webapp</directory>
  242. <targetPath>${project.build.directory}/classes</targetPath>
  243. <includes>
  244. <include>**/**</include>
  245. </includes>
  246. </resource>
  247. <resource>
  248. <!--打包的时候把resources下的资源移到classpath下-->
  249. <directory>${basedir}/src/main/resources</directory>
  250. <targetPath>${project.build.directory}/classes</targetPath>
  251. <includes>
  252. <include>**/**</include>
  253. </includes>
  254. </resource>
  255. </resources>
  256. </build>
  257. </project>