智慧校园微服务
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pom.xml 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.6.3</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.xhkjedu</groupId>
  12. <artifactId>suser</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>suser</name>
  15. <description>Demo project for Spring Boot</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <spring-cloud.version>2021.0.0</spring-cloud.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <!--<dependency>-->
  26. <!-- <groupId>org.springframework.cloud</groupId>-->
  27. <!-- <artifactId>spring-cloud-starter-config</artifactId>-->
  28. <!--</dependency>-->
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>mysql</groupId>
  35. <artifactId>mysql-connector-java</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <optional>true</optional>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-test</artifactId>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.xhkjedu</groupId>
  49. <artifactId>scommons</artifactId>
  50. <version>0.0.1-SNAPSHOT</version>
  51. </dependency>
  52. <!-- 导入和导出excel时需要的jar包 -->
  53. <dependency>
  54. <groupId>org.apache.poi</groupId>
  55. <artifactId>poi-ooxml</artifactId>
  56. <version>3.17</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.poi</groupId>
  60. <artifactId>poi</artifactId>
  61. <version>3.17</version>
  62. </dependency>
  63. <!-- https://mvnrepository.com/artifact/tk.mybatis/mapper-spring-boot-starter -->
  64. <dependency>
  65. <groupId>tk.mybatis</groupId>
  66. <artifactId>mapper-spring-boot-starter</artifactId>
  67. <version>2.0.2</version>
  68. </dependency>
  69. <!--解析ip-->
  70. <dependency>
  71. <groupId>org.lionsoul</groupId>
  72. <artifactId>ip2region</artifactId>
  73. <version>2.6.6</version>
  74. </dependency>
  75. </dependencies>
  76. <dependencyManagement>
  77. <dependencies>
  78. <dependency>
  79. <groupId>org.springframework.cloud</groupId>
  80. <artifactId>spring-cloud-dependencies</artifactId>
  81. <version>${spring-cloud.version}</version>
  82. <type>pom</type>
  83. <scope>import</scope>
  84. </dependency>
  85. </dependencies>
  86. </dependencyManagement>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. <configuration>
  93. <excludes>
  94. <exclude>
  95. <groupId>org.projectlombok</groupId>
  96. <artifactId>lombok</artifactId>
  97. </exclude>
  98. </excludes>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <!--编译跳过测试文件检查的生命周期-->
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-surefire-plugin</artifactId>
  105. <version>2.22.2</version>
  106. <configuration>
  107. <skip>true</skip>
  108. </configuration>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>