pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.wei</groupId>
  5. <artifactId>base-springframework-starter</artifactId>
  6. <packaging>pom</packaging>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <modules>
  9. <module>../wei-gateway</module>
  10. </modules>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <java.version>1.8</java.version>
  14. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  15. <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. <lombok.version>1.18.12</lombok.version>
  19. <spring-boot-starter.version>2.3.1.RELEASE</spring-boot-starter.version>
  20. <spring.version>5.2.7.RELEASE</spring.version>
  21. <kotlin.version>1.4.10</kotlin.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>com.wei</groupId>
  26. <artifactId>base-springframework-core</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.wei</groupId>
  31. <artifactId>base-springframework-cloud</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.jetbrains.kotlin</groupId>
  36. <artifactId>kotlin-stdlib-jdk8</artifactId>
  37. <version>${kotlin.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.jetbrains.kotlin</groupId>
  41. <artifactId>kotlin-test</artifactId>
  42. <version>${kotlin.version}</version>
  43. <scope>test</scope>
  44. </dependency>
  45. </dependencies>
  46. <dependencyManagement>
  47. <dependencies>
  48. <dependency>
  49. <groupId>org.springframework</groupId>
  50. <artifactId>spring-beans</artifactId>
  51. <version>${spring.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework</groupId>
  55. <artifactId>spring-context</artifactId>
  56. <version>${spring.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework</groupId>
  60. <artifactId>spring-aop</artifactId>
  61. <version>${spring.version}</version>
  62. </dependency>
  63. </dependencies>
  64. </dependencyManagement>
  65. <build>
  66. <plugins>
  67. <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-compiler-plugin</artifactId>
  70. <version>${maven-compiler-plugin.version}</version>
  71. <configuration>
  72. <source>${maven.compiler.source}</source>
  73. <target>${maven.compiler.target}</target>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <groupId>org.jetbrains.kotlin</groupId>
  78. <artifactId>kotlin-maven-plugin</artifactId>
  79. <version>${kotlin.version}</version>
  80. <executions>
  81. <execution>
  82. <id>compile</id>
  83. <phase>compile</phase>
  84. <goals>
  85. <goal>compile</goal>
  86. </goals>
  87. </execution>
  88. <execution>
  89. <id>test-compile</id>
  90. <phase>test-compile</phase>
  91. <goals>
  92. <goal>test-compile</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. <configuration>
  97. <jvmTarget>1.8</jvmTarget>
  98. </configuration>
  99. </plugin>
  100. </plugins>
  101. </build>
  102. <!-- <repositories>
  103. <repository>
  104. <id></id>
  105. <url></url>
  106. </repository>
  107. </repositories>
  108. <pluginRepositories>
  109. <pluginRepository>
  110. <id></id>
  111. <url></url>
  112. </pluginRepository>
  113. </pluginRepositories>
  114. <distributionManagement>
  115. <repository>
  116. <id></id>
  117. <url></url>
  118. </repository>
  119. <snapshotRepository>
  120. <id></id>
  121. <url></url>
  122. </snapshotRepository>
  123. </distributionManagement>-->
  124. </project>