pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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>Java0715</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>Java0715</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.source>1.8</maven.compiler.source>
  14. <maven.compiler.target>1.8</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>junit</groupId>
  19. <artifactId>junit</artifactId>
  20. <version>4.12</version>
  21. <scope>test</scope>
  22. </dependency>
  23. <!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
  24. <dependency>
  25. <groupId>commons-io</groupId>
  26. <artifactId>commons-io</artifactId>
  27. <version>2.4</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. <version>5.1.47</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.testng</groupId>
  36. <artifactId>testng</artifactId>
  37. <version>7.8.0</version>
  38. <scope>compile</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.junit.jupiter</groupId>
  42. <artifactId>junit-jupiter</artifactId>
  43. <version>RELEASE</version>
  44. <scope>compile</scope>
  45. </dependency>
  46. </dependencies>
  47. <build>
  48. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  49. <plugins>
  50. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  51. <plugin>
  52. <artifactId>maven-clean-plugin</artifactId>
  53. <version>3.1.0</version>
  54. </plugin>
  55. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  56. <plugin>
  57. <artifactId>maven-resources-plugin</artifactId>
  58. <version>3.0.2</version>
  59. </plugin>
  60. <plugin>
  61. <artifactId>maven-compiler-plugin</artifactId>
  62. <version>3.8.0</version>
  63. </plugin>
  64. <plugin>
  65. <artifactId>maven-surefire-plugin</artifactId>
  66. <version>2.22.1</version>
  67. </plugin>
  68. <plugin>
  69. <artifactId>maven-jar-plugin</artifactId>
  70. <version>3.0.2</version>
  71. </plugin>
  72. <plugin>
  73. <artifactId>maven-install-plugin</artifactId>
  74. <version>2.5.2</version>
  75. </plugin>
  76. <plugin>
  77. <artifactId>maven-deploy-plugin</artifactId>
  78. <version>2.8.2</version>
  79. </plugin>
  80. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  81. <plugin>
  82. <artifactId>maven-site-plugin</artifactId>
  83. <version>3.7.1</version>
  84. </plugin>
  85. <plugin>
  86. <artifactId>maven-project-info-reports-plugin</artifactId>
  87. <version>3.0.0</version>
  88. </plugin>
  89. </plugins>
  90. </pluginManagement>
  91. </build>
  92. </project>