jakarta.xml.bind-api-2.3.3.pom 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2018, 2020 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 http://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>2.3.3</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. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>jakarta.activation</groupId>
  27. <artifactId>jakarta.activation-api</artifactId>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <pluginManagement>
  32. <plugins>
  33. <plugin>
  34. <artifactId>maven-enforcer-plugin</artifactId>
  35. <configuration>
  36. <rules>
  37. <requireJavaVersion>
  38. <version>[1.8,)</version>
  39. </requireJavaVersion>
  40. <requireMavenVersion>
  41. <version>[3.0.3,)</version>
  42. </requireMavenVersion>
  43. <DependencyConvergence />
  44. </rules>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <artifactId>maven-jar-plugin</artifactId>
  49. <configuration>
  50. <archive>
  51. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  52. </archive>
  53. </configuration>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.codehaus.mojo</groupId>
  57. <artifactId>buildnumber-maven-plugin</artifactId>
  58. <configuration>
  59. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  60. <shortRevisionLength>7</shortRevisionLength>
  61. <revisionOnScmFailure>false</revisionOnScmFailure>
  62. </configuration>
  63. </plugin>
  64. <plugin>
  65. <groupId>com.github.spotbugs</groupId>
  66. <artifactId>spotbugs-maven-plugin</artifactId>
  67. <configuration>
  68. <threshold>${spotbugs.threshold}</threshold>
  69. <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
  70. <excludeFilterFile>
  71. ${spotbugs.exclude}
  72. </excludeFilterFile>
  73. <fork>true</fork>
  74. <jvmArgs>-Xms64m -Xmx256m</jvmArgs>
  75. </configuration>
  76. </plugin>
  77. <plugin>
  78. <artifactId>maven-javadoc-plugin</artifactId>
  79. <configuration>
  80. <source>1.8</source>
  81. <release>8</release>
  82. <additionalOptions>
  83. <additionalOption>--frames</additionalOption>
  84. </additionalOptions>
  85. <sourceFileExcludes>
  86. <sourceFileExclude>module-info.java</sourceFileExclude>
  87. </sourceFileExcludes>
  88. <nodeprecated>false</nodeprecated>
  89. <notimestamp>true</notimestamp>
  90. <use>false</use>
  91. <author>true</author>
  92. <version>true</version>
  93. <description>Jakarta XML Binding API documentation</description>
  94. <doctitle>Jakarta XML Binding API documentation</doctitle>
  95. <windowtitle>Jakarta XML Binding API documentation</windowtitle>
  96. <header><![CDATA[Jakarta XML Binding<br>v${project.version}]]>
  97. </header>
  98. <bottom>
  99. <![CDATA[
  100. Comments to : <a href="mailto:${release.spec.feedback}">${release.spec.feedback}</a>.<br>
  101. Copyright &#169; 2019, 2020 Eclipse Foundation. All rights reserved.<br>
  102. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
  103. </bottom>
  104. <detectJavaApiLink>false</detectJavaApiLink>
  105. <docfilessubdirs>true</docfilessubdirs>
  106. <groups>
  107. <group>
  108. <title>Jakarta XML Binding API Packages</title>
  109. <packages>javax.xml.bind*</packages>
  110. </group>
  111. </groups>
  112. <tags>
  113. <tag>
  114. <name>apiNote</name>
  115. <!-- todo tag for all places -->
  116. <placement>a</placement>
  117. <head>API Note:</head>
  118. </tag>
  119. <tag>
  120. <name>implSpec</name>
  121. <!-- todo tag for all places -->
  122. <placement>a</placement>
  123. <head>Implementation Requirements:</head>
  124. </tag>
  125. <tag>
  126. <name>implNote</name>
  127. <!-- todo tag for all places -->
  128. <placement>a</placement>
  129. <head>Implementation Note:</head>
  130. </tag>
  131. </tags>
  132. </configuration>
  133. </plugin>
  134. </plugins>
  135. </pluginManagement>
  136. <plugins>
  137. <plugin>
  138. <groupId>org.codehaus.mojo</groupId>
  139. <artifactId>build-helper-maven-plugin</artifactId>
  140. <executions>
  141. <execution>
  142. <id>add-legal-resource</id>
  143. <phase>generate-resources</phase>
  144. <goals>
  145. <goal>add-resource</goal>
  146. </goals>
  147. <configuration>
  148. <resources>
  149. <resource>
  150. <directory>${legal.doc.source}</directory>
  151. <includes>
  152. <include>NOTICE.md</include>
  153. <include>LICENSE.md</include>
  154. </includes>
  155. <targetPath>META-INF</targetPath>
  156. </resource>
  157. </resources>
  158. </configuration>
  159. </execution>
  160. <execution>
  161. <id>add-mr-resource</id>
  162. <phase>prepare-package</phase>
  163. <goals>
  164. <goal>add-resource</goal>
  165. </goals>
  166. <configuration>
  167. <resources>
  168. <resource>
  169. <directory>${project.basedir}/src/main/mr-jar</directory>
  170. <targetPath>META-INF/versions/9</targetPath>
  171. </resource>
  172. </resources>
  173. </configuration>
  174. </execution>
  175. </executions>
  176. </plugin>
  177. <plugin>
  178. <artifactId>maven-enforcer-plugin</artifactId>
  179. <executions>
  180. <execution>
  181. <id>enforce-versions</id>
  182. <goals>
  183. <goal>enforce</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.codehaus.mojo</groupId>
  190. <artifactId>buildnumber-maven-plugin</artifactId>
  191. <executions>
  192. <execution>
  193. <id>validate</id>
  194. <phase>validate</phase>
  195. <goals>
  196. <goal>create</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-compiler-plugin</artifactId>
  204. <configuration>
  205. <source>9</source>
  206. <target>9</target>
  207. <compilerArgs>
  208. <arg>-Xlint:all</arg>
  209. </compilerArgs>
  210. </configuration>
  211. <executions>
  212. <execution>
  213. <id>default-compile-mr</id>
  214. <goals>
  215. <goal>compile</goal>
  216. </goals>
  217. <configuration>
  218. <release>9</release>
  219. <compileSourceRoots>
  220. <compileSourceRoot>${project.basedir}/src/main/mr-jar</compileSourceRoot>
  221. </compileSourceRoots>
  222. <outputDirectory>${project.build.outputDirectory}/META-INF/versions/9</outputDirectory>
  223. </configuration>
  224. </execution>
  225. <execution>
  226. <id>base-compile</id>
  227. <goals>
  228. <goal>compile</goal>
  229. </goals>
  230. <configuration>
  231. <release>8</release>
  232. <excludes>
  233. <exclude>module-info.java</exclude>
  234. </excludes>
  235. </configuration>
  236. </execution>
  237. </executions>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.felix</groupId>
  241. <artifactId>maven-bundle-plugin</artifactId>
  242. <executions>
  243. <execution>
  244. <id>bundle-manifest</id>
  245. <phase>process-classes</phase>
  246. <goals>
  247. <goal>manifest</goal>
  248. </goals>
  249. <configuration>
  250. <archive>
  251. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  252. </archive>
  253. <instructions>
  254. <_removeheaders>Bnd-LastModified,Built-By,Include-Resource,Private-Package</_removeheaders>
  255. <Bundle-Version>${project.version}</Bundle-Version> <!-- 2.2.99.bnull -->
  256. <Bundle-Description>
  257. Jakarta XML Binding API ${spec.version} Design Specification
  258. </Bundle-Description>
  259. <Extension-Name>${extension.name}</Extension-Name>
  260. <Implementation-Version>${spec.version}.${impl.version}</Implementation-Version>
  261. <Specification-Version>${spec.version}</Specification-Version>
  262. <Export-Package>${api.package}.*; version=${spec.version}.${impl.version}</Export-Package>
  263. <Import-Package>
  264. !org.glassfish.hk2.osgiresourcelocator,
  265. javax.activation;version=!,
  266. *
  267. </Import-Package>
  268. <Bundle-SymbolicName>${extension.name}-api</Bundle-SymbolicName>
  269. <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
  270. <Specification-Vendor>${vendor.name}</Specification-Vendor>
  271. <Implementation-Build-Id>${scmBranch}-${buildNumber}</Implementation-Build-Id>
  272. <Multi-Release>true</Multi-Release>
  273. </instructions>
  274. </configuration>
  275. </execution>
  276. </executions>
  277. </plugin>
  278. </plugins>
  279. </build>
  280. </project>