jakarta.xml.bind-api-4.0.2.pom 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2018, 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  10. <parent>
  11. <artifactId>jakarta.xml.bind-api-parent</artifactId>
  12. <groupId>jakarta.xml.bind</groupId>
  13. <version>4.0.2</version>
  14. <relativePath>../pom.xml</relativePath>
  15. </parent>
  16. <modelVersion>4.0.0</modelVersion>
  17. <artifactId>jakarta.xml.bind-api</artifactId>
  18. <packaging>jar</packaging>
  19. <name>Jakarta XML Binding API</name>
  20. <properties>
  21. <config.dir>${project.basedir}/../etc/config</config.dir>
  22. <legal.doc.source>${project.basedir}/..</legal.doc.source>
  23. <spotbugs.exclude>${project.basedir}/../etc/spotbugs-exclude.xml</spotbugs.exclude>
  24. </properties>
  25. <dependencies>
  26. <dependency>
  27. <groupId>jakarta.activation</groupId>
  28. <artifactId>jakarta.activation-api</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>junit</groupId>
  32. <artifactId>junit</artifactId>
  33. <version>4.13.2</version>
  34. <scope>test</scope>
  35. </dependency>
  36. </dependencies>
  37. <build>
  38. <pluginManagement>
  39. <plugins>
  40. <plugin>
  41. <artifactId>maven-enforcer-plugin</artifactId>
  42. <configuration>
  43. <rules>
  44. <requireJavaVersion>
  45. <version>[11,)</version>
  46. </requireJavaVersion>
  47. <requireMavenVersion>
  48. <version>[3.6.0,)</version>
  49. </requireMavenVersion>
  50. <DependencyConvergence />
  51. </rules>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <groupId>org.codehaus.mojo</groupId>
  56. <artifactId>buildnumber-maven-plugin</artifactId>
  57. <configuration>
  58. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  59. <shortRevisionLength>7</shortRevisionLength>
  60. <revisionOnScmFailure>false</revisionOnScmFailure>
  61. </configuration>
  62. </plugin>
  63. <plugin>
  64. <artifactId>maven-javadoc-plugin</artifactId>
  65. <configuration>
  66. <failOnWarnings>true</failOnWarnings>
  67. <doclint>all,-missing</doclint>
  68. <quiet>true</quiet>
  69. <nodeprecated>false</nodeprecated>
  70. <notimestamp>true</notimestamp>
  71. <nosince>true</nosince>
  72. <use>false</use>
  73. <author>true</author>
  74. <version>true</version>
  75. <description>Jakarta XML Binding API documentation</description>
  76. <doctitle>Jakarta XML Binding API documentation</doctitle>
  77. <windowtitle>Jakarta XML Binding API documentation</windowtitle>
  78. <header><![CDATA[Jakarta XML Binding<br>v${project.version}]]>
  79. </header>
  80. <bottom>
  81. <![CDATA[
  82. Comments to : <a href="mailto:${release.spec.feedback}">${release.spec.feedback}</a>.<br>
  83. Copyright &#169; 2019, ${current.year} Eclipse Foundation. All rights reserved.<br>
  84. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
  85. </bottom>
  86. <detectJavaApiLink>false</detectJavaApiLink>
  87. <docfilessubdirs>true</docfilessubdirs>
  88. <groups>
  89. <group>
  90. <title>Jakarta XML Binding API Packages</title>
  91. <packages>jakarta.xml.bind*</packages>
  92. </group>
  93. </groups>
  94. <tags>
  95. <tag>
  96. <name>apiNote</name>
  97. <!-- todo tag for all places -->
  98. <placement>a</placement>
  99. <head>API Note:</head>
  100. </tag>
  101. <tag>
  102. <name>implSpec</name>
  103. <!-- todo tag for all places -->
  104. <placement>a</placement>
  105. <head>Implementation Requirements:</head>
  106. </tag>
  107. <tag>
  108. <name>implNote</name>
  109. <!-- todo tag for all places -->
  110. <placement>a</placement>
  111. <head>Implementation Note:</head>
  112. </tag>
  113. </tags>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. </pluginManagement>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.codehaus.mojo</groupId>
  121. <artifactId>build-helper-maven-plugin</artifactId>
  122. <executions>
  123. <execution>
  124. <id>currentyear-property</id>
  125. <goals>
  126. <goal>timestamp-property</goal>
  127. </goals>
  128. <phase>validate</phase>
  129. <configuration>
  130. <name>current.year</name>
  131. <locale>en,US</locale>
  132. <pattern>yyyy</pattern>
  133. </configuration>
  134. </execution>
  135. <execution>
  136. <id>add-legal-resource</id>
  137. <phase>generate-resources</phase>
  138. <goals>
  139. <goal>add-resource</goal>
  140. </goals>
  141. <configuration>
  142. <resources>
  143. <resource>
  144. <directory>${legal.doc.source}</directory>
  145. <includes>
  146. <include>NOTICE.md</include>
  147. <include>LICENSE.md</include>
  148. </includes>
  149. <targetPath>META-INF</targetPath>
  150. </resource>
  151. </resources>
  152. </configuration>
  153. </execution>
  154. </executions>
  155. </plugin>
  156. <plugin>
  157. <artifactId>maven-enforcer-plugin</artifactId>
  158. <executions>
  159. <execution>
  160. <id>enforce-versions</id>
  161. <goals>
  162. <goal>enforce</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.codehaus.mojo</groupId>
  169. <artifactId>buildnumber-maven-plugin</artifactId>
  170. <executions>
  171. <execution>
  172. <id>validate</id>
  173. <phase>validate</phase>
  174. <goals>
  175. <goal>create</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. <plugin>
  181. <groupId>org.apache.maven.plugins</groupId>
  182. <artifactId>maven-compiler-plugin</artifactId>
  183. <configuration>
  184. <compilerArgs>
  185. <arg>-Xlint:all</arg>
  186. <arg>-Xdoclint:all,-missing</arg>
  187. </compilerArgs>
  188. <showDeprecation>true</showDeprecation>
  189. <showWarnings>true</showWarnings>
  190. </configuration>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.felix</groupId>
  194. <artifactId>maven-bundle-plugin</artifactId>
  195. <executions>
  196. <execution>
  197. <id>bundle-manifest</id>
  198. <phase>process-classes</phase>
  199. <goals>
  200. <goal>manifest</goal>
  201. </goals>
  202. <configuration>
  203. <archive>
  204. <manifest>
  205. <addDefaultEntries>false</addDefaultEntries>
  206. </manifest>
  207. </archive>
  208. <niceManifest>true</niceManifest>
  209. <instructions>
  210. <Bundle-Version>${project.version}</Bundle-Version> <!-- 2.2.99.bnull -->
  211. <Bundle-Description>
  212. Jakarta XML Binding API ${spec.version} Design Specification
  213. </Bundle-Description>
  214. <Extension-Name>${extension.name}</Extension-Name>
  215. <Implementation-Version>${project.version}</Implementation-Version>
  216. <Specification-Version>${spec.version}</Specification-Version>
  217. <Import-Package>
  218. !org.glassfish.hk2.osgiresourcelocator,
  219. *
  220. </Import-Package>
  221. <Bundle-SymbolicName>${extension.name}-api</Bundle-SymbolicName>
  222. <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
  223. <Specification-Vendor>${vendor.name}</Specification-Vendor>
  224. <Implementation-Build-Id>${buildNumber}</Implementation-Build-Id>
  225. <_noextraheaders>true</_noextraheaders>
  226. <!-- optional to allow usage with hk2 resource locator as a fallback -->
  227. <Require-Capability><![CDATA[
  228. osgi.extender;filter:="(&(osgi.extender=osgi.serviceloader.processor)
  229. (version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional,
  230. osgi.serviceloader;
  231. filter:="(osgi.serviceloader=jakarta.xml.bind.JAXBContextFactory)";
  232. osgi.serviceloader="jakarta.xml.bind.JAXBContextFactory";
  233. cardinality:=multiple;resolution:=optional
  234. ]]>
  235. </Require-Capability>
  236. </instructions>
  237. </configuration>
  238. </execution>
  239. </executions>
  240. </plugin>
  241. <plugin>
  242. <artifactId>maven-jar-plugin</artifactId>
  243. <configuration>
  244. <archive>
  245. <manifest>
  246. <addDefaultEntries>false</addDefaultEntries>
  247. </manifest>
  248. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  249. </archive>
  250. </configuration>
  251. </plugin>
  252. <plugin>
  253. <groupId>com.github.spotbugs</groupId>
  254. <artifactId>spotbugs-maven-plugin</artifactId>
  255. <configuration>
  256. <fork>true</fork>
  257. <excludeFilterFile>${spotbugs.exclude}</excludeFilterFile>
  258. <failThreshold>High</failThreshold>
  259. </configuration>
  260. </plugin>
  261. </plugins>
  262. </build>
  263. </project>