You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

121 lines
3.2 KiB

  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.4.2</version>-->
  9. <!-- </parent>-->
  10. <groupId>com.moze</groupId>
  11. <artifactId>template</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <packaging>jar</packaging>
  14. <name>template</name>
  15. <description>template project</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.mainClass>com.moze.template.TemplateApplication</project.mainClass>
  19. <maven.compiler.source>1.8</maven.compiler.source>
  20. <maven.compiler.target>1.8</maven.compiler.target>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. </properties>
  24. <!--取代parent-->
  25. <dependencyManagement>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-dependencies</artifactId>
  30. <version>2.4.2</version>
  31. <type>pom</type>
  32. <scope>import</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.jdbi</groupId>
  36. <artifactId>jdbi3-bom</artifactId>
  37. <version>3.18.0</version>
  38. <type>pom</type>
  39. <scope>import</scope>
  40. </dependency>
  41. </dependencies>
  42. </dependencyManagement>
  43. <dependencies>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-web</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-test</artifactId>
  51. <scope>test</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-jdbc</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.jdbi</groupId>
  59. <artifactId>jdbi3-core</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.jdbi</groupId>
  63. <artifactId>jdbi3-sqlobject</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.jdbi</groupId>
  67. <artifactId>jdbi3-postgres</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.jdbi</groupId>
  71. <artifactId>jdbi3-spring4</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.jdbi</groupId>
  75. <artifactId>jdbi3-json</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.postgresql</groupId>
  79. <artifactId>postgresql</artifactId>
  80. <version>42.2.18</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.projectlombok</groupId>
  84. <artifactId>lombok</artifactId>
  85. <version>1.18.16</version>
  86. <optional>true</optional>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-maven-plugin</artifactId>
  94. <configuration>
  95. <mainClass>${project.mainClass}</mainClass>
  96. <excludes>
  97. <exclude>
  98. <groupId>org.projectlombok</groupId>
  99. <artifactId>lombok</artifactId>
  100. </exclude>
  101. </excludes>
  102. </configuration>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>