jakarta.activation-api-2.1.3.pom 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 1997, 2023 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 Distribution License v. 1.0, which is available at
  6. http://www.eclipse.org/org/documents/edl-v10.php.
  7. SPDX-License-Identifier: BSD-3-Clause
  8. -->
  9. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  10. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  11. <parent>
  12. <groupId>org.eclipse.ee4j</groupId>
  13. <artifactId>project</artifactId>
  14. <version>1.0.9</version>
  15. </parent>
  16. <modelVersion>4.0.0</modelVersion>
  17. <groupId>jakarta.activation</groupId>
  18. <artifactId>jakarta.activation-api</artifactId>
  19. <version>2.1.3</version>
  20. <packaging>jar</packaging>
  21. <name>Jakarta Activation API</name>
  22. <description>${project.name} ${spec.version} Specification</description>
  23. <url>https://github.com/jakartaee/jaf-api</url>
  24. <properties>
  25. <spec.version>2.1</spec.version>
  26. <spec.title>Jakarta Activation Specification</spec.title>
  27. <activation.recompile.skip>false</activation.recompile.skip>
  28. <!-- for the osgiversion-maven-plugin -->
  29. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  30. <project.build.outputTimestamp>2024-02-14T00:00:00Z</project.build.outputTimestamp>
  31. <javadoc.title>Jakarta Activation API documentation</javadoc.title>
  32. <legal.doc.source>${project.basedir}/..</legal.doc.source>
  33. <copyright.exclude>${project.basedir}/../etc/copyright-exclude</copyright.exclude>
  34. <copyright.ignoreyear>false</copyright.ignoreyear>
  35. <copyright.scmonly>true</copyright.scmonly>
  36. <copyright.update>false</copyright.update>
  37. <spotbugs.skip>false</spotbugs.skip>
  38. <spotbugs.threshold>Low</spotbugs.threshold>
  39. <spotbugs.exclude>${project.basedir}/../etc/spotbugs-exclude.xml</spotbugs.exclude>
  40. <!--Maven plugins version-->
  41. <spotbugs.version>4.7.3.4</spotbugs.version>
  42. </properties>
  43. <scm>
  44. <connection>scm:git:ssh://git@github.com/jakartaee/jaf-api.git</connection>
  45. <developerConnection>scm:git:ssh://git@github.com/jakartaee/jaf-api.git</developerConnection>
  46. <url>https://github.com/jakartaee/jaf-api</url>
  47. <tag>HEAD</tag>
  48. </scm>
  49. <issueManagement>
  50. <system>github</system>
  51. <url>https://github.com/jakartaee/jaf-api/issues/</url>
  52. </issueManagement>
  53. <licenses>
  54. <license>
  55. <name>EDL 1.0</name>
  56. <url>http://www.eclipse.org/org/documents/edl-v10.php</url>
  57. <distribution>repo</distribution>
  58. </license>
  59. </licenses>
  60. <developers>
  61. <developer>
  62. <id>shannon</id>
  63. <name>Bill Shannon</name>
  64. <email>bill.shannon@oracle.com</email>
  65. <organization>Oracle</organization>
  66. <roles>
  67. <role>lead</role>
  68. </roles>
  69. </developer>
  70. </developers>
  71. <!-- following to enable use of "mvn site:stage" -->
  72. <distributionManagement>
  73. <site>
  74. <id>oracle.com</id>
  75. <url>file:/tmp</url> <!-- not used -->
  76. </site>
  77. </distributionManagement>
  78. <build>
  79. <resources>
  80. <resource>
  81. <directory>src/main/resources</directory>
  82. <filtering>true</filtering>
  83. <excludes>
  84. <exclude>META-INF/*.default</exclude>
  85. </excludes>
  86. </resource>
  87. <resource>
  88. <directory>src/main/resources</directory>
  89. <filtering>false</filtering>
  90. <includes>
  91. <include>META-INF/*.default</include>
  92. </includes>
  93. </resource>
  94. </resources>
  95. <pluginManagement>
  96. <plugins>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-compiler-plugin</artifactId>
  100. <version>3.11.0</version>
  101. </plugin>
  102. <plugin>
  103. <groupId>org.codehaus.mojo</groupId>
  104. <artifactId>buildnumber-maven-plugin</artifactId>
  105. <version>3.0.0</version>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.felix</groupId>
  109. <artifactId>maven-bundle-plugin</artifactId>
  110. <version>5.1.8</version>
  111. <configuration>
  112. <instructions>
  113. <_noextraheaders>true</_noextraheaders>
  114. </instructions>
  115. </configuration>
  116. </plugin>
  117. <plugin>
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-jar-plugin</artifactId>
  120. <version>3.3.0</version>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.codehaus.mojo</groupId>
  124. <artifactId>build-helper-maven-plugin</artifactId>
  125. <version>3.3.0</version>
  126. </plugin>
  127. <plugin>
  128. <groupId>com.github.spotbugs</groupId>
  129. <artifactId>spotbugs-maven-plugin</artifactId>
  130. <version>${spotbugs.version}</version>
  131. <configuration>
  132. <skip>${spotbugs.skip}</skip>
  133. <threshold>${spotbugs.threshold}</threshold>
  134. <excludeFilterFile>${spotbugs.exclude}</excludeFilterFile>
  135. <fork>true</fork>
  136. </configuration>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.apache.maven.plugins</groupId>
  140. <artifactId>maven-enforcer-plugin</artifactId>
  141. <version>3.3.0</version>
  142. </plugin>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-source-plugin</artifactId>
  146. <version>3.2.1</version>
  147. </plugin>
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-javadoc-plugin</artifactId>
  151. <version>3.5.0</version>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.glassfish.copyright</groupId>
  155. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  156. <version>2.4</version>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-site-plugin</artifactId>
  161. <version>3.12.1</version>
  162. </plugin>
  163. </plugins>
  164. </pluginManagement>
  165. <plugins>
  166. <!--
  167. Make sure we're using the correct version of maven.
  168. -->
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-enforcer-plugin</artifactId>
  172. <executions>
  173. <execution>
  174. <id>enforce-version</id>
  175. <goals>
  176. <goal>enforce</goal>
  177. </goals>
  178. <configuration>
  179. <rules>
  180. <requireMavenVersion>
  181. <version>[3.6.3,)</version>
  182. </requireMavenVersion>
  183. <requireJavaVersion>
  184. <version>[11,)</version>
  185. </requireJavaVersion>
  186. </rules>
  187. </configuration>
  188. </execution>
  189. </executions>
  190. </plugin>
  191. <!--
  192. Use the JDK 9+ compiler but with -source 1.8 for all
  193. but the module-info.java file.
  194. -->
  195. <plugin>
  196. <groupId>org.apache.maven.plugins</groupId>
  197. <artifactId>maven-compiler-plugin</artifactId>
  198. <configuration>
  199. <release>9</release>
  200. <compilerArgs>
  201. <arg>-Xlint:all</arg>
  202. </compilerArgs>
  203. <showDeprecation>true</showDeprecation>
  204. <createMissingPackageInfoClass>false</createMissingPackageInfoClass>
  205. </configuration>
  206. <executions>
  207. <execution>
  208. <id>base-compile</id>
  209. <goals>
  210. <goal>compile</goal>
  211. </goals>
  212. <configuration>
  213. <release>8</release>
  214. <excludes>
  215. <exclude>module-info.java</exclude>
  216. </excludes>
  217. </configuration>
  218. </execution>
  219. </executions>
  220. </plugin>
  221. <plugin>
  222. <groupId>org.codehaus.mojo</groupId>
  223. <artifactId>buildnumber-maven-plugin</artifactId>
  224. <executions>
  225. <execution>
  226. <id>validate</id>
  227. <phase>validate</phase>
  228. <goals>
  229. <goal>create</goal>
  230. </goals>
  231. <configuration>
  232. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  233. <shortRevisionLength>7</shortRevisionLength>
  234. <revisionOnScmFailure>false</revisionOnScmFailure>
  235. </configuration>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.felix</groupId>
  241. <artifactId>maven-bundle-plugin</artifactId>
  242. <configuration>
  243. <archive>
  244. <manifest>
  245. <addDefaultEntries>false</addDefaultEntries>
  246. </manifest>
  247. </archive>
  248. <niceManifest>true</niceManifest>
  249. <instructions>
  250. <_noextraheaders>true</_noextraheaders>
  251. <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
  252. <Specification-Title>${spec.title}</Specification-Title>
  253. <Specification-Version>${spec.version}</Specification-Version>
  254. <Specification-Vendor>${project.organization.name}</Specification-Vendor>
  255. <Extension-Name>${project.groupId}</Extension-Name>
  256. <Implementation-Title>${project.name}</Implementation-Title>
  257. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  258. <Implementation-Build-Id>${buildNumber}</Implementation-Build-Id>
  259. <DynamicImport-Package>*</DynamicImport-Package>
  260. <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
  261. <Import-Package>
  262. !org.glassfish.hk2.osgiresourcelocator,
  263. *
  264. </Import-Package>
  265. <!-- optional to allow usage with hk2 resource locator as a fallback -->
  266. <Require-Capability><![CDATA[
  267. osgi.extender;filter:="(&(osgi.extender=osgi.serviceloader.processor)
  268. (version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional,
  269. osgi.serviceloader;
  270. filter:="(osgi.serviceloader=jakarta.activation.spi.MailcapRegistryProvider)";
  271. osgi.serviceloader="jakarta.activation.spi.MailcapRegistryProvider";
  272. cardinality:=multiple;resolution:=optional,
  273. osgi.serviceloader;
  274. filter:="(osgi.serviceloader=jakarta.activation.spi.MimeTypeRegistryProvider)";
  275. osgi.serviceloader="jakarta.activation.spi.MimeTypeRegistryProvider";
  276. cardinality:=multiple;resolution:=optional,
  277. osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))
  278. ]]>
  279. </Require-Capability>
  280. </instructions>
  281. </configuration>
  282. <executions>
  283. <execution>
  284. <id>bundle-manifest</id>
  285. <phase>process-classes</phase>
  286. <goals>
  287. <goal>manifest</goal>
  288. </goals>
  289. </execution>
  290. </executions>
  291. </plugin>
  292. <plugin>
  293. <groupId>org.apache.maven.plugins</groupId>
  294. <artifactId>maven-jar-plugin</artifactId>
  295. <configuration>
  296. <archive>
  297. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  298. <manifest>
  299. <addDefaultEntries>false</addDefaultEntries>
  300. </manifest>
  301. </archive>
  302. </configuration>
  303. </plugin>
  304. <!--
  305. Tell the source plugin about the sources that may have
  306. been downloaded by the maven-dependency-plugin.
  307. -->
  308. <plugin>
  309. <groupId>org.codehaus.mojo</groupId>
  310. <artifactId>build-helper-maven-plugin</artifactId>
  311. <executions>
  312. <execution>
  313. <id>currentyear-property</id>
  314. <goals>
  315. <goal>timestamp-property</goal>
  316. </goals>
  317. <phase>validate</phase>
  318. <configuration>
  319. <name>current.year</name>
  320. <locale>en,US</locale>
  321. <pattern>yyyy</pattern>
  322. </configuration>
  323. </execution>
  324. <execution>
  325. <id>add-resource</id>
  326. <phase>generate-resources</phase>
  327. <goals>
  328. <goal>add-resource</goal>
  329. </goals>
  330. <configuration>
  331. <resources>
  332. <resource>
  333. <directory>${legal.doc.source}</directory>
  334. <targetPath>META-INF</targetPath>
  335. <includes>
  336. <include>LICENSE.md</include>
  337. <include>NOTICE.md</include>
  338. </includes>
  339. </resource>
  340. </resources>
  341. </configuration>
  342. </execution>
  343. </executions>
  344. </plugin>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-source-plugin</artifactId>
  348. <configuration>
  349. <archive>
  350. <manifest>
  351. <addDefaultEntries>false</addDefaultEntries>
  352. </manifest>
  353. </archive>
  354. </configuration>
  355. </plugin>
  356. <plugin>
  357. <groupId>org.apache.maven.plugins</groupId>
  358. <artifactId>maven-javadoc-plugin</artifactId>
  359. <configuration>
  360. <archive>
  361. <manifest>
  362. <addDefaultEntries>false</addDefaultEntries>
  363. </manifest>
  364. </archive>
  365. <author>false</author>
  366. <description>${javadoc.title}</description>
  367. <doctitle>${javadoc.title}</doctitle>
  368. <windowtitle>${javadoc.title}</windowtitle>
  369. <splitindex>true</splitindex>
  370. <use>true</use>
  371. <notimestamp>true</notimestamp>
  372. <serialwarn>true</serialwarn>
  373. <header><![CDATA[<br>Jakarta Activation API v${project.version}]]></header>
  374. <bottom>
  375. <![CDATA[
  376. Comments to : <a href="mailto:jaf-dev@eclipse.org">jaf-dev@eclipse.org</a>.<br>
  377. Copyright &#169; 2019, ${current.year} Eclipse Foundation. All rights reserved.<br>
  378. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
  379. </bottom>
  380. <!-- force the doc-files directory to be copied -->
  381. <docfilessubdirs>true</docfilessubdirs>
  382. <detectJavaApiLink>false</detectJavaApiLink>
  383. <release>11</release>
  384. <quiet>true</quiet>
  385. </configuration>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.glassfish.copyright</groupId>
  389. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  390. <configuration>
  391. <excludeFile>${copyright.exclude}</excludeFile>
  392. <!-- skip files not under SCM-->
  393. <scmOnly>${copyright.scmonly}</scmOnly>
  394. <!-- for use with repair -->
  395. <update>${copyright.update}</update>
  396. <!-- check that year is correct -->
  397. <ignoreYear>${copyright.ignoreyear}</ignoreYear>
  398. <quiet>false</quiet>
  399. </configuration>
  400. </plugin>
  401. </plugins>
  402. </build>
  403. </project>