pom.xml 2.8 KB

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