jakarta.annotation-api-1.3.5.pom 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2012, 2018 Oracle and/or its affiliates. All rights reserved.
  4. This program and the accompanying materials are made available under the
  5. terms of the Eclipse Public License v. 2.0, which is available at
  6. http://www.eclipse.org/legal/epl-2.0.
  7. This Source Code may also be made available under the following Secondary
  8. Licenses when the conditions for such availability set forth in the
  9. Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
  10. version 2 with the GNU Classpath Exception, which is available at
  11. https://www.gnu.org/software/classpath/license.html.
  12. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
  13. -->
  14. <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">
  15. <modelVersion>4.0.0</modelVersion>
  16. <parent>
  17. <groupId>jakarta.annotation</groupId>
  18. <artifactId>ca-parent</artifactId>
  19. <version>1.3.5</version>
  20. </parent>
  21. <artifactId>jakarta.annotation-api</artifactId>
  22. <properties>
  23. <non.final>false</non.final>
  24. <spec.version>1.3</spec.version>
  25. <extension.name>jakarta.annotation</extension.name>
  26. <vendor.name>Eclipse Foundation</vendor.name>
  27. <implementation.vendor.id>org.glassfish</implementation.vendor.id>
  28. <findbugs.version>3.0.5</findbugs.version>
  29. <findbugs.exclude>exclude.xml</findbugs.exclude>
  30. <findbugs.threshold>Low</findbugs.threshold>
  31. </properties>
  32. <name>Jakarta Annotations API</name>
  33. <description>Jakarta Annotations API</description>
  34. <url>https://projects.eclipse.org/projects/ee4j.ca</url>
  35. <developers>
  36. <developer>
  37. <name>Linda De Michiel</name>
  38. <organization>Oracle Corp.</organization>
  39. </developer>
  40. </developers>
  41. <licenses>
  42. <license>
  43. <name>EPL 2.0</name>
  44. <url>http://www.eclipse.org/legal/epl-2.0</url>
  45. <distribution>repo</distribution>
  46. </license>
  47. <license>
  48. <name>GPL2 w/ CPE</name>
  49. <url>https://www.gnu.org/software/classpath/license.html</url>
  50. <distribution>repo</distribution>
  51. </license>
  52. </licenses>
  53. <scm>
  54. <connection>scm:git:https://github.com/eclipse-ee4j/common-annotations-api.git</connection>
  55. <developerConnection>scm:git:git@github.com:eclipse-ee4j/common-annotations-api.git</developerConnection>
  56. <url>https://github.com/eclipse-ee4j/common-annotations-api</url>
  57. <tag>HEAD</tag>
  58. </scm>
  59. <issueManagement>
  60. <system>github</system>
  61. <url>https://github.com/eclipse-ee4j/common-annotations-api/issues</url>
  62. </issueManagement>
  63. <mailingLists>
  64. <mailingList>
  65. <name>Jakarta Annotations mailing list</name>
  66. <post>ca-dev@eclipse.org</post>
  67. <subscribe>https://dev.eclipse.org/mailman/listinfo/ca-dev</subscribe>
  68. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/ca-dev</unsubscribe>
  69. <archive>https://dev.eclipse.org/mhonarc/lists/ca-dev</archive>
  70. </mailingList>
  71. </mailingLists>
  72. <build>
  73. <pluginManagement>
  74. <plugins>
  75. <plugin>
  76. <groupId>org.codehaus.mojo</groupId>
  77. <artifactId>build-helper-maven-plugin</artifactId>
  78. <version>3.0.0</version>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-compiler-plugin</artifactId>
  82. <version>3.8.0</version>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.glassfish.build</groupId>
  86. <artifactId>spec-version-maven-plugin</artifactId>
  87. <version>1.5</version>
  88. </plugin>
  89. <plugin>
  90. <groupId>org.apache.felix</groupId>
  91. <artifactId>maven-bundle-plugin</artifactId>
  92. <version>4.2.0</version>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-jar-plugin</artifactId>
  97. <version>3.1.0</version>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-remote-resources-plugin</artifactId>
  102. <version>1.5</version>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-source-plugin</artifactId>
  107. <version>3.0.1</version>
  108. </plugin>
  109. <plugin>
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-javadoc-plugin</artifactId>
  112. <version>3.1.1</version>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.codehaus.mojo</groupId>
  116. <artifactId>findbugs-maven-plugin</artifactId>
  117. <version>${findbugs.version}</version>
  118. </plugin>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-release-plugin</artifactId>
  122. <version>2.5.3</version>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-site-plugin</artifactId>
  127. <version>3.7.1</version>
  128. </plugin>
  129. <plugin>
  130. <groupId>org.apache.maven.plugins</groupId>
  131. <artifactId>maven-gpg-plugin</artifactId>
  132. <version>1.6</version>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-enforcer-plugin</artifactId>
  137. <version>3.0.0-M2</version>
  138. </plugin>
  139. </plugins>
  140. </pluginManagement>
  141. <plugins>
  142. <plugin>
  143. <groupId>org.codehaus.mojo</groupId>
  144. <artifactId>build-helper-maven-plugin</artifactId>
  145. <executions>
  146. <execution>
  147. <id>add-resource</id>
  148. <phase>generate-resources</phase>
  149. <goals>
  150. <goal>add-resource</goal>
  151. </goals>
  152. <configuration>
  153. <resources>
  154. <resource>
  155. <directory>${basedir}/..</directory>
  156. <targetPath>META-INF</targetPath>
  157. <includes>
  158. <include>LICENSE.md</include>
  159. <include>NOTICE.md</include>
  160. </includes>
  161. </resource>
  162. </resources>
  163. </configuration>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. <plugin>
  168. <artifactId>maven-compiler-plugin</artifactId>
  169. <configuration>
  170. <source>1.8</source>
  171. <target>1.8</target>
  172. <compilerArgument>-Xlint:unchecked</compilerArgument>
  173. </configuration>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.glassfish.build</groupId>
  177. <artifactId>spec-version-maven-plugin</artifactId>
  178. <configuration>
  179. <specMode>jakarta</specMode>
  180. <spec>
  181. <nonFinal>${non.final}</nonFinal>
  182. <jarType>api</jarType>
  183. <specBuild>${spec.build}</specBuild>
  184. <specVersion>${spec.version}</specVersion>
  185. <newSpecVersion>${new.spec.version}</newSpecVersion>
  186. <specImplVersion>${project.version}</specImplVersion>
  187. <apiPackage>${extension.name}</apiPackage>
  188. </spec>
  189. </configuration>
  190. <executions>
  191. <execution>
  192. <goals>
  193. <goal>set-spec-properties</goal>
  194. <!-- TODO:
  195. glassfish-spec-version-maven-plugin needs to be updated
  196. in order to check 'jakarta.' prefixed values in manifest entries
  197. -->
  198. <!--<goal>check-module</goal>-->
  199. </goals>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.felix</groupId>
  205. <artifactId>maven-bundle-plugin</artifactId>
  206. <configuration>
  207. <supportedProjectTypes>
  208. <supportedProjectType>jar</supportedProjectType>
  209. </supportedProjectTypes>
  210. <instructions>
  211. <Bundle-Version>${spec.bundle.version}</Bundle-Version>
  212. <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
  213. <Extension-Name>${spec.extension.name}</Extension-Name>
  214. <Implementation-Version>${spec.implementation.version}</Implementation-Version>
  215. <Specification-Version>${spec.specification.version}</Specification-Version>
  216. <Bundle-Description>${project.name}</Bundle-Description>
  217. <Specification-Vendor>${vendor.name}</Specification-Vendor>
  218. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  219. <Implementation-Vendor-Id>${implementation.vendor.id}</Implementation-Vendor-Id>
  220. </instructions>
  221. </configuration>
  222. <executions>
  223. <execution>
  224. <id>bundle-manifest</id>
  225. <phase>process-classes</phase>
  226. <goals>
  227. <goal>manifest</goal>
  228. </goals>
  229. </execution>
  230. </executions>
  231. </plugin>
  232. <plugin>
  233. <groupId>org.apache.maven.plugins</groupId>
  234. <artifactId>maven-jar-plugin</artifactId>
  235. <configuration>
  236. <archive>
  237. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  238. <manifestEntries>
  239. <!-- for JDK 9 -->
  240. <Automatic-Module-Name>
  241. java.annotation
  242. </Automatic-Module-Name>
  243. </manifestEntries>
  244. </archive>
  245. </configuration>
  246. </plugin>
  247. <plugin>
  248. <groupId>org.apache.maven.plugins</groupId>
  249. <artifactId>maven-source-plugin</artifactId>
  250. <configuration>
  251. <includePom>true</includePom>
  252. </configuration>
  253. <executions>
  254. <execution>
  255. <id>attach-sources</id>
  256. <goals>
  257. <goal>jar-no-fork</goal>
  258. </goals>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.maven.plugins</groupId>
  264. <artifactId>maven-javadoc-plugin</artifactId>
  265. <configuration>
  266. <source>8</source>
  267. <doctitle>Jakarta Annotations ${project.version} API Specification</doctitle>
  268. <sourceFileExcludes>
  269. <sourceFileExclude>**/module-info.java</sourceFileExclude>
  270. <sourceFileExclude>target/**/*.java</sourceFileExclude>
  271. </sourceFileExcludes>
  272. <docfilessubdirs>true</docfilessubdirs>
  273. <links>
  274. <link>http://docs.oracle.com/javase/8/docs/api/</link>
  275. </links>
  276. <detectJavaApiLink>false</detectJavaApiLink>
  277. <detectOfflineLinks>false</detectOfflineLinks>
  278. <header><![CDATA[<br>Jakarta Annotations API v${project.version}]]>
  279. </header>
  280. <bottom><![CDATA[
  281. Copyright &#169; 2019 Eclipse Foundation. All rights reserved.<br>
  282. Use is subject to <a href="{@docRoot}/doc-files/EFSL.html" target="_top">license terms</a>.]]>
  283. </bottom>
  284. </configuration>
  285. <executions>
  286. <execution>
  287. <id>attach-javadocs</id>
  288. <goals>
  289. <goal>jar</goal>
  290. </goals>
  291. </execution>
  292. </executions>
  293. </plugin>
  294. <plugin>
  295. <groupId>org.codehaus.mojo</groupId>
  296. <artifactId>findbugs-maven-plugin</artifactId>
  297. <configuration>
  298. <threshold>${findbugs.threshold}</threshold>
  299. <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
  300. <findbugsXmlOutput>true</findbugsXmlOutput>
  301. <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
  302. </configuration>
  303. </plugin>
  304. <plugin>
  305. <groupId>org.apache.maven.plugins</groupId>
  306. <artifactId>maven-release-plugin</artifactId>
  307. <configuration>
  308. <mavenExecutorId>forked-path</mavenExecutorId>
  309. <useReleaseProfile>false</useReleaseProfile>
  310. <arguments>${release.arguments}</arguments>
  311. <tagNameFormat>@{project.version}</tagNameFormat>
  312. </configuration>
  313. </plugin>
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-site-plugin</artifactId>
  317. <configuration>
  318. <reporting>
  319. <plugins>
  320. <plugin>
  321. <groupId>org.codehaus.mojo</groupId>
  322. <artifactId>findbugs-maven-plugin</artifactId>
  323. <version>${findbugs.version}</version>
  324. <configuration>
  325. <threshold>${findbugs.threshold}</threshold>
  326. <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
  327. </configuration>
  328. </plugin>
  329. </plugins>
  330. </reporting>
  331. </configuration>
  332. </plugin>
  333. </plugins>
  334. </build>
  335. </project>