pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. <parent>
  5. <artifactId>maven-parent2</artifactId>
  6. <groupId>com.sf</groupId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>maven01</artifactId>
  11. <name>maven01</name>
  12. <!-- FIXME change it to the project's website -->
  13. <url>http://www.example.com</url>
  14. <properties>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <maven.compiler.source>1.8</maven.compiler.source>
  17. <maven.compiler.target>1.8</maven.compiler.target>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>stax</groupId>
  22. <artifactId>stax-api</artifactId>
  23. <version>1.0.1</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>jakarta.xml.bind</groupId>
  27. <artifactId>jakarta.xml.bind-api</artifactId>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  32. <plugins>
  33. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  34. <plugin>
  35. <artifactId>maven-clean-plugin</artifactId>
  36. <version>3.1.0</version>
  37. </plugin>
  38. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  39. <plugin>
  40. <artifactId>maven-resources-plugin</artifactId>
  41. <version>3.0.2</version>
  42. </plugin>
  43. <plugin>
  44. <artifactId>maven-compiler-plugin</artifactId>
  45. <version>3.8.0</version>
  46. </plugin>
  47. <plugin>
  48. <artifactId>maven-surefire-plugin</artifactId>
  49. <version>2.22.1</version>
  50. </plugin>
  51. <plugin>
  52. <artifactId>maven-jar-plugin</artifactId>
  53. <version>3.0.2</version>
  54. </plugin>
  55. <plugin>
  56. <artifactId>maven-install-plugin</artifactId>
  57. <version>2.5.2</version>
  58. </plugin>
  59. <plugin>
  60. <artifactId>maven-deploy-plugin</artifactId>
  61. <version>2.8.2</version>
  62. </plugin>
  63. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  64. <plugin>
  65. <artifactId>maven-site-plugin</artifactId>
  66. <version>3.7.1</version>
  67. </plugin>
  68. <plugin>
  69. <artifactId>maven-project-info-reports-plugin</artifactId>
  70. <version>3.0.0</version>
  71. </plugin>
  72. </plugins>
  73. </pluginManagement>
  74. </build>
  75. </project>