pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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>3.1.2</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.gct</groupId>
  12. <artifactId>springboot-gct</artifactId>
  13. <version>1.0-SNAPSHOT</version>
  14. <packaging>pom</packaging>
  15. <modules>
  16. <module>neo-data</module>
  17. <module>kh-data</module>
  18. <module>pro-process</module>
  19. </modules>
  20. <properties>
  21. <springboot.gct.version>1.0-SNAPSHOT</springboot.gct.version>
  22. <java.version>17</java.version>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter</artifactId>
  28. <exclusions>
  29. <exclusion>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-logging</artifactId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <!-- 添加 log4j 依赖 -->
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-log4j2</artifactId>
  39. </dependency>
  40. <!--添加lombok依赖-->
  41. <dependency>
  42. <groupId>org.projectlombok</groupId>
  43. <artifactId>lombok</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-test</artifactId>
  48. <scope>test</scope>
  49. </dependency>
  50. </dependencies>
  51. <!-- <dependencyManagement>
  52. <dependencies>
  53. <dependency>
  54. <groupId></groupId>
  55. <artifactId></artifactId>
  56. </dependency>
  57. </dependencies>
  58. </dependencyManagement>-->
  59. <build>
  60. <pluginManagement>
  61. <plugins>
  62. <plugin>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-maven-plugin</artifactId>
  65. <configuration>
  66. <excludes>
  67. <exclude>
  68. <groupId>org.projectlombok</groupId>
  69. <artifactId>lombok</artifactId>
  70. </exclude>
  71. </excludes>
  72. </configuration>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-surefire-plugin</artifactId>
  77. <configuration>
  78. <skipTests>true</skipTests>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. </pluginManagement>
  83. </build>
  84. </project>