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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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>ro.fortsoft.pf4j</groupId>
  10. <artifactId>pf4j-parent</artifactId>
  11. <version>0.10.0</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/decebals/pf4j.git</connection>
  24. <developerConnection>scm:git:https://github.com/decebals/pf4j.git</developerConnection>
  25. <url>git@github.com/decebals/pf4j.git</url>
  26. <tag>release-0.10.0</tag>
  27. </scm>
  28. <properties>
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <java.version>1.7</java.version>
  31. <junit.version>4.12</junit.version>
  32. <mockito.version>2.0.28-beta</mockito.version>
  33. <cobertura.version>2.7</cobertura.version>
  34. <coveralls.version>3.1.0</coveralls.version>
  35. </properties>
  36. <build>
  37. <plugins>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-compiler-plugin</artifactId>
  41. <version>2.3.2</version>
  42. <configuration>
  43. <source>${java.version}</source>
  44. <target>${java.version}</target>
  45. <optimize>true</optimize>
  46. </configuration>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-javadoc-plugin</artifactId>
  51. <version>2.8</version>
  52. <executions>
  53. <execution>
  54. <goals>
  55. <goal>jar</goal>
  56. </goals>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-source-plugin</artifactId>
  63. <version>2.2</version>
  64. <executions>
  65. <execution>
  66. <goals>
  67. <goal>jar</goal>
  68. </goals>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-release-plugin</artifactId>
  75. <version>2.3.2</version>
  76. <configuration>
  77. <goals>deploy</goals>
  78. <autoVersionSubmodules>true</autoVersionSubmodules>
  79. <tagNameFormat>release-@{project.version}</tagNameFormat>
  80. </configuration>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-resources-plugin</artifactId>
  84. <version>2.4.3</version>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-jar-plugin</artifactId>
  88. <version>2.4</version>
  89. <configuration>
  90. <archive>
  91. <manifest>
  92. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  93. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  94. </manifest>
  95. </archive>
  96. </configuration>
  97. </plugin>
  98. </plugins>
  99. </build>
  100. <modules>
  101. <module>pf4j</module>
  102. <module>demo</module>
  103. </modules>
  104. <profiles>
  105. <profile>
  106. <id>jdk8-build</id>
  107. <activation>
  108. <jdk>[1.8,)</jdk>
  109. </activation>
  110. <properties>
  111. <additionalparam>-Xdoclint:none</additionalparam>
  112. </properties>
  113. </profile>
  114. <profile>
  115. <id>travis</id>
  116. <activation>
  117. <property>
  118. <name>env.TRAVIS</name>
  119. <value>true</value>
  120. </property>
  121. </activation>
  122. <build>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.codehaus.mojo</groupId>
  126. <artifactId>cobertura-maven-plugin</artifactId>
  127. <version>${cobertura.version}</version>
  128. <configuration>
  129. <formats>
  130. <format>xml</format>
  131. </formats>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.eluder.coveralls</groupId>
  136. <artifactId>coveralls-maven-plugin</artifactId>
  137. <version>${coveralls.version}</version>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </profile>
  142. <profile>
  143. <id>release-sign-artifacts</id>
  144. <activation>
  145. <property>
  146. <name>performRelease</name>
  147. <value>true</value>
  148. </property>
  149. </activation>
  150. <build>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-gpg-plugin</artifactId>
  155. <executions>
  156. <execution>
  157. <id>sign-artifacts</id>
  158. <phase>verify</phase>
  159. <goals>
  160. <goal>sign</goal>
  161. </goals>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. </plugins>
  166. </build>
  167. </profile>
  168. </profiles>
  169. </project>