You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <parent>
  4. <groupId>org.pf4j</groupId>
  5. <artifactId>pf4j-parent</artifactId>
  6. <version>3.2.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>pf4j</artifactId>
  10. <version>3.2.0-SNAPSHOT</version>
  11. <packaging>jar</packaging>
  12. <name>PF4J</name>
  13. <description>Plugin Framework for Java</description>
  14. <build>
  15. <plugins>
  16. <plugin>
  17. <groupId>org.apache.maven.plugins</groupId>
  18. <artifactId>maven-compiler-plugin</artifactId>
  19. <configuration>
  20. <compilerArgument>-proc:none</compilerArgument>
  21. </configuration>
  22. <executions>
  23. <!-- compile everything for Java 8 except the module-info.java -->
  24. <execution>
  25. <id>default-compile</id>
  26. <goals>
  27. <goal>compile</goal>
  28. </goals>
  29. <configuration>
  30. <excludes>
  31. <exclude>module-info.java</exclude>
  32. </excludes>
  33. </configuration>
  34. </execution>
  35. <!-- compile module-info.java for Java 9+ -->
  36. <execution>
  37. <id>java9-compile</id>
  38. <goals>
  39. <goal>compile</goal>
  40. </goals>
  41. <configuration>
  42. <release>9</release>
  43. <multiReleaseOutput>true</multiReleaseOutput>
  44. <includes>
  45. <include>module-info.java</include>
  46. </includes>
  47. </configuration>
  48. </execution>
  49. </executions>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-jar-plugin</artifactId>
  54. <configuration>
  55. <archive>
  56. <manifestEntries>
  57. <Multi-Release>true</Multi-Release>
  58. </manifestEntries>
  59. </archive>
  60. </configuration>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. <dependencies>
  65. <dependency>
  66. <groupId>org.slf4j</groupId>
  67. <artifactId>slf4j-api</artifactId>
  68. <version>${slf4j.version}</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>slf4j-log4j12</artifactId>
  73. <version>${slf4j.version}</version>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.github.zafarkhaja</groupId>
  78. <artifactId>java-semver</artifactId>
  79. <version>0.9.0</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.ow2.asm</groupId>
  83. <artifactId>asm</artifactId>
  84. <version>${asm.version}</version>
  85. <optional>true</optional>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.hamcrest</groupId>
  89. <artifactId>hamcrest</artifactId>
  90. <version>${hamcrest.version}</version>
  91. <scope>test</scope>
  92. </dependency>
  93. <dependency>
  94. <!--
  95. An empty artifact, required while JUnit 4 is on the classpath to override its
  96. dependency on hamcrest.
  97. See http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x
  98. -->
  99. <groupId>org.hamcrest</groupId>
  100. <artifactId>hamcrest-core</artifactId>
  101. <version>${hamcrest.version}</version>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.junit.jupiter</groupId>
  106. <artifactId>junit-jupiter-engine</artifactId>
  107. <version>${junit.version}</version>
  108. <scope>test</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.mockito</groupId>
  112. <artifactId>mockito-core</artifactId>
  113. <version>${mockito.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. </dependencies>
  117. </project>