pom.xml 10 KB

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