pom.xml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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.xxx</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.4.1</spring-boot-maven-plugin.version>
  20. <springfox-boot-starter.version>3.0.0</springfox-boot-starter.version>
  21. <!--
  22. <mapstruct.version>1.6.3</mapstruct.version>
  23. -->
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>com.xxx</groupId>
  28. <artifactId>base-springframework-constant</artifactId>
  29. <version>${project.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.xxx</groupId>
  33. <artifactId>base-springframework-util</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. <version>${spring-boot-starter.version}</version>
  40. <exclusions>
  41. <exclusion>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-tomcat</artifactId>
  44. </exclusion>
  45. </exclusions>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-undertow</artifactId>
  50. <version>${spring-boot-starter.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.mapstruct</groupId>
  54. <artifactId>mapstruct</artifactId>
  55. <version>${mapstruct.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.mapstruct</groupId>
  59. <artifactId>mapstruct-processor</artifactId>
  60. <version>${mapstruct.version}</version>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <pluginManagement>
  65. <plugins>
  66. <plugin>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-maven-plugin</artifactId>
  69. <version>${spring-boot-maven-plugin.version}</version>
  70. <executions>
  71. <execution>
  72. <goals>
  73. <goal>repackage</goal>
  74. </goals>
  75. </execution>
  76. <execution>
  77. <id>build-info</id>
  78. <goals>
  79. <goal>build-info</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. </plugins>
  85. </pluginManagement>
  86. </build>
  87. </project>