pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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.3.0</version>
  9. <packaging>pom</packaging>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.4.2.RELEASE</version>
  14. <relativePath/> <!-- lookup parent from repository1212 -->
  15. </parent>
  16. <properties>
  17. </properties>
  18. <pluginRepositories>
  19. <pluginRepository>
  20. <id>pluginCentral</id>
  21. <name>pluginCentral</name>
  22. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  23. </pluginRepository>
  24. <pluginRepository>
  25. <id>pluginReleases</id>
  26. <name>pluginReleases</name>
  27. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  28. </pluginRepository>
  29. </pluginRepositories>
  30. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  31. <distributionManagement>
  32. <repository>
  33. <id>Releases</id>
  34. <name>Releases</name>
  35. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  36. </repository>
  37. <snapshotRepository>
  38. <id>snapshots</id>
  39. <name>Snapshots</name>
  40. <url>http://172.19.103.47:8081/nexus/content/repositories/snapshots/</url>
  41. </snapshotRepository>
  42. </distributionManagement>
  43. <repositories>
  44. <repository>
  45. <id>repositoryCentral</id>
  46. <name>repositoryCentral</name>
  47. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  48. </repository>
  49. <repository>
  50. <id>repositoryReleases</id>
  51. <name>repositoryReleases</name>
  52. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  53. </repository>
  54. </repositories>
  55. <dependencies>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-web</artifactId>
  59. <exclusions>
  60. <exclusion>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-logging</artifactId>
  63. </exclusion>
  64. </exclusions>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  69. <exclusions>
  70. <exclusion>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>log4j-over-slf4j</artifactId>
  73. </exclusion>
  74. <exclusion>
  75. <groupId>org.slf4j</groupId>
  76. <artifactId>jcl-over-slf4j</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.mongodb</groupId>
  82. <artifactId>mongo-java-driver</artifactId>
  83. <version>3.2.2</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. <version>5.1.37</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.yihu.hos</groupId>
  92. <artifactId>hos-core</artifactId>
  93. <version>1.3.0</version>
  94. </dependency>
  95. <!-- swagger start -->
  96. <dependency>
  97. <groupId>io.springfox</groupId>
  98. <artifactId>springfox-swagger2</artifactId>
  99. <version>2.4.0</version>
  100. <exclusions>
  101. <exclusion>
  102. <artifactId>classmate</artifactId>
  103. <groupId>com.fasterxml</groupId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. <dependency>
  108. <groupId>io.springfox</groupId>
  109. <artifactId>springfox-swagger-ui</artifactId>
  110. <version>2.4.0</version>
  111. </dependency>
  112. <!-- swagger end -->
  113. <!-- test start -->
  114. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-test</artifactId>
  117. <scope>test</scope>
  118. </dependency>
  119. <!-- test end -->
  120. <dependency>
  121. <groupId>javax.transaction</groupId>
  122. <artifactId>javax.transaction-api</artifactId>
  123. <version>1.2</version>
  124. </dependency>
  125. </dependencies>
  126. <build>
  127. <plugins>
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-compiler-plugin</artifactId>
  131. <configuration>
  132. <source>1.8</source>
  133. <target>1.8</target>
  134. </configuration>
  135. </plugin>
  136. </plugins>
  137. </build>
  138. </project>