pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.wei</groupId>
  8. <artifactId>base-springframework</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>base-springframework-core</artifactId>
  12. <properties>
  13. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  14. <java.version>1.8</java.version>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. <maven.compiler.target>1.8</maven.compiler.target>
  19. <spring-boot-maven-plugin.version>2.3.1.RELEASE</spring-boot-maven-plugin.version>
  20. <springfox-swagger.version>2.10.5</springfox-swagger.version>
  21. <mapstruct.version>1.3.1.Final</mapstruct.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>com.wei</groupId>
  26. <artifactId>base-springframework-constant</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.wei</groupId>
  31. <artifactId>base-springframework-util</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <!-- <dependency>
  35. <groupId>io.springfox</groupId>
  36. <artifactId>springfox-swagger2</artifactId>
  37. <version>${springfox-swagger.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>io.springfox</groupId>
  41. <artifactId>springfox-swagger-ui</artifactId>
  42. <version>${springfox-swagger.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springdoc</groupId>
  46. <artifactId>springdoc-openapi-ui</artifactId>
  47. <version>1.4.3</version>
  48. </dependency>-->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. <version>${spring-boot-starter.version}</version>
  53. <exclusions>
  54. <exclusion>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-tomcat</artifactId>
  57. </exclusion>
  58. </exclusions>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-undertow</artifactId>
  63. <version>${spring-boot-starter.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mapstruct</groupId>
  67. <artifactId>mapstruct</artifactId>
  68. <version>${mapstruct.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.mapstruct</groupId>
  72. <artifactId>mapstruct-processor</artifactId>
  73. <version>${mapstruct.version}</version>
  74. </dependency>
  75. </dependencies>
  76. <build>
  77. <pluginManagement>
  78. <plugins>
  79. <plugin>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-maven-plugin</artifactId>
  82. <version>${spring-boot-maven-plugin.version}</version>
  83. <executions>
  84. <execution>
  85. <goals>
  86. <goal>repackage</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. </plugins>
  92. </pluginManagement>
  93. </build>
  94. </project>