pom.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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>maven0715</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>maven0715</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.7</maven.compiler.source>
  14. <maven.compiler.target>1.7</maven.compiler.target>
  15. </properties>
  16. <dependencies>
  17. <!-- junit测试依赖-->
  18. <dependency>
  19. <groupId>junit</groupId>
  20. <artifactId>junit</artifactId>
  21. <version>4.11</version>
  22. <scope>test</scope>
  23. </dependency>
  24. </dependencies>
  25. <build>
  26. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  27. <plugins>
  28. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  29. <plugin>
  30. <artifactId>maven-clean-plugin</artifactId>
  31. <version>3.1.0</version>
  32. </plugin>
  33. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  34. <plugin>
  35. <artifactId>maven-resources-plugin</artifactId>
  36. <version>3.0.2</version>
  37. </plugin>
  38. <plugin>
  39. <artifactId>maven-compiler-plugin</artifactId>
  40. <version>3.8.0</version>
  41. </plugin>
  42. <plugin>
  43. <artifactId>maven-surefire-plugin</artifactId>
  44. <version>2.22.1</version>
  45. </plugin>
  46. <plugin>
  47. <artifactId>maven-jar-plugin</artifactId>
  48. <version>3.0.2</version>
  49. </plugin>
  50. <plugin>
  51. <artifactId>maven-install-plugin</artifactId>
  52. <version>2.5.2</version>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-deploy-plugin</artifactId>
  56. <version>2.8.2</version>
  57. </plugin>
  58. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  59. <plugin>
  60. <artifactId>maven-site-plugin</artifactId>
  61. <version>3.7.1</version>
  62. </plugin>
  63. <plugin>
  64. <artifactId>maven-project-info-reports-plugin</artifactId>
  65. <version>3.0.0</version>
  66. </plugin>
  67. </plugins>
  68. </pluginManagement>
  69. </build>
  70. </project>