pom.xml 3.3 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. <parent>
  5. <groupId>com.education</groupId>
  6. <artifactId>education</artifactId>
  7. <version>1.0.5-RELEASE</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>education-common</artifactId>
  11. <groupId>com.education.common</groupId>
  12. <version>1.0.5-RELEASE</version>
  13. <packaging>jar</packaging>
  14. <name>education-common</name>
  15. <build>
  16. <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
  17. <plugins>
  18. <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
  19. <plugin>
  20. <artifactId>maven-clean-plugin</artifactId>
  21. <version>3.1.0</version>
  22. </plugin>
  23. <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
  24. <plugin>
  25. <artifactId>maven-resources-plugin</artifactId>
  26. <version>3.0.2</version>
  27. </plugin>
  28. <plugin>
  29. <artifactId>maven-compiler-plugin</artifactId>
  30. <version>3.8.0</version>
  31. </plugin>
  32. <plugin>
  33. <artifactId>maven-surefire-plugin</artifactId>
  34. <version>2.22.1</version>
  35. </plugin>
  36. <plugin>
  37. <artifactId>maven-jar-plugin</artifactId>
  38. <version>3.0.2</version>
  39. </plugin>
  40. <plugin>
  41. <artifactId>maven-install-plugin</artifactId>
  42. <version>2.5.2</version>
  43. </plugin>
  44. <plugin>
  45. <artifactId>maven-deploy-plugin</artifactId>
  46. <version>2.8.2</version>
  47. </plugin>
  48. <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
  49. <plugin>
  50. <artifactId>maven-site-plugin</artifactId>
  51. <version>3.7.1</version>
  52. </plugin>
  53. <plugin>
  54. <artifactId>maven-project-info-reports-plugin</artifactId>
  55. <version>3.0.0</version>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-surefire-plugin</artifactId>
  60. <version>2.20.1</version>
  61. <configuration>
  62. <!-- 不指定单元测试 -->
  63. <skipTests>true</skipTests>
  64. </configuration>
  65. </plugin>
  66. </plugins>
  67. </pluginManagement><plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-compiler-plugin</artifactId><configuration><source>8</source><target>8</target></configuration></plugin></plugins>
  68. </build>
  69. </project>