pom.xml 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.7.10</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.superb</groupId>
  12. <artifactId>delivery-api</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>delivery-api</name>
  15. <description>delivery-api</description>
  16. <properties>
  17. <java.version>8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-jdbc</artifactId>
  23. </dependency>
  24. <!-- <dependency>-->
  25. <!-- <groupId>org.springframework.boot</groupId>-->
  26. <!-- <artifactId>spring-boot-starter-security</artifactId>-->
  27. <!-- </dependency>-->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.mybatis.spring.boot</groupId>
  34. <artifactId>mybatis-spring-boot-starter</artifactId>
  35. <version>3.0.0</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.mysql</groupId>
  39. <artifactId>mysql-connector-j</artifactId>
  40. <scope>runtime</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-configuration-processor</artifactId>
  45. <optional>true</optional>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.projectlombok</groupId>
  49. <artifactId>lombok</artifactId>
  50. <optional>true</optional>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-test</artifactId>
  55. <scope>test</scope>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.security</groupId>
  59. <artifactId>spring-security-test</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <!--引入Spring Boot内嵌的Tomcat对JSP的解析包,不加解析不了jsp页面-->
  63. <!--如果只是使用JSP页面,可以只添加该依赖-->
  64. <dependency>
  65. <groupId>org.apache.tomcat.embed</groupId>
  66. <artifactId>tomcat-embed-jasper</artifactId>
  67. </dependency>
  68. <!--如果使用JSTL必须添加该依赖-->
  69. <!--jstl标签依赖的jar包start-->
  70. <dependency>
  71. <groupId>javax.servlet</groupId>
  72. <artifactId>jstl</artifactId>
  73. </dependency>
  74. </dependencies>
  75. <build>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-maven-plugin</artifactId>
  80. <configuration>
  81. <excludes>
  82. <exclude>
  83. <groupId>org.projectlombok</groupId>
  84. <artifactId>lombok</artifactId>
  85. </exclude>
  86. </excludes>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>