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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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.8.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.8.0</tag>
  27. </scm>
  28. <properties>
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <java.version>1.7</java.version>
  31. </properties>
  32. <build>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.apache.maven.plugins</groupId>
  36. <artifactId>maven-compiler-plugin</artifactId>
  37. <version>2.3.2</version>
  38. <configuration>
  39. <source>${java.version}</source>
  40. <target>${java.version}</target>
  41. <optimize>true</optimize>
  42. </configuration>
  43. </plugin>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-javadoc-plugin</artifactId>
  47. <version>2.8</version>
  48. <executions>
  49. <execution>
  50. <goals>
  51. <goal>jar</goal>
  52. </goals>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. <plugin>
  57. <groupId>org.apache.maven.plugins</groupId>
  58. <artifactId>maven-source-plugin</artifactId>
  59. <version>2.2</version>
  60. <executions>
  61. <execution>
  62. <goals>
  63. <goal>jar</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-release-plugin</artifactId>
  71. <version>2.3.2</version>
  72. <configuration>
  73. <goals>deploy</goals>
  74. <autoVersionSubmodules>true</autoVersionSubmodules>
  75. <tagNameFormat>release-@{project.version}</tagNameFormat>
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <artifactId>maven-resources-plugin</artifactId>
  80. <version>2.4.3</version>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-jar-plugin</artifactId>
  84. <version>2.4</version>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. <modules>
  89. <module>pf4j</module>
  90. <module>demo</module>
  91. </modules>
  92. <profiles>
  93. <profile>
  94. <id>release-sign-artifacts</id>
  95. <activation>
  96. <property>
  97. <name>performRelease</name>
  98. <value>true</value>
  99. </property>
  100. </activation>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.apache.maven.plugins</groupId>
  105. <artifactId>maven-gpg-plugin</artifactId>
  106. <executions>
  107. <execution>
  108. <id>sign-artifacts</id>
  109. <phase>verify</phase>
  110. <goals>
  111. <goal>sign</goal>
  112. </goals>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </profile>
  119. </profiles>
  120. </project>