pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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>wlyy_device</groupId>
  7. <artifactId>wlyy_device</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.4.0.RELEASE</version>
  14. <relativePath/> <!-- lookup parent from repository -->
  15. </parent>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <java.version>1.8</java.version>
  19. </properties>
  20. <pluginRepositories>
  21. <pluginRepository>
  22. <id>pluginCentral</id>
  23. <name>pluginCentral</name>
  24. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  25. </pluginRepository>
  26. <pluginRepository>
  27. <id>pluginReleases</id>
  28. <name>pluginReleases</name>
  29. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  30. </pluginRepository>
  31. </pluginRepositories>
  32. <!--用于发布到服务器 对应setting的对应server表情里面的id -->
  33. <distributionManagement>
  34. <repository>
  35. <id>Releases</id>
  36. <name>Releases</name>
  37. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  38. </repository>
  39. <snapshotRepository>
  40. <id>snapshots</id>
  41. <name>Snapshots</name>
  42. <url>http://172.19.103.47:8081/nexus/content/repositories/snapshots/</url>
  43. </snapshotRepository>
  44. </distributionManagement>
  45. <repositories>
  46. <repository>
  47. <id>repositoryCentral</id>
  48. <name>repositoryCentral</name>
  49. <url>http://172.19.103.47:8081/nexus/content/repositories/central/</url>
  50. </repository>
  51. <repository>
  52. <id>repositoryReleases</id>
  53. <name>repositoryReleases</name>
  54. <url>http://172.19.103.47:8081/nexus/content/repositories/releases/</url>
  55. </repository>
  56. </repositories>
  57. <dependencies>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-web</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-data-jpa</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>mysql</groupId>
  68. <artifactId>mysql-connector-java</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-test</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.commons</groupId>
  77. <artifactId>commons-lang3</artifactId>
  78. <version>3.4</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.httpcomponents</groupId>
  82. <artifactId>httpclient</artifactId>
  83. <version>4.5.1</version>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>commons-logging</groupId>
  87. <artifactId>commons-logging</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.apache.httpcomponents</groupId>
  93. <artifactId>httpmime</artifactId>
  94. <version>4.5.1</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.json</groupId>
  98. <artifactId>json</artifactId>
  99. <version>20151123</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>net.sf.json-lib</groupId>
  103. <artifactId>json-lib</artifactId>
  104. <version>2.4</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>junit</groupId>
  108. <artifactId>junit</artifactId>
  109. <version>4.12</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>junit</groupId>
  113. <artifactId>junit</artifactId>
  114. <version>4.12</version>
  115. </dependency>
  116. <!--Swagger-->
  117. <dependency>
  118. <groupId>io.springfox</groupId>
  119. <artifactId>springfox-swagger2</artifactId>
  120. <version>2.4.0</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>io.springfox</groupId>
  124. <artifactId>springfox-swagger-ui</artifactId>
  125. <version>2.4.0</version>
  126. </dependency>
  127. </dependencies>
  128. <build>
  129. <plugins>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-surefire-plugin</artifactId>
  137. <configuration>
  138. <useSystemClassLoader>false</useSystemClassLoader>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>