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 6.0KB

11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
2 yıl önce
3 yıl önce
11 yıl önce
4 yıl önce
4 yıl önce
11 yıl önce
11 yıl önce
11 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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.11.0-SNAPSHOT</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>pf4j</artifactId>
  10. <version>3.11.0-SNAPSHOT</version>
  11. <packaging>jar</packaging>
  12. <name>PF4J</name>
  13. <description>Plugin Framework for Java</description>
  14. <properties>
  15. <sonar.projectKey>pf4j_pf4j</sonar.projectKey>
  16. </properties>
  17. <build>
  18. <plugins>
  19. <plugin>
  20. <groupId>org.codehaus.mojo</groupId>
  21. <artifactId>templating-maven-plugin</artifactId>
  22. <executions>
  23. <execution>
  24. <id>filter-src</id>
  25. <goals>
  26. <goal>filter-sources</goal>
  27. </goals>
  28. </execution>
  29. </executions>
  30. </plugin>
  31. <plugin>
  32. <groupId>org.apache.maven.plugins</groupId>
  33. <artifactId>maven-compiler-plugin</artifactId>
  34. <configuration>
  35. <compilerArgument>-proc:none</compilerArgument>
  36. <!-- Only required when JAVA_HOME isn't at least Java 9 and when haven't configured the maven-toolchains-plugin -->
  37. <jdkToolchain>
  38. <version>9</version>
  39. </jdkToolchain>
  40. </configuration>
  41. <executions>
  42. <!-- compile everything for Java 8 except the module-info.java -->
  43. <execution>
  44. <id>default-compile</id>
  45. <goals>
  46. <goal>compile</goal>
  47. </goals>
  48. <configuration>
  49. <excludes>
  50. <exclude>module-info.java</exclude>
  51. </excludes>
  52. </configuration>
  53. </execution>
  54. <!-- compile module-info.java for Java 9+ -->
  55. <execution>
  56. <id>java9-compile</id>
  57. <goals>
  58. <goal>compile</goal>
  59. </goals>
  60. <configuration>
  61. <release>9</release>
  62. <multiReleaseOutput>true</multiReleaseOutput>
  63. <includes>
  64. <include>module-info.java</include>
  65. </includes>
  66. </configuration>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-jar-plugin</artifactId>
  73. <configuration>
  74. <archive>
  75. <manifestEntries>
  76. <Multi-Release>true</Multi-Release>
  77. </manifestEntries>
  78. </archive>
  79. </configuration>
  80. <executions>
  81. <execution>
  82. <goals>
  83. <goal>test-jar</goal>
  84. </goals>
  85. <configuration>
  86. <includes>
  87. <inculde>org/pf4j/test/*</inculde>
  88. </includes>
  89. </configuration>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. <dependencies>
  96. <dependency>
  97. <groupId>org.slf4j</groupId>
  98. <artifactId>slf4j-api</artifactId>
  99. <version>${slf4j.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.github.zafarkhaja</groupId>
  103. <artifactId>java-semver</artifactId>
  104. <version>0.9.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.ow2.asm</groupId>
  108. <artifactId>asm</artifactId>
  109. <version>${asm.version}</version>
  110. <optional>true</optional>
  111. </dependency>
  112. <!-- Logging -->
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-simple</artifactId>
  116. <version>${slf4j.version}</version>
  117. <scope>test</scope>
  118. </dependency>
  119. <!-- Testing -->
  120. <dependency>
  121. <groupId>org.hamcrest</groupId>
  122. <artifactId>hamcrest</artifactId>
  123. <version>${hamcrest.version}</version>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <!--
  128. An empty artifact, required while JUnit 4 is on the classpath to override its
  129. dependency on hamcrest.
  130. See http://hamcrest.org/JavaHamcrest/distributables#upgrading-from-hamcrest-1x
  131. -->
  132. <groupId>org.hamcrest</groupId>
  133. <artifactId>hamcrest-core</artifactId>
  134. <version>${hamcrest.version}</version>
  135. <scope>test</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.junit.jupiter</groupId>
  139. <artifactId>junit-jupiter-engine</artifactId>
  140. <version>${junit.version}</version>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.mockito</groupId>
  145. <artifactId>mockito-core</artifactId>
  146. <version>${mockito.version}</version>
  147. <scope>test</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.google.testing.compile</groupId>
  151. <artifactId>compile-testing</artifactId>
  152. <version>0.21.0</version>
  153. <scope>test</scope>
  154. </dependency>
  155. </dependencies>
  156. </project>