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

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