pom.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  5. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <groupId>hello</groupId>
  8. <artifactId>hello-spring</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.2.0.M2</version>
  14. </parent>
  15. <properties>
  16. <maven.compiler.source>11</maven.compiler.source>
  17. <maven.compiler.target>11</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <postgresql.version>42.2.5</postgresql.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-web</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-jdbc</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-mustache</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.postgresql</groupId>
  40. <artifactId>postgresql</artifactId>
  41. <version>${postgresql.version}</version>
  42. </dependency>
  43. </dependencies>
  44. <repositories>
  45. <repository>
  46. <id>spring-libs-snapshot</id>
  47. <name>Spring Snapshots</name>
  48. <url>https://repo.spring.io/libs-snapshot</url>
  49. </repository>
  50. </repositories>
  51. <pluginRepositories>
  52. <pluginRepository>
  53. <id>spring-libs-snapshot</id>
  54. <name>Spring Snapshots</name>
  55. <url>https://repo.spring.io/libs-snapshot</url>
  56. </pluginRepository>
  57. </pluginRepositories>
  58. <build>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-maven-plugin</artifactId>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <version>3.8.0</version>
  68. <configuration>
  69. <debug>false</debug>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. </project>