jakarta.annotation-api-2.1.1.pom 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2012, 2022 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>org.eclipse.ee4j</groupId>
  18. <artifactId>project</artifactId>
  19. <version>1.0.7</version>
  20. <relativePath/>
  21. </parent>
  22. <groupId>jakarta.annotation</groupId>
  23. <artifactId>jakarta.annotation-api</artifactId>
  24. <version>2.1.1</version>
  25. <name>Jakarta Annotations API</name>
  26. <description>Jakarta Annotations API</description>
  27. <url>https://projects.eclipse.org/projects/ee4j.ca</url>
  28. <inceptionYear>2004</inceptionYear>
  29. <developers>
  30. <developer>
  31. <name>Linda De Michiel</name>
  32. <organization>Oracle Corp.</organization>
  33. </developer>
  34. <developer>
  35. <name>Dmitry Kornilov</name>
  36. <organization>Oracle Corp.</organization>
  37. </developer>
  38. </developers>
  39. <licenses>
  40. <license>
  41. <name>EPL 2.0</name>
  42. <url>http://www.eclipse.org/legal/epl-2.0</url>
  43. <distribution>repo</distribution>
  44. </license>
  45. <license>
  46. <name>GPL2 w/ CPE</name>
  47. <url>https://www.gnu.org/software/classpath/license.html</url>
  48. <distribution>repo</distribution>
  49. </license>
  50. </licenses>
  51. <scm>
  52. <connection>scm:git:https://github.com/eclipse-ee4j/common-annotations-api.git</connection>
  53. <developerConnection>scm:git:git@github.com:eclipse-ee4j/common-annotations-api.git</developerConnection>
  54. <url>https://github.com/eclipse-ee4j/common-annotations-api</url>
  55. <tag>HEAD</tag>
  56. </scm>
  57. <issueManagement>
  58. <system>github</system>
  59. <url>https://github.com/eclipse-ee4j/common-annotations-api/issues</url>
  60. </issueManagement>
  61. <mailingLists>
  62. <mailingList>
  63. <name>Jakarta Annotations mailing list</name>
  64. <post>ca-dev@eclipse.org</post>
  65. <subscribe>https://dev.eclipse.org/mailman/listinfo/ca-dev</subscribe>
  66. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/ca-dev</unsubscribe>
  67. <archive>https://dev.eclipse.org/mhonarc/lists/ca-dev</archive>
  68. </mailingList>
  69. </mailingLists>
  70. <properties>
  71. <copyright.ignoreyear>false</copyright.ignoreyear>
  72. <copyright.scmonly>true</copyright.scmonly>
  73. <copyright.update>false</copyright.update>
  74. <spotbugs.skip>false</spotbugs.skip>
  75. <spotbugs.threshold>Low</spotbugs.threshold>
  76. <spotbugs.version>4.0.4</spotbugs.version>
  77. <non.final>false</non.final>
  78. <spec.version>2.1</spec.version>
  79. <extension.name>jakarta.annotation</extension.name>
  80. <vendor.name>Eclipse Foundation</vendor.name>
  81. <implementation.vendor.id>org.glassfish</implementation.vendor.id>
  82. </properties>
  83. <build>
  84. <pluginManagement>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.codehaus.mojo</groupId>
  88. <artifactId>build-helper-maven-plugin</artifactId>
  89. <version>3.2.0</version>
  90. </plugin>
  91. <plugin>
  92. <artifactId>maven-compiler-plugin</artifactId>
  93. <version>3.8.1</version>
  94. </plugin>
  95. <plugin>
  96. <groupId>org.glassfish.copyright</groupId>
  97. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  98. <version>2.3</version>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.glassfish.build</groupId>
  102. <artifactId>spec-version-maven-plugin</artifactId>
  103. <version>2.1</version>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.felix</groupId>
  107. <artifactId>maven-bundle-plugin</artifactId>
  108. <version>5.1.1</version>
  109. <configuration>
  110. <instructions>
  111. <_noextraheaders>true</_noextraheaders>
  112. </instructions>
  113. </configuration>
  114. </plugin>
  115. <plugin>
  116. <groupId>org.apache.maven.plugins</groupId>
  117. <artifactId>maven-jar-plugin</artifactId>
  118. <version>3.2.0</version>
  119. </plugin>
  120. <plugin>
  121. <groupId>org.apache.maven.plugins</groupId>
  122. <artifactId>maven-source-plugin</artifactId>
  123. <version>3.2.1</version>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.maven.plugins</groupId>
  127. <artifactId>maven-javadoc-plugin</artifactId>
  128. <version>3.2.0</version>
  129. </plugin>
  130. <plugin>
  131. <groupId>com.github.spotbugs</groupId>
  132. <artifactId>spotbugs-maven-plugin</artifactId>
  133. <version>${spotbugs.version}</version>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-enforcer-plugin</artifactId>
  138. <version>3.0.0-M3</version>
  139. </plugin>
  140. </plugins>
  141. </pluginManagement>
  142. <plugins>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-enforcer-plugin</artifactId>
  146. <executions>
  147. <execution>
  148. <id>enforce-maven</id>
  149. <goals>
  150. <goal>enforce</goal>
  151. </goals>
  152. <configuration>
  153. <rules>
  154. <requireJavaVersion>
  155. <version>[11,)</version>
  156. </requireJavaVersion>
  157. <requireMavenVersion>
  158. <version>[3.6.0,)</version>
  159. </requireMavenVersion>
  160. </rules>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.glassfish.copyright</groupId>
  167. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  168. <configuration>
  169. <!-- skip files not under SCM-->
  170. <scmOnly>${copyright.scmonly}</scmOnly>
  171. <!-- for use with repair -->
  172. <update>${copyright.update}</update>
  173. <!-- check that year is correct -->
  174. <ignoreYear>${copyright.ignoreyear}</ignoreYear>
  175. </configuration>
  176. <executions>
  177. <execution>
  178. <phase>validate</phase>
  179. <goals>
  180. <goal>check</goal>
  181. </goals>
  182. </execution>
  183. </executions>
  184. </plugin>
  185. <plugin>
  186. <groupId>org.codehaus.mojo</groupId>
  187. <artifactId>build-helper-maven-plugin</artifactId>
  188. <executions>
  189. <execution>
  190. <id>add-resource</id>
  191. <phase>generate-resources</phase>
  192. <goals>
  193. <goal>add-resource</goal>
  194. </goals>
  195. <configuration>
  196. <resources>
  197. <resource>
  198. <directory>${basedir}/..</directory>
  199. <targetPath>META-INF</targetPath>
  200. <includes>
  201. <include>LICENSE.md</include>
  202. <include>NOTICE.md</include>
  203. </includes>
  204. </resource>
  205. </resources>
  206. </configuration>
  207. </execution>
  208. </executions>
  209. </plugin>
  210. <plugin>
  211. <groupId>org.apache.maven.plugins</groupId>
  212. <artifactId>maven-compiler-plugin</artifactId>
  213. <configuration>
  214. <release>9</release>
  215. <compilerArgs>
  216. <arg>-Xlint:all</arg>
  217. </compilerArgs>
  218. </configuration>
  219. <executions>
  220. <execution>
  221. <id>base-compile</id>
  222. <goals>
  223. <goal>compile</goal>
  224. </goals>
  225. <configuration>
  226. <release>8</release>
  227. <excludes>
  228. <exclude>module-info.java</exclude>
  229. </excludes>
  230. </configuration>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.glassfish.build</groupId>
  236. <artifactId>spec-version-maven-plugin</artifactId>
  237. <configuration>
  238. <specMode>jakarta</specMode>
  239. <spec>
  240. <nonFinal>${non.final}</nonFinal>
  241. <jarType>api</jarType>
  242. <specBuild>${spec.build}</specBuild>
  243. <specVersion>${spec.version}</specVersion>
  244. <newSpecVersion>${new.spec.version}</newSpecVersion>
  245. <specImplVersion>${project.version}</specImplVersion>
  246. <apiPackage>${extension.name}</apiPackage>
  247. </spec>
  248. </configuration>
  249. <executions>
  250. <execution>
  251. <goals>
  252. <goal>set-spec-properties</goal>
  253. <!-- TODO:
  254. glassfish-spec-version-maven-plugin needs to be updated
  255. in order to check 'jakarta.' prefixed values in manifest entries
  256. -->
  257. <!--<goal>check-module</goal>-->
  258. </goals>
  259. </execution>
  260. </executions>
  261. </plugin>
  262. <plugin>
  263. <groupId>org.apache.felix</groupId>
  264. <artifactId>maven-bundle-plugin</artifactId>
  265. <configuration>
  266. <instructions>
  267. <Bundle-Version>${spec.bundle.version}</Bundle-Version>
  268. <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName>
  269. <Extension-Name>${spec.extension.name}</Extension-Name>
  270. <Implementation-Version>${spec.implementation.version}</Implementation-Version>
  271. <Specification-Version>${spec.specification.version}</Specification-Version>
  272. <Bundle-Description>${project.name}</Bundle-Description>
  273. <Specification-Vendor>${vendor.name}</Specification-Vendor>
  274. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  275. <Implementation-Vendor-Id>${implementation.vendor.id}</Implementation-Vendor-Id>
  276. </instructions>
  277. </configuration>
  278. <executions>
  279. <execution>
  280. <id>bundle-manifest</id>
  281. <phase>process-classes</phase>
  282. <goals>
  283. <goal>manifest</goal>
  284. </goals>
  285. </execution>
  286. </executions>
  287. </plugin>
  288. <plugin>
  289. <groupId>org.apache.maven.plugins</groupId>
  290. <artifactId>maven-jar-plugin</artifactId>
  291. <configuration>
  292. <archive>
  293. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  294. </archive>
  295. </configuration>
  296. </plugin>
  297. <plugin>
  298. <groupId>org.apache.maven.plugins</groupId>
  299. <artifactId>maven-source-plugin</artifactId>
  300. <configuration>
  301. <archive>
  302. <manifest>
  303. <addDefaultEntries>false</addDefaultEntries>
  304. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  305. </manifest>
  306. <manifestEntries>
  307. <Implementation-Build-Id>${buildNumber}</Implementation-Build-Id>
  308. </manifestEntries>
  309. </archive>
  310. </configuration>
  311. </plugin>
  312. <plugin>
  313. <groupId>org.apache.maven.plugins</groupId>
  314. <artifactId>maven-javadoc-plugin</artifactId>
  315. <configuration>
  316. <archive>
  317. <manifest>
  318. <addDefaultEntries>false</addDefaultEntries>
  319. </manifest>
  320. </archive>
  321. <release>11</release>
  322. <additionalOptions>--add-modules java.sql</additionalOptions>
  323. <notimestamp>true</notimestamp>
  324. <nosince>true</nosince>
  325. <docfilessubdirs>true</docfilessubdirs>
  326. <doctitle>Jakarta Annotations ${project.version} API Specification</doctitle>
  327. <header><![CDATA[<br>Jakarta Annotations API v${project.version}]]></header>
  328. <bottom><![CDATA[
  329. Copyright &#169; 2019, 2021 Eclipse Foundation. All rights reserved.<br>
  330. Use is subject to <a href="{@docRoot}/doc-files/EFSL.html" target="_top">license terms</a>.]]>
  331. </bottom>
  332. </configuration>
  333. </plugin>
  334. <plugin>
  335. <groupId>com.github.spotbugs</groupId>
  336. <artifactId>spotbugs-maven-plugin</artifactId>
  337. <configuration>
  338. <skip>${spotbugs.skip}</skip>
  339. <threshold>${spotbugs.threshold}</threshold>
  340. <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
  341. <fork>true</fork>
  342. </configuration>
  343. </plugin>
  344. </plugins>
  345. </build>
  346. </project>