pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <dependency>
  33. <groupId>org.junit.jupiter</groupId>
  34. <artifactId>junit-jupiter-api</artifactId>
  35. <scope>test</scope>
  36. </dependency>
  37. <!-- Optionally: parameterized tests support -->
  38. <dependency>
  39. <groupId>org.junit.jupiter</groupId>
  40. <artifactId>junit-jupiter-params</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>junit</groupId>
  45. <artifactId>junit</artifactId>
  46. <version>4.13.2</version>
  47. <scope>compile</scope>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  52. <plugins>
  53. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  54. </plugins>
  55. </pluginManagement>
  56. </build>
  57. </project>