pom.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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.5.4</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.nokia</groupId>
  12. <artifactId>hb</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>hb</name>
  15. <description>hb_nokia</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <!-- <pluginRepositories>-->
  20. <!-- <pluginRepository>-->
  21. <!-- <id>spring-snapshots</id>-->
  22. <!-- <url>https://repo.spring.io/snapshot</url>-->
  23. <!-- </pluginRepository>-->
  24. <!-- <pluginRepository>-->
  25. <!-- <id>spring-milestones</id>-->
  26. <!-- <url>https://repo.spring.io/milestone</url>-->
  27. <!-- </pluginRepository>-->
  28. <!-- </pluginRepositories>-->
  29. <dependencies>
  30. <!-- <dependency>-->
  31. <!-- <groupId>net.sourceforge.nekohtml</groupId>-->
  32. <!-- <artifactId>nekohtml</artifactId>-->
  33. <!-- <version>1.9.22</version>-->
  34. <!-- </dependency>-->
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-jdbc</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-devtools</artifactId>
  50. <scope>runtime</scope>
  51. <optional>true</optional>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-test</artifactId>
  56. <scope>test</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.postgresql</groupId>
  60. <artifactId>postgresql</artifactId>
  61. <version>42.1.3</version>
  62. </dependency>
  63. <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>fastjson</artifactId>
  67. <version>1.2.62</version>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <resources>
  72. <resource>
  73. <directory>src/main/webapp</directory>
  74. <targetPath>META-INF/resources</targetPath>
  75. </resource>
  76. <resource>
  77. <directory>src/main/resources</directory><!--资源文件的路径-->
  78. </resource>
  79. </resources>
  80. <plugins>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-resources-plugin</artifactId>
  84. <version>2.7</version>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-maven-plugin</artifactId>
  89. <version>2.5.4</version>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>