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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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>2.7.0-SNAPSHOT</version>
  12. <packaging>pom</packaging>
  13. <name>PF4J Parent</name>
  14. <description>Plugin Framework for Java</description>
  15. <licenses>
  16. <license>
  17. <name>The Apache Software License, Version 2.0</name>
  18. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  19. <distribution>repo</distribution>
  20. </license>
  21. </licenses>
  22. <scm>
  23. <connection>scm:git:https://github.com/pf4j/pf4j.git</connection>
  24. <developerConnection>scm:git:https://github.com/pf4j/pf4j.git</developerConnection>
  25. <url>git@github.com/pf4j/pf4j.git</url>
  26. <tag>HEAD</tag>
  27. </scm>
  28. <distributionManagement>
  29. <snapshotRepository>
  30. <id>ossrh</id>
  31. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  32. </snapshotRepository>
  33. <repository>
  34. <id>ossrh</id>
  35. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
  36. </repository>
  37. </distributionManagement>
  38. <properties>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <java.version>1.7</java.version>
  41. <slf4j.version>1.7.25</slf4j.version>
  42. <asm.version>7.0</asm.version>
  43. <junit.version>4.12</junit.version>
  44. <mockito.version>2.0.28-beta</mockito.version>
  45. <cobertura.version>2.7</cobertura.version>
  46. <coveralls.version>3.1.0</coveralls.version>
  47. <javadoc.disabled>false</javadoc.disabled>
  48. <deploy.disabled>false</deploy.disabled>
  49. <source.disabled>false</source.disabled>
  50. </properties>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-compiler-plugin</artifactId>
  56. <version>2.3.2</version>
  57. <configuration>
  58. <source>${java.version}</source>
  59. <target>${java.version}</target>
  60. <optimize>true</optimize>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-javadoc-plugin</artifactId>
  66. <version>2.8</version>
  67. <configuration>
  68. <skip>${javadoc.disabled}</skip>
  69. </configuration>
  70. <executions>
  71. <execution>
  72. <goals>
  73. <goal>jar</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-source-plugin</artifactId>
  81. <version>2.2</version>
  82. <configuration>
  83. <skipSource>${source.disabled}</skipSource>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>jar</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-deploy-plugin</artifactId>
  96. <version>2.8.1</version>
  97. <configuration>
  98. <skip>${deploy.disabled}</skip>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-release-plugin</artifactId>
  104. <version>2.5.3</version>
  105. <configuration>
  106. <goals>deploy</goals>
  107. <autoVersionSubmodules>true</autoVersionSubmodules>
  108. <tagNameFormat>release-@{project.version}</tagNameFormat>
  109. </configuration>
  110. </plugin>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-resources-plugin</artifactId>
  114. <version>2.4.3</version>
  115. </plugin>
  116. <plugin>
  117. <artifactId>maven-jar-plugin</artifactId>
  118. <version>2.4</version>
  119. <configuration>
  120. <archive>
  121. <manifest>
  122. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  123. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  124. </manifest>
  125. </archive>
  126. </configuration>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. <modules>
  131. <module>pf4j</module>
  132. <module>demo</module>
  133. </modules>
  134. <profiles>
  135. <profile>
  136. <id>jdk8-build</id>
  137. <activation>
  138. <jdk>[1.8,)</jdk>
  139. </activation>
  140. <properties>
  141. <additionalparam>-Xdoclint:none</additionalparam>
  142. </properties>
  143. </profile>
  144. <profile>
  145. <id>travis</id>
  146. <activation>
  147. <property>
  148. <name>env.TRAVIS</name>
  149. <value>true</value>
  150. </property>
  151. </activation>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.codehaus.mojo</groupId>
  156. <artifactId>cobertura-maven-plugin</artifactId>
  157. <version>${cobertura.version}</version>
  158. <configuration>
  159. <formats>
  160. <format>xml</format>
  161. </formats>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.eluder.coveralls</groupId>
  166. <artifactId>coveralls-maven-plugin</artifactId>
  167. <version>${coveralls.version}</version>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. </profile>
  172. <profile>
  173. <id>release-sign-artifacts</id>
  174. <activation>
  175. <property>
  176. <name>performRelease</name>
  177. <value>true</value>
  178. </property>
  179. </activation>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <groupId>org.apache.maven.plugins</groupId>
  184. <artifactId>maven-gpg-plugin</artifactId>
  185. <executions>
  186. <execution>
  187. <id>sign-artifacts</id>
  188. <phase>verify</phase>
  189. <goals>
  190. <goal>sign</goal>
  191. </goals>
  192. </execution>
  193. </executions>
  194. </plugin>
  195. </plugins>
  196. </build>
  197. </profile>
  198. </profiles>
  199. </project>