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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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.3.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>pf4j</artifactId>
  10. <version>3.3.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. <!-- Testing -->
  88. <dependency>
  89. <groupId>org.hamcrest</groupId>
  90. <artifactId>hamcrest</artifactId>
  91. <version>${hamcrest.version}</version>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <!--
  96. An empty artifact, required while JUnit 4 is on the classpath to override its
  97. dependency on hamcrest.
  98. See http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x
  99. -->
  100. <groupId>org.hamcrest</groupId>
  101. <artifactId>hamcrest-core</artifactId>
  102. <version>${hamcrest.version}</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.junit.jupiter</groupId>
  107. <artifactId>junit-jupiter-engine</artifactId>
  108. <version>${junit.version}</version>
  109. <scope>test</scope>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.mockito</groupId>
  113. <artifactId>mockito-core</artifactId>
  114. <version>${mockito.version}</version>
  115. <scope>test</scope>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.google.testing.compile</groupId>
  119. <artifactId>compile-testing</artifactId>
  120. <version>0.18</version>
  121. <scope>test</scope>
  122. </dependency>
  123. </dependencies>
  124. </project>