pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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>gihon.common</groupId>
  7. <artifactId>common-parent</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <relativePath>../</relativePath>
  10. </parent>
  11. <artifactId>common-springboot</artifactId>
  12. <name>common-springboot</name>
  13. <description>Demo project for Spring Boot</description>
  14. <dependencies>
  15. <dependency>
  16. <groupId>gihon.common</groupId>
  17. <artifactId>common-sso</artifactId>
  18. </dependency>
  19. <!-- 单元测试 -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-test</artifactId>
  23. <scope>test</scope>
  24. <exclusions>
  25. <exclusion>
  26. <groupId>org.junit.vintage</groupId>
  27. <artifactId>junit-vintage-engine</artifactId>
  28. </exclusion>
  29. </exclusions>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.h2database</groupId>
  33. <artifactId>h2</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <!-- springboot -->
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-quartz</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-devtools</artifactId>
  44. <scope>runtime</scope>
  45. <optional>true</optional>
  46. </dependency>
  47. <!-- 数据库 -->
  48. <dependency>
  49. <groupId>com.oracle.database.jdbc</groupId>
  50. <artifactId>ojdbc8</artifactId>
  51. <scope>runtime</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>mysql</groupId>
  55. <artifactId>mysql-connector-java</artifactId>
  56. <scope>runtime</scope>
  57. </dependency>
  58. <!--security-->
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-security</artifactId>
  62. </dependency>
  63. <!--security end-->
  64. <!-- thymeleaf默认模板 -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.thymeleaf.extras</groupId>
  71. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  72. </dependency>
  73. </dependencies>
  74. <build>
  75. <plugins>
  76. <plugin>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-maven-plugin</artifactId>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>