pom.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.sf</groupId>
  6. <artifactId>JAVA20240906</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>JAVA20240906</name>
  9. <!-- FIXME change it to the project's website -->
  10. <url>http://www.example.com</url>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <maven.compiler.release>1.8</maven.compiler.release>
  14. </properties>
  15. <dependencyManagement>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.junit</groupId>
  19. <artifactId>junit-bom</artifactId>
  20. <version>5.11.0</version>
  21. <type>pom</type>
  22. <scope>import</scope>
  23. </dependency>
  24. </dependencies>
  25. </dependencyManagement>
  26. <dependencies>
  27. <dependency>
  28. <groupId>mysql</groupId>
  29. <artifactId>mysql-connector-java</artifactId>
  30. <version>5.1.47</version>
  31. </dependency>
  32. <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
  33. <dependency>
  34. <groupId>com.alibaba</groupId>
  35. <artifactId>druid</artifactId>
  36. <version>1.2.6</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.junit.jupiter</groupId>
  40. <artifactId>junit-jupiter-api</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <!-- Optionally: parameterized tests support -->
  44. <dependency>
  45. <groupId>org.junit.jupiter</groupId>
  46. <artifactId>junit-jupiter-params</artifactId>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>junit</groupId>
  51. <artifactId>junit</artifactId>
  52. <version>4.13.2</version>
  53. <scope>compile</scope>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  58. <plugins>
  59. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  60. </plugins>
  61. </pluginManagement>
  62. </build>
  63. </project>