pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <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/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>7</version>
  7. <relativePath />
  8. </parent>
  9. <groupId>com.google.code.findbugs</groupId>
  10. <artifactId>jsr305</artifactId>
  11. <version>3.0.2</version>
  12. <packaging>jar</packaging>
  13. <url>http://findbugs.sourceforge.net/</url>
  14. <name>FindBugs-jsr305</name>
  15. <description>JSR305 Annotations for Findbugs</description>
  16. <licenses>
  17. <license>
  18. <name>The Apache Software License, Version 2.0</name>
  19. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  20. <distribution>repo</distribution>
  21. </license>
  22. </licenses>
  23. <prerequisites>
  24. <maven>3.0</maven>
  25. </prerequisites>
  26. <scm>
  27. <connection>scm:git:https://code.google.com/p/jsr-305/</connection>
  28. <developerConnection>scm:git:https://code.google.com/p/jsr-305/</developerConnection>
  29. <url>https://code.google.com/p/jsr-305/</url>
  30. </scm>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.apache.maven.plugins</groupId>
  35. <artifactId>maven-javadoc-plugin</artifactId>
  36. <version>2.9.1</version>
  37. <executions>
  38. <execution>
  39. <phase>package</phase>
  40. <goals>
  41. <goal>jar</goal>
  42. </goals>
  43. <configuration>
  44. <quiet>true</quiet>
  45. </configuration>
  46. </execution>
  47. </executions>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-compiler-plugin</artifactId>
  52. <version>3.0</version>
  53. <configuration>
  54. <source>1.5</source>
  55. <target>1.5</target>
  56. </configuration>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-source-plugin</artifactId>
  61. <version>2.4</version>
  62. <executions>
  63. <execution>
  64. <id>attach-sources</id>
  65. <goals>
  66. <goal>jar-no-fork</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.felix</groupId>
  73. <artifactId>maven-bundle-plugin</artifactId>
  74. <version>2.4.0</version>
  75. <extensions>true</extensions>
  76. <executions>
  77. <execution>
  78. <id>bundle-manifest</id>
  79. <phase>process-classes</phase>
  80. <goals>
  81. <goal>manifest</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. <configuration>
  86. <instructions>
  87. <Bundle-SymbolicName>org.jsr-305</Bundle-SymbolicName>
  88. <Bundle-Name>${project.name}</Bundle-Name>
  89. <Export-Package>javax.annotation;javax.annotation.concurrent;javax.annotation.meta</Export-Package>
  90. </instructions>
  91. </configuration>
  92. </plugin>
  93. <plugin>
  94. <groupId>org.apache.maven.plugins</groupId>
  95. <artifactId>maven-jar-plugin</artifactId>
  96. <version>2.4</version>
  97. <configuration>
  98. <archive>
  99. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  100. </archive>
  101. </configuration>
  102. </plugin>
  103. <plugin>
  104. <groupId>org.sonatype.plugins</groupId>
  105. <artifactId>nexus-staging-maven-plugin</artifactId>
  106. <version>1.6.3</version>
  107. <extensions>true</extensions>
  108. <configuration>
  109. <serverId>ossrh</serverId>
  110. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  111. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-gpg-plugin</artifactId>
  117. <version>1.5</version>
  118. <executions>
  119. <execution>
  120. <id>sign-artifacts</id>
  121. <phase>verify</phase>
  122. <goals>
  123. <goal>sign</goal>
  124. </goals>
  125. </execution>
  126. </executions>
  127. </plugin>
  128. </plugins>
  129. </build>
  130. </project>