pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <groupId>org.starter</groupId>
  6. <artifactId>learning</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>learning</name>
  9. <description>learning</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-test</artifactId>
  24. <scope>test</scope>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.alibaba</groupId>
  28. <artifactId>druid</artifactId>
  29. <version>1.1.16</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.mybatis</groupId>
  33. <artifactId>mybatis</artifactId>
  34. <version>3.5.9</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework</groupId>
  38. <artifactId>spring-jdbc</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.mybatis</groupId>
  42. <artifactId>mybatis-spring</artifactId>
  43. <version>2.0.7</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>mysql</groupId>
  47. <artifactId>mysql-connector-java</artifactId>
  48. <version>8.0.33</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>c3p0</groupId>
  52. <artifactId>c3p0</artifactId>
  53. <version>0.9.1.2</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework</groupId>
  57. <artifactId>spring-webmvc</artifactId>
  58. <version>6.1.3</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>javax.servlet</groupId>
  62. <artifactId>javax.servlet-api</artifactId>
  63. <version>3.1.0</version>
  64. <scope>provided</scope>
  65. </dependency>
  66. <dependency>
  67. <groupId>jakarta.platform</groupId>
  68. <artifactId>jakarta.jakartaee-api</artifactId>
  69. <version>10.0.0</version>
  70. <scope>provided</scope>
  71. </dependency>
  72. </dependencies>
  73. <dependencyManagement>
  74. <dependencies>
  75. <dependency>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-dependencies</artifactId>
  78. <version>${spring-boot.version}</version>
  79. <type>pom</type>
  80. <scope>import</scope>
  81. </dependency>
  82. </dependencies>
  83. </dependencyManagement>
  84. <build>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-compiler-plugin</artifactId>
  89. <version>3.8.1</version>
  90. <configuration>
  91. <source>1.8</source>
  92. <target>1.8</target>
  93. <encoding>UTF-8</encoding>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-maven-plugin</artifactId>
  99. <version>${spring-boot.version}</version>
  100. <configuration>
  101. <mainClass>org.starter.learning.LearningApplication</mainClass>
  102. <skip>true</skip>
  103. </configuration>
  104. <executions>
  105. <execution>
  106. <id>repackage</id>
  107. <goals>
  108. <goal>repackage</goal>
  109. </goals>
  110. </execution>
  111. </executions>
  112. </plugin>
  113. </plugins>
  114. </build>
  115. </project>