pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.yihu.hos</groupId>
  7. <artifactId>hos-web-framework-dependencies</artifactId>
  8. <version>1.1.1-SNAPSHOT</version>
  9. <packaging>pom</packaging>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.4.1.RELEASE</version>
  14. <relativePath/> <!-- lookup parent from repository1212 -->
  15. </parent>
  16. <properties>
  17. <hibernate.version>4.3.11.Final</hibernate.version>
  18. </properties>
  19. <pluginRepositories>
  20. <pluginRepository>
  21. <id>pluginCentral</id>
  22. <name>pluginCentral</name>
  23. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  24. </pluginRepository>
  25. <pluginRepository>
  26. <id>pluginReleases</id>
  27. <name>pluginReleases</name>
  28. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  29. </pluginRepository>
  30. </pluginRepositories>
  31. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  32. <distributionManagement>
  33. <repository>
  34. <id>Releases</id>
  35. <name>Releases</name>
  36. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  37. </repository>
  38. <snapshotRepository>
  39. <id>snapshots</id>
  40. <name>Snapshots</name>
  41. <url>http://172.19.103.47:8081/nexus/content/repositories/snapshots/</url>
  42. </snapshotRepository>
  43. </distributionManagement>
  44. <repositories>
  45. <repository>
  46. <id>repositoryCentral</id>
  47. <name>repositoryCentral</name>
  48. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  49. </repository>
  50. <repository>
  51. <id>repositoryReleases</id>
  52. <name>repositoryReleases</name>
  53. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  54. </repository>
  55. </repositories>
  56. <dependencies>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-web</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <artifactId>jcl-over-slf4j</artifactId>
  63. <groupId>org.slf4j</groupId>
  64. </exclusion>
  65. <exclusion>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>log4j-over-slf4j</artifactId>
  68. </exclusion>
  69. <exclusion>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-logging</artifactId>
  72. </exclusion>
  73. <!-- 排除内置容器,排除内置容器导出成war包可以让外部容器运行spring-boot项目-->
  74. <!--<exclusion>-->
  75. <!--<groupId>org.springframework.boot</groupId>-->
  76. <!--<artifactId>spring-boot-starter-tomcat</artifactId>-->
  77. <!--</exclusion>-->
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.springframework</groupId>
  82. <artifactId>springloaded</artifactId>
  83. </dependency>
  84. <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
  85. <dependency>
  86. <groupId>org.hibernate</groupId>
  87. <artifactId>hibernate-core</artifactId>
  88. <version>${hibernate.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  93. <exclusions>
  94. <exclusion>
  95. <groupId>org.slf4j</groupId>
  96. <artifactId>jcl-over-slf4j</artifactId>
  97. </exclusion>
  98. </exclusions>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.mongodb</groupId>
  102. <artifactId>mongo-java-driver</artifactId>
  103. <version>3.2.2</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>mysql</groupId>
  107. <artifactId>mysql-connector-java</artifactId>
  108. <version>5.1.37</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.oracle</groupId>
  112. <artifactId>ojdbc6</artifactId>
  113. <version>11.2.0.3.0</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.yihu.hos</groupId>
  117. <artifactId>hos-core</artifactId>
  118. <version>1.1.1-SNAPSHOT</version>
  119. </dependency>
  120. <!-- swagger start -->
  121. <dependency>
  122. <groupId>io.springfox</groupId>
  123. <artifactId>springfox-swagger2</artifactId>
  124. <version>2.4.0</version>
  125. <exclusions>
  126. <exclusion>
  127. <artifactId>classmate</artifactId>
  128. <groupId>com.fasterxml</groupId>
  129. </exclusion>
  130. </exclusions>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.springfox</groupId>
  134. <artifactId>springfox-swagger-ui</artifactId>
  135. <version>2.4.0</version>
  136. </dependency>
  137. <!-- swagger end -->
  138. <dependency>
  139. <groupId>org.apache.activemq</groupId>
  140. <artifactId>activemq-core</artifactId>
  141. <version>5.7.0</version>
  142. </dependency>
  143. <!-- test start -->
  144. <dependency>
  145. <groupId>org.springframework.boot</groupId>
  146. <artifactId>spring-boot-starter-test</artifactId>
  147. <scope>test</scope>
  148. </dependency>
  149. <!-- test end -->
  150. <dependency>
  151. <groupId>javax.transaction</groupId>
  152. <artifactId>javax.transaction-api</artifactId>
  153. <version>1.2</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.yihu.core</groupId>
  157. <artifactId>ehr-dbhelper</artifactId>
  158. <version>1.1.9</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>com.yihu.core</groupId>
  162. <artifactId>html2image</artifactId>
  163. <version>0.9</version>
  164. </dependency>
  165. </dependencies>
  166. <build>
  167. <plugins>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-compiler-plugin</artifactId>
  171. <configuration>
  172. <source>1.8</source>
  173. <target>1.8</target>
  174. </configuration>
  175. </plugin>
  176. </plugins>
  177. </build>
  178. </project>