pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  3. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>hello</groupId>
  6. <artifactId>hello-spring</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>3.3.5</version>
  12. </parent>
  13. <properties>
  14. <java.version>21</java.version>
  15. <jstachio.version>1.3.6</jstachio.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. <exclusions>
  22. <exclusion>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-tomcat</artifactId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-undertow</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-jdbc</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.jstach</groupId>
  42. <artifactId>jstachio</artifactId>
  43. <version>${jstachio.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>io.jstach</groupId>
  47. <artifactId>jstachio-apt</artifactId>
  48. <version>${jstachio.version}</version>
  49. <scope>provided</scope>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.postgresql</groupId>
  54. <artifactId>postgresql</artifactId>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <plugins>
  59. <plugin>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-maven-plugin</artifactId>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-compiler-plugin</artifactId>
  66. <configuration>
  67. <annotationProcessorPaths>
  68. <path>
  69. <groupId>io.jstach</groupId>
  70. <artifactId>jstachio-apt</artifactId>
  71. <version>${jstachio.version}</version>
  72. </path>
  73. </annotationProcessorPaths>
  74. </configuration>
  75. </plugin>
  76. </plugins>
  77. </build>
  78. </project>