pom.xml 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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>${parent.version}</version>
  8. <parent>
  9. <groupId>com.yihu.jw</groupId>
  10. <artifactId>wlyy-parent-pom</artifactId>
  11. <version>2.0.0</version>
  12. <relativePath>../../wlyy-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. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-tomcat</artifactId>
  23. </exclusion>
  24. </exclusions>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-tomcat</artifactId>
  29. <scope>provided</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-test</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-security</artifactId>
  39. </dependency>
  40. <!-- Tomcat启动 -->
  41. <dependency>
  42. <groupId>org.apache.tomcat.embed</groupId>
  43. <artifactId>tomcat-embed-jasper</artifactId>
  44. <scope>compile</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>javax.servlet</groupId>
  48. <artifactId>jstl</artifactId>
  49. <scope>compile</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.tiles</groupId>
  53. <artifactId>tiles-extras</artifactId>
  54. <version>3.0.5</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>io.springfox</groupId>
  58. <artifactId>springfox-swagger2</artifactId>
  59. <version>2.4.0</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>io.springfox</groupId>
  63. <artifactId>springfox-swagger-ui</artifactId>
  64. <version>2.4.0</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>io.searchbox</groupId>
  68. <artifactId>jest</artifactId>
  69. <version>2.4.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>net.lingala.zip4j</groupId>
  73. <artifactId>zip4j</artifactId>
  74. <version>1.3.2</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.commons</groupId>
  78. <artifactId>commons-lang3</artifactId>
  79. <version>3.4</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.json</groupId>
  83. <artifactId>json</artifactId>
  84. <version>20151123</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>net.sourceforge.jexcelapi</groupId>
  88. <artifactId>jxl</artifactId>
  89. <version>2.6</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.yihu.jw</groupId>
  93. <artifactId>common-request-mapping</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.yihu.jw</groupId>
  97. <artifactId>common-rest-model</artifactId>
  98. <exclusions>
  99. <exclusion>
  100. <groupId>org.slf4j</groupId>
  101. <artifactId>*</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <!-- ehr -->
  106. <dependency>
  107. <groupId>com.yihu.ehr</groupId>
  108. <artifactId>commons-admin-gateway-model</artifactId>
  109. <version>1.1.0</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.yihu.ehr</groupId>
  113. <artifactId>commons-util</artifactId>
  114. <version>1.1.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.yihu.ehr</groupId>
  118. <artifactId>commons-rest-model</artifactId>
  119. <version>1.1.0</version>
  120. </dependency>
  121. <!-- jkzl starter -->
  122. <dependency>
  123. <groupId>com.yihu</groupId>
  124. <artifactId>fastdfs-starter</artifactId>
  125. <version>2.0.0</version>
  126. </dependency>
  127. </dependencies>
  128. <build>
  129. <finalName>app-iot-server</finalName>
  130. <plugins>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin </artifactId>
  134. </plugin>
  135. <plugin>
  136. <artifactId>maven-compiler-plugin</artifactId>
  137. <configuration>
  138. <source>1.8</source>
  139. <target>1.8</target>
  140. </configuration>
  141. </plugin>
  142. </plugins>
  143. <resources>
  144. <resource>
  145. <!--打包的时候把resources下的资源移到classpath下-->
  146. <directory>${basedir}/src/main/webapp</directory>
  147. <targetPath>${project.build.directory}/classes</targetPath>
  148. <includes>
  149. <include>**/**</include>
  150. </includes>
  151. </resource>
  152. <resource>
  153. <!--打包的时候把resources下的资源移到classpath下-->
  154. <directory>${basedir}/src/main/resources</directory>
  155. <targetPath>${project.build.directory}/classes</targetPath>
  156. <includes>
  157. <include>**/**</include>
  158. </includes>
  159. </resource>
  160. </resources>
  161. </build>
  162. </project>