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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>7</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>org.pf4j</groupId>
  10. <artifactId>pf4j-parent</artifactId>
  11. <version>3.10.0-SNAPSHOT</version>
  12. <packaging>pom</packaging>
  13. <name>PF4J Parent</name>
  14. <description>Plugin Framework for Java</description>
  15. <url>https://pf4j.org</url>
  16. <licenses>
  17. <license>
  18. <name>The Apache Software License, Version 2.0</name>
  19. <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
  20. <distribution>repo</distribution>
  21. </license>
  22. </licenses>
  23. <scm>
  24. <connection>scm:git:https://github.com/pf4j/pf4j.git</connection>
  25. <developerConnection>scm:git:git@github.com:pf4j/pf4j.git</developerConnection>
  26. <url>git@github.com/pf4j/pf4j.git</url>
  27. <tag>HEAD</tag>
  28. </scm>
  29. <distributionManagement>
  30. <snapshotRepository>
  31. <id>ossrh</id>
  32. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  33. </snapshotRepository>
  34. <repository>
  35. <id>ossrh</id>
  36. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  37. </repository>
  38. </distributionManagement>
  39. <properties>
  40. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  41. <maven.compiler.release>8</maven.compiler.release>
  42. <slf4j.version>2.0.6</slf4j.version>
  43. <asm.version>9.1</asm.version>
  44. <junit.version>5.4.0</junit.version>
  45. <hamcrest.version>2.1</hamcrest.version>
  46. <mockito.version>3.8.0</mockito.version>
  47. <javadoc.disabled>false</javadoc.disabled>
  48. <deploy.disabled>false</deploy.disabled>
  49. <source.disabled>false</source.disabled>
  50. <sonar.organization>pf4j</sonar.organization>
  51. <sonar.host.url>https://sonarcloud.io</sonar.host.url>
  52. </properties>
  53. <build>
  54. <pluginManagement>
  55. <plugins>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-compiler-plugin</artifactId>
  59. <version>3.8.0</version>
  60. <configuration>
  61. <showWarnings>true</showWarnings>
  62. </configuration>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-surefire-plugin</artifactId>
  67. <version>2.22.1</version>
  68. </plugin>
  69. <plugin>
  70. <groupId>org.apache.maven.plugins</groupId>
  71. <artifactId>maven-jar-plugin</artifactId>
  72. <version>2.6</version>
  73. </plugin>
  74. </plugins>
  75. </pluginManagement>
  76. <plugins>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-javadoc-plugin</artifactId>
  80. <version>3.0.1</version>
  81. <configuration>
  82. <skip>${javadoc.disabled}</skip>
  83. <doclint>none</doclint>
  84. <failOnWarnings>false</failOnWarnings>
  85. <!-- Needed when run inside Intellij IDEA -->
  86. <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
  87. </configuration>
  88. <executions>
  89. <execution>
  90. <goals>
  91. <goal>jar</goal>
  92. </goals>
  93. </execution>
  94. </executions>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-source-plugin</artifactId>
  99. <version>3.0.1</version>
  100. <configuration>
  101. <skipSource>${source.disabled}</skipSource>
  102. </configuration>
  103. <executions>
  104. <execution>
  105. <goals>
  106. <goal>jar</goal>
  107. </goals>
  108. </execution>
  109. </executions>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-deploy-plugin</artifactId>
  114. <version>2.8.1</version>
  115. <configuration>
  116. <skip>${deploy.disabled}</skip>
  117. </configuration>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-release-plugin</artifactId>
  122. <version>2.5.3</version>
  123. <configuration>
  124. <goals>deploy</goals>
  125. <autoVersionSubmodules>true</autoVersionSubmodules>
  126. <tagNameFormat>release-@{project.version}</tagNameFormat>
  127. </configuration>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-resources-plugin</artifactId>
  132. <version>3.1.0</version>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-jar-plugin</artifactId>
  137. <configuration>
  138. <archive>
  139. <manifest>
  140. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  141. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  142. </manifest>
  143. </archive>
  144. </configuration>
  145. </plugin>
  146. </plugins>
  147. </build>
  148. <modules>
  149. <module>pf4j</module>
  150. <module>demo</module>
  151. <module>maven-archetypes/quickstart</module>
  152. </modules>
  153. <profiles>
  154. <profile>
  155. <id>release-sign-artifacts</id>
  156. <activation>
  157. <property>
  158. <name>performRelease</name>
  159. <value>true</value>
  160. </property>
  161. </activation>
  162. <build>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-gpg-plugin</artifactId>
  167. <executions>
  168. <execution>
  169. <id>sign-artifacts</id>
  170. <phase>verify</phase>
  171. <goals>
  172. <goal>sign</goal>
  173. </goals>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. </plugins>
  178. </build>
  179. </profile>
  180. </profiles>
  181. </project>