pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  63. <exclusions>
  64. <exclusion>
  65. <groupId>org.slf4j</groupId>
  66. <artifactId>log4j-over-slf4j</artifactId>
  67. </exclusion>
  68. <exclusion>
  69. <groupId>org.slf4j</groupId>
  70. <artifactId>jcl-over-slf4j</artifactId>
  71. </exclusion>
  72. </exclusions>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.mongodb</groupId>
  76. <artifactId>mongo-java-driver</artifactId>
  77. <version>3.2.2</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>mysql</groupId>
  81. <artifactId>mysql-connector-java</artifactId>
  82. <version>5.1.37</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.yihu.hos</groupId>
  86. <artifactId>hos-core</artifactId>
  87. <version>1.3.0</version>
  88. </dependency>
  89. <!-- swagger start -->
  90. <dependency>
  91. <groupId>io.springfox</groupId>
  92. <artifactId>springfox-swagger2</artifactId>
  93. <version>2.4.0</version>
  94. <exclusions>
  95. <exclusion>
  96. <artifactId>classmate</artifactId>
  97. <groupId>com.fasterxml</groupId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <dependency>
  102. <groupId>io.springfox</groupId>
  103. <artifactId>springfox-swagger-ui</artifactId>
  104. <version>2.4.0</version>
  105. </dependency>
  106. <!-- swagger end -->
  107. <!-- test start -->
  108. <dependency>
  109. <groupId>org.springframework.boot</groupId>
  110. <artifactId>spring-boot-starter-test</artifactId>
  111. <scope>test</scope>
  112. </dependency>
  113. <!-- test end -->
  114. <dependency>
  115. <groupId>javax.transaction</groupId>
  116. <artifactId>javax.transaction-api</artifactId>
  117. <version>1.2</version>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <plugins>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-compiler-plugin</artifactId>
  125. <configuration>
  126. <source>1.8</source>
  127. <target>1.8</target>
  128. </configuration>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. </project>