pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  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.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-security</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.apache.tiles</groupId>
  97. <artifactId>tiles-extras</artifactId>
  98. <version>3.0.5</version>
  99. <exclusions>
  100. <exclusion>
  101. <groupId>com.google.guava</groupId>
  102. <artifactId>guava</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.springframework</groupId>
  108. <artifactId>spring-context</artifactId>
  109. </dependency>
  110. <dependency>
  111. <groupId>io.springfox</groupId>
  112. <artifactId>springfox-swagger2</artifactId>
  113. <version>2.4.0</version>
  114. <exclusions>
  115. <exclusion>
  116. <artifactId>classmate</artifactId>
  117. <groupId>com.fasterxml</groupId>
  118. </exclusion>
  119. </exclusions>
  120. </dependency>
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger-ui</artifactId>
  124. <version>2.4.0</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.commons</groupId>
  128. <artifactId>commons-collections4</artifactId>
  129. <version>4.0</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>eu.medsea.mimeutil</groupId>
  133. <artifactId>mime-util</artifactId>
  134. <version>2.1.3</version>
  135. <exclusions>
  136. <exclusion>
  137. <artifactId>slf4j-log4j12</artifactId>
  138. <groupId>org.slf4j</groupId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>net.lingala.zip4j</groupId>
  144. <artifactId>zip4j</artifactId>
  145. <version>1.3.2</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>commons-fileupload</groupId>
  149. <artifactId>commons-fileupload</artifactId>
  150. <version>1.3</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.commons</groupId>
  154. <artifactId>commons-lang3</artifactId>
  155. <version>3.4</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>commons-httpclient</groupId>
  159. <artifactId>commons-httpclient</artifactId>
  160. <version>3.1</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.apache.httpcomponents</groupId>
  164. <artifactId>httpmime</artifactId>
  165. <version>4.5.1</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.json</groupId>
  169. <artifactId>json</artifactId>
  170. <version>20151123</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>junit</groupId>
  174. <artifactId>junit</artifactId>
  175. <version>4.12</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>net.sourceforge.jexcelapi</groupId>
  179. <artifactId>jxl</artifactId>
  180. <version>2.6</version>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.yihu.ehr</groupId>
  184. <artifactId>commons-admin-gateway-model</artifactId>
  185. <version>1.1.0</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.yihu.ehr</groupId>
  189. <artifactId>commons-util</artifactId>
  190. <version>1.1.0</version>
  191. <exclusions>
  192. <exclusion>
  193. <artifactId>log4j-core</artifactId>
  194. <groupId>org.apache.logging.log4j</groupId>
  195. </exclusion>
  196. <exclusion>
  197. <artifactId>log4j-api</artifactId>
  198. <groupId>org.apache.logging.log4j</groupId>
  199. </exclusion>
  200. </exclusions>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.yihu.ehr</groupId>
  204. <artifactId>commons-rest-model</artifactId>
  205. <version>1.1.0</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.yihu.jw</groupId>
  209. <artifactId>common-request-mapping</artifactId>
  210. <version>1.0.0</version>
  211. </dependency>
  212. <dependency>
  213. <groupId>com.yihu.jw</groupId>
  214. <artifactId>common-rest-model</artifactId>
  215. <version>1.0.0</version>
  216. </dependency>
  217. <dependency>
  218. <groupId>com.yihu.base</groupId>
  219. <artifactId>common-data-fastdfs</artifactId>
  220. <version>1.0.0</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.springframework.boot</groupId>
  224. <artifactId>spring-boot-starter-logging</artifactId>
  225. </dependency>
  226. </dependencies>
  227. <build>
  228. <finalName>app-iot-server</finalName>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.springframework.boot</groupId>
  232. <artifactId>spring-boot-maven-plugin </artifactId>
  233. </plugin>
  234. <plugin>
  235. <artifactId>maven-compiler-plugin</artifactId>
  236. <configuration>
  237. <source>1.8</source>
  238. <target>1.8</target>
  239. </configuration>
  240. </plugin>
  241. </plugins>
  242. <resources>
  243. <resource>
  244. <!--打包的时候把resources下的资源移到classpath下-->
  245. <directory>${basedir}/src/main/webapp</directory>
  246. <targetPath>${project.build.directory}/classes</targetPath>
  247. <includes>
  248. <include>**/**</include>
  249. </includes>
  250. </resource>
  251. <resource>
  252. <!--打包的时候把resources下的资源移到classpath下-->
  253. <directory>${basedir}/src/main/resources</directory>
  254. <targetPath>${project.build.directory}/classes</targetPath>
  255. <includes>
  256. <include>**/**</include>
  257. </includes>
  258. </resource>
  259. </resources>
  260. </build>
  261. </project>