pom.xml 11 KB

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