jakarta.xml.bind-api-2.3.2.pom 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 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 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.2</version>
  14. </parent>
  15. <modelVersion>4.0.0</modelVersion>
  16. <artifactId>jakarta.xml.bind-api</artifactId>
  17. <packaging>jar</packaging>
  18. <properties>
  19. <config.dir>${project.basedir}/../etc/config</config.dir>
  20. <legal.doc.source>${project.basedir}/..</legal.doc.source>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>jakarta.activation</groupId>
  25. <artifactId>jakarta.activation-api</artifactId>
  26. </dependency>
  27. </dependencies>
  28. <build>
  29. <pluginManagement>
  30. <plugins>
  31. <plugin>
  32. <artifactId>maven-enforcer-plugin</artifactId>
  33. <configuration>
  34. <rules>
  35. <requireJavaVersion>
  36. <version>[1.8,)</version>
  37. </requireJavaVersion>
  38. <requireMavenVersion>
  39. <version>[3.0.3,)</version>
  40. </requireMavenVersion>
  41. <DependencyConvergence />
  42. </rules>
  43. </configuration>
  44. </plugin>
  45. <plugin>
  46. <groupId>org.codehaus.mojo</groupId>
  47. <artifactId>cobertura-maven-plugin</artifactId>
  48. <version>2.7</version>
  49. <configuration>
  50. <formats>
  51. <format>xml</format>
  52. </formats>
  53. <check>
  54. <totalLineRate>45</totalLineRate>
  55. <packageLineRate>45</packageLineRate>
  56. <haltOnFailure>true</haltOnFailure>
  57. </check>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.glassfish.copyright</groupId>
  62. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  63. <configuration>
  64. <templateFile>${project.basedir}/copyright.txt</templateFile>
  65. <excludeFile>${project.basedir}/copyright-exclude</excludeFile>
  66. <!-- skip files not under SCM-->
  67. <scmOnly>true</scmOnly>
  68. <!-- turn off warnings -->
  69. <warn>true</warn>
  70. <!-- for use with repair -->
  71. <update>false</update>
  72. <!-- check that year is correct -->
  73. <ignoreYear>false</ignoreYear>
  74. </configuration>
  75. </plugin>
  76. <plugin>
  77. <artifactId>maven-jar-plugin</artifactId>
  78. <version>3.1.0</version>
  79. <configuration>
  80. <archive>
  81. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  82. </archive>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.codehaus.mojo</groupId>
  87. <artifactId>buildnumber-maven-plugin</artifactId>
  88. <version>1.4</version>
  89. <configuration>
  90. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  91. <timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</timestampFormat>
  92. <shortRevisionLength>7</shortRevisionLength>
  93. <revisionOnScmFailure>false</revisionOnScmFailure>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.felix</groupId>
  98. <artifactId>maven-bundle-plugin</artifactId>
  99. <version>3.5.1</version>
  100. <configuration>
  101. <archive>
  102. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  103. </archive>
  104. <instructions>
  105. <_noee>true</_noee>
  106. <Bundle-Version>${project.version}</Bundle-Version> <!-- 2.2.99.bnull -->
  107. <Extension-Name>${extension.name}</Extension-Name>
  108. <Implementation-Version>${spec.version}.${impl.version}</Implementation-Version>
  109. <Specification-Version>${spec.version}</Specification-Version>
  110. <Export-Package>${api.package}.*; version=${spec.version}.${impl.version}</Export-Package>
  111. <Import-Package>
  112. javax.activation;version=!,
  113. javax.xml.bind;version="[${spec.version},3)",
  114. javax.xml.bind.annotation;version="[${spec.version},3)",
  115. javax.xml.bind.annotation.adapters;version="[${spec.version},3)",
  116. javax.xml.bind.attachment;version="[${spec.version},3)",
  117. javax.xml.bind.helpers;version="[${spec.version},3)",
  118. javax.xml.bind.util;version="[${spec.version},3)",
  119. javax.xml.datatype,
  120. javax.xml.namespace,
  121. javax.xml.parsers,
  122. javax.xml.stream,
  123. javax.xml.transform,
  124. javax.xml.transform.dom,
  125. javax.xml.transform.sax,
  126. javax.xml.transform.stream,
  127. javax.xml.validation,
  128. org.w3c.dom,
  129. org.xml.sax,
  130. org.xml.sax.ext,
  131. org.xml.sax.helpers
  132. </Import-Package>
  133. <Bundle-SymbolicName>${extension.name}-api</Bundle-SymbolicName>
  134. <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
  135. <Specification-Vendor>${vendor.name}</Specification-Vendor>
  136. <Implementation-Build-Id>${scmBranch}-${buildNumber}, ${timestamp}</Implementation-Build-Id>
  137. <Multi-Release>true</Multi-Release>
  138. </instructions>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.codehaus.mojo</groupId>
  143. <artifactId>findbugs-maven-plugin</artifactId>
  144. <version>3.0.5</version>
  145. <configuration>
  146. <skip>${findbugs.skip}</skip>
  147. <threshold>${findbugs.threshold}</threshold>
  148. <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
  149. <excludeFilterFile>
  150. ${findbugs.exclude}
  151. </excludeFilterFile>
  152. <fork>true</fork>
  153. <jvmArgs>-Xms64m -Xmx256m</jvmArgs>
  154. </configuration>
  155. <dependencies>
  156. <dependency>
  157. <groupId>org.glassfish.findbugs</groupId>
  158. <artifactId>findbugs</artifactId>
  159. <version>1.0</version>
  160. </dependency>
  161. </dependencies>
  162. </plugin>
  163. <plugin>
  164. <artifactId>maven-javadoc-plugin</artifactId>
  165. <configuration>
  166. <doclint>none</doclint>
  167. <nodeprecated>false</nodeprecated>
  168. <use>false</use>
  169. <author>true</author>
  170. <version>true</version>
  171. <doctitle><![CDATA[<br>
  172. JAXB ${project.version} API Library</h2>
  173. ${project.name} specification, ${release.spec.date}<br>
  174. Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br>
  175. More information at: <i><a target='_top'
  176. href='https://projects.eclipse.org/projects/ee4j.jaxb'>https://projects.eclipse.org/projects/ee4j.jaxb</a></i><br>
  177. &nbsp;<br>&nbsp;<br><hr width='65%'><h1>${project.name}</h1><hr width='75%'>
  178. <br>&nbsp;<br>]]>
  179. </doctitle>
  180. <header><![CDATA[JAXB<br>v${project.version}]]>
  181. </header>
  182. <bottom>
  183. <![CDATA[<br>Copyright &#169; {inceptionYear}&#x2013;{currentYear} Oracle and/or its affiliates.
  184. All rights reserved.<br>Comments to : <a href="mailto:${release.spec.feedback}">${release.spec.feedback}</a>.]]>
  185. </bottom>
  186. <detectJavaApiLink>false</detectJavaApiLink>
  187. <tags>
  188. <tag>
  189. <name>apiNote</name>
  190. <!-- todo tag for all places -->
  191. <placement>a</placement>
  192. <head>API Note:</head>
  193. </tag>
  194. <tag>
  195. <name>implSpec</name>
  196. <!-- todo tag for all places -->
  197. <placement>a</placement>
  198. <head>Implementation Requirements:</head>
  199. </tag>
  200. <tag>
  201. <name>implNote</name>
  202. <!-- todo tag for all places -->
  203. <placement>a</placement>
  204. <head>Implementation Note:</head>
  205. </tag>
  206. </tags>
  207. </configuration>
  208. </plugin>
  209. </plugins>
  210. </pluginManagement>
  211. <plugins>
  212. <plugin>
  213. <groupId>org.codehaus.mojo</groupId>
  214. <artifactId>build-helper-maven-plugin</artifactId>
  215. <executions>
  216. <execution>
  217. <id>add-legal-resource</id>
  218. <phase>generate-resources</phase>
  219. <goals>
  220. <goal>add-resource</goal>
  221. </goals>
  222. <configuration>
  223. <resources>
  224. <resource>
  225. <directory>${legal.doc.source}</directory>
  226. <includes>
  227. <include>NOTICE.md</include>
  228. <include>LICENSE.md</include>
  229. </includes>
  230. <targetPath>META-INF</targetPath>
  231. </resource>
  232. </resources>
  233. </configuration>
  234. </execution>
  235. <execution>
  236. <id>add-mr-resource</id>
  237. <phase>prepare-package</phase>
  238. <goals>
  239. <goal>add-resource</goal>
  240. </goals>
  241. <configuration>
  242. <resources>
  243. <resource>
  244. <directory>${project.basedir}/src/main/mr-jar</directory>
  245. <targetPath>META-INF/versions/9</targetPath>
  246. </resource>
  247. </resources>
  248. </configuration>
  249. </execution>
  250. </executions>
  251. </plugin>
  252. <plugin>
  253. <artifactId>maven-enforcer-plugin</artifactId>
  254. <executions>
  255. <execution>
  256. <id>enforce-versions</id>
  257. <goals>
  258. <goal>enforce</goal>
  259. </goals>
  260. </execution>
  261. </executions>
  262. </plugin>
  263. <plugin>
  264. <groupId>org.codehaus.mojo</groupId>
  265. <artifactId>buildnumber-maven-plugin</artifactId>
  266. <executions>
  267. <execution>
  268. <id>validate</id>
  269. <phase>validate</phase>
  270. <goals>
  271. <goal>create</goal>
  272. </goals>
  273. </execution>
  274. </executions>
  275. </plugin>
  276. <plugin>
  277. <artifactId>maven-compiler-plugin</artifactId>
  278. <executions>
  279. <execution>
  280. <id>default-compile</id>
  281. <configuration>
  282. <release>8</release>
  283. <excludes>
  284. <exclude>module-info.java</exclude>
  285. </excludes>
  286. </configuration>
  287. </execution>
  288. <execution>
  289. <id>module-info-compile</id>
  290. <goals>
  291. <goal>compile</goal>
  292. </goals>
  293. <configuration>
  294. <release>9</release>
  295. <includes>
  296. <include>module-info.java</include>
  297. </includes>
  298. </configuration>
  299. </execution>
  300. <execution>
  301. <id>default-compile-mr</id>
  302. <goals>
  303. <goal>compile</goal>
  304. </goals>
  305. <configuration>
  306. <release>9</release>
  307. <compileSourceRoots>
  308. <compileSourceRoot>${project.basedir}/src/main/mr-jar</compileSourceRoot>
  309. </compileSourceRoots>
  310. <outputDirectory>${project.build.outputDirectory}/META-INF/versions/9</outputDirectory>
  311. </configuration>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.apache.felix</groupId>
  317. <artifactId>maven-bundle-plugin</artifactId>
  318. <executions>
  319. <execution>
  320. <id>bundle-manifest</id>
  321. <phase>process-classes</phase>
  322. <goals>
  323. <goal>manifest</goal>
  324. </goals>
  325. </execution>
  326. </executions>
  327. </plugin>
  328. </plugins>
  329. </build>
  330. </project>