jaxb-api-2.3.0.pom 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <parent>
  4. <artifactId>jaxb-api-parent</artifactId>
  5. <groupId>javax.xml.bind</groupId>
  6. <version>2.3.0</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>jaxb-api</artifactId>
  10. <packaging>jar</packaging>
  11. <build>
  12. <pluginManagement>
  13. <plugins>
  14. <plugin>
  15. <groupId>org.apache.maven.plugins</groupId>
  16. <artifactId>maven-resources-plugin</artifactId>
  17. <version>3.0.2</version>
  18. </plugin>
  19. <plugin>
  20. <groupId>org.glassfish.build</groupId>
  21. <artifactId>gfnexus-maven-plugin</artifactId>
  22. <version>0.20</version>
  23. <configuration>
  24. <stagingRepos>
  25. <stagingRepo>
  26. <ref>javax.xml.bind:jaxb-api:${project.version}:jar</ref>
  27. <profile>javax.xml.bind</profile>
  28. </stagingRepo>
  29. </stagingRepos>
  30. <promotionProfile>metro</promotionProfile>
  31. <message>JAXB_API-${project.version}</message>
  32. </configuration>
  33. </plugin>
  34. <plugin>
  35. <artifactId>maven-enforcer-plugin</artifactId>
  36. <version>3.0.0-M1</version>
  37. <configuration>
  38. <rules>
  39. <requireJavaVersion>
  40. <version>[1.7,)</version>
  41. </requireJavaVersion>
  42. <requireMavenVersion>
  43. <version>[3.0.3,)</version>
  44. </requireMavenVersion>
  45. <DependencyConvergence />
  46. </rules>
  47. </configuration>
  48. </plugin>
  49. <plugin>
  50. <groupId>org.codehaus.mojo</groupId>
  51. <artifactId>cobertura-maven-plugin</artifactId>
  52. <version>2.5.1</version>
  53. <configuration>
  54. <formats>
  55. <format>xml</format>
  56. </formats>
  57. <check>
  58. <totalLineRate>45</totalLineRate>
  59. <packageLineRate>45</packageLineRate>
  60. <haltOnFailure>true</haltOnFailure>
  61. </check>
  62. </configuration>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.glassfish.copyright</groupId>
  66. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  67. <version>1.29</version>
  68. <configuration>
  69. <templateFile>${project.basedir}/copyright.txt</templateFile>
  70. <excludeFile>${project.basedir}/copyright-exclude</excludeFile>
  71. <!-- skip files not under SCM-->
  72. <scmOnly>true</scmOnly>
  73. <!-- turn off warnings -->
  74. <warn>true</warn>
  75. <!-- for use with repair -->
  76. <update>false</update>
  77. <!-- check that year is correct -->
  78. <ignoreYear>false</ignoreYear>
  79. </configuration>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-dependency-plugin</artifactId>
  84. <version>2.3</version>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-surefire-plugin</artifactId>
  89. <version>2.19.1</version>
  90. <configuration>
  91. <argLine>
  92. -Xbootclasspath/p:${basedir}/target/classes
  93. </argLine>
  94. </configuration>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-jar-plugin</artifactId>
  99. <version>2.4</version>
  100. <configuration>
  101. <archive>
  102. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  103. <manifestEntries>
  104. <Extension-Name>javax.xml.bind</Extension-Name>
  105. <Implementation-Build-Id>${scmBranch}-${buildNumber}, ${timestamp}</Implementation-Build-Id>
  106. <Multi-Release>true</Multi-Release>
  107. </manifestEntries>
  108. <manifest>
  109. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  110. </manifest>
  111. </archive>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.codehaus.mojo</groupId>
  116. <artifactId>buildnumber-maven-plugin</artifactId>
  117. <version>1.1</version>
  118. <configuration>
  119. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  120. <timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</timestampFormat>
  121. <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
  122. <revisionOnScmFailure>false</revisionOnScmFailure>
  123. </configuration>
  124. </plugin>
  125. <plugin>
  126. <groupId>org.apache.felix</groupId>
  127. <artifactId>maven-bundle-plugin</artifactId>
  128. <extensions>true</extensions>
  129. <version>3.3.0</version>
  130. <configuration>
  131. <archive>
  132. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  133. </archive>
  134. <instructions>
  135. <Bundle-Version>${project.version}</Bundle-Version> <!-- 2.2.99.bnull -->
  136. <Extension-Name>${extension.name}</Extension-Name>
  137. <Implementation-Version>${spec.version}.${impl.version}</Implementation-Version>
  138. <Specification-Version>${project.version}</Specification-Version>
  139. <Export-Package>${extension.name}.*; version=${spec.version}</Export-Package>
  140. <Import-Package>
  141. javax.activation,
  142. javax.xml.bind;version="[${spec.version},3)",
  143. javax.xml.bind.annotation;version="[${spec.version},3)",
  144. javax.xml.bind.annotation.adapters;version="[${spec.version},3)",
  145. javax.xml.bind.attachment;version="[${spec.version},3)",
  146. javax.xml.bind.helpers;version="[${spec.version},3)",
  147. javax.xml.bind.util;version="[${spec.version},3)",
  148. javax.xml.datatype,
  149. javax.xml.namespace,
  150. javax.xml.parsers,
  151. javax.xml.stream,
  152. javax.xml.transform,
  153. javax.xml.transform.dom,
  154. javax.xml.transform.sax,
  155. javax.xml.transform.stream,
  156. javax.xml.validation,
  157. org.w3c.dom,
  158. org.xml.sax,
  159. org.xml.sax.ext,
  160. org.xml.sax.helpers
  161. </Import-Package>
  162. <Bundle-SymbolicName>jaxb-api</Bundle-SymbolicName>
  163. <DynamicImport-Package>org.glassfish.hk2.osgiresourcelocator</DynamicImport-Package>
  164. <Specification-Vendor>Oracle Corporation</Specification-Vendor>
  165. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  166. <Implementation-Vendor-Id>org.glassfish</Implementation-Vendor-Id>
  167. </instructions>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.codehaus.mojo</groupId>
  172. <artifactId>findbugs-maven-plugin</artifactId>
  173. <version>3.0.0</version>
  174. <configuration>
  175. <skip>${findbugs.skip}</skip>
  176. <threshold>${findbugs.threshold}</threshold>
  177. <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
  178. <excludeFilterFile>
  179. ${findbugs.exclude}
  180. </excludeFilterFile>
  181. <fork>true</fork>
  182. <jvmArgs>-Xms64m -Xmx256m</jvmArgs>
  183. </configuration>
  184. <dependencies>
  185. <dependency>
  186. <groupId>org.glassfish.findbugs</groupId>
  187. <artifactId>findbugs</artifactId>
  188. <version>1.0</version>
  189. </dependency>
  190. </dependencies>
  191. </plugin>
  192. <plugin>
  193. <groupId>org.apache.maven.plugins</groupId>
  194. <artifactId>maven-javadoc-plugin</artifactId>
  195. <version>3.0.0-M1</version>
  196. <configuration>
  197. <nodeprecated>false</nodeprecated>
  198. <use>false</use>
  199. <author>true</author>
  200. <version>true</version>
  201. <doctitle><![CDATA[<br>
  202. JAXB ${project.version} Runtime Library</h2>
  203. ${project.name} specification, ${release.spec.date}<br>
  204. Comments to: <i><a href='mailto:${release.spec.feedback}'>${release.spec.feedback}</a></i><br>
  205. More information at: <i><a target='_top'
  206. href='http://jaxb.java.net'>http://jaxb.java.net</a></i><br>
  207. &nbsp;<br>&nbsp;<br><hr width='65%'><h1>${project.name}</h1><hr width='75%'>
  208. <br>&nbsp;<br>]]>
  209. </doctitle>
  210. <header><![CDATA[JAXB<br>v${project.version}]]>
  211. </header>
  212. <bottom><![CDATA[<font size=-1>
  213. <br>Comments to: <a href='mailto:${release.spec.feedback}'><i>${release.spec.feedback}</i></a>
  214. <br>More information at: <a target='_top'
  215. href='http://jaxb.java.net'><i>http://jaxb.java.net</i></a>
  216. <p>Copyright &copy; 2004-2017 Oracle </font>]]>
  217. </bottom>
  218. <detectJavaApiLink>false</detectJavaApiLink>
  219. <offlineLinks>
  220. <offlineLink>
  221. <url>http://download.oracle.com/javase/8/docs/api/</url>
  222. <location>${basedir}/offline-javadoc</location>
  223. </offlineLink>
  224. </offlineLinks>
  225. <tags>
  226. <tag>
  227. <name>apiNote</name>
  228. <!-- todo tag for all places -->
  229. <placement>a</placement>
  230. <head>API Note:</head>
  231. </tag>
  232. <tag>
  233. <name>implSpec</name>
  234. <!-- todo tag for all places -->
  235. <placement>a</placement>
  236. <head>Implementation Requirements:</head>
  237. </tag>
  238. <tag>
  239. <name>implNote</name>
  240. <!-- todo tag for all places -->
  241. <placement>a</placement>
  242. <head>Implementation Note:</head>
  243. </tag>
  244. </tags>
  245. <!-- TODO to be removed before 2.3 release-->
  246. <additionalparam>-Xdoclint:none</additionalparam>
  247. </configuration>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-source-plugin</artifactId>
  252. <version>2.2.1</version>
  253. </plugin>
  254. <plugin>
  255. <groupId>org.apache.maven.plugins</groupId>
  256. <artifactId>maven-release-plugin</artifactId>
  257. <version>2.3.2</version>
  258. </plugin>
  259. <plugin>
  260. <groupId>org.apache.maven.plugins</groupId>
  261. <artifactId>maven-gpg-plugin</artifactId>
  262. <version>1.1</version>
  263. </plugin>
  264. </plugins>
  265. </pluginManagement>
  266. <plugins>
  267. <plugin>
  268. <groupId>org.apache.maven.plugins</groupId>
  269. <artifactId>maven-resources-plugin</artifactId>
  270. <executions>
  271. <execution>
  272. <phase>generate-sources</phase>
  273. <goals>
  274. <goal>copy-resources</goal>
  275. </goals>
  276. <configuration>
  277. <outputDirectory>${project.build.directory}/mr-jar/META-INF/versions/9</outputDirectory>
  278. <resources>
  279. <resource>
  280. <directory>${basedir}/src/main/mr-jar</directory>
  281. </resource>
  282. </resources>
  283. </configuration>
  284. </execution>
  285. </executions>
  286. </plugin>
  287. <plugin>
  288. <artifactId>maven-enforcer-plugin</artifactId>
  289. <executions>
  290. <execution>
  291. <id>enforce-versions</id>
  292. <goals>
  293. <goal>enforce</goal>
  294. </goals>
  295. </execution>
  296. </executions>
  297. </plugin>
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-dependency-plugin</artifactId>
  301. <executions>
  302. <execution>
  303. <id>initialize</id>
  304. <goals>
  305. <goal>properties</goal>
  306. </goals>
  307. </execution>
  308. </executions>
  309. </plugin>
  310. <plugin>
  311. <groupId>org.codehaus.mojo</groupId>
  312. <artifactId>buildnumber-maven-plugin</artifactId>
  313. <executions>
  314. <execution>
  315. <id>validate</id>
  316. <phase>validate</phase>
  317. <goals>
  318. <goal>create</goal>
  319. </goals>
  320. </execution>
  321. </executions>
  322. </plugin>
  323. <plugin>
  324. <groupId>org.apache.felix</groupId>
  325. <artifactId>maven-bundle-plugin</artifactId>
  326. <executions>
  327. <execution>
  328. <id>bundle-manifest</id>
  329. <phase>process-classes</phase>
  330. <goals>
  331. <goal>manifest</goal>
  332. </goals>
  333. </execution>
  334. </executions>
  335. </plugin>
  336. </plugins>
  337. </build>
  338. <profiles>
  339. <profile>
  340. <id>jdk9</id>
  341. <activation>
  342. <jdk>9</jdk>
  343. </activation>
  344. <build>
  345. <pluginManagement>
  346. <plugins>
  347. <plugin>
  348. <groupId>org.codehaus.mojo</groupId>
  349. <artifactId>build-helper-maven-plugin</artifactId>
  350. <version>1.12</version>
  351. </plugin>
  352. <plugin>
  353. <groupId>org.apache.maven.plugins</groupId>
  354. <artifactId>maven-compiler-plugin</artifactId>
  355. <executions>
  356. <execution>
  357. <id>default-compile</id>
  358. <configuration>
  359. <release>9</release>
  360. <source>9</source>
  361. <target>9</target>
  362. <includes>
  363. <include>module-info.java</include>
  364. </includes>
  365. </configuration>
  366. </execution>
  367. <execution>
  368. <id>base-compile</id>
  369. <goals>
  370. <goal>compile</goal>
  371. </goals>
  372. <configuration>
  373. <excludes>
  374. <exclude>module-info.java</exclude>
  375. </excludes>
  376. </configuration>
  377. </execution>
  378. </executions>
  379. </plugin>
  380. <plugin>
  381. <groupId>org.apache.felix</groupId>
  382. <artifactId>maven-bundle-plugin</artifactId>
  383. <configuration>
  384. <instructions>
  385. <_failok>true</_failok>
  386. </instructions>
  387. </configuration>
  388. </plugin>
  389. <plugin>
  390. <groupId>org.apache.maven.plugins</groupId>
  391. <artifactId>maven-javadoc-plugin</artifactId>
  392. <version>3.0.0-M1</version>
  393. <configuration>
  394. <includeDependencySources>false</includeDependencySources>
  395. </configuration>
  396. </plugin>
  397. </plugins>
  398. </pluginManagement>
  399. <plugins>
  400. <plugin>
  401. <groupId>org.codehaus.mojo</groupId>
  402. <artifactId>build-helper-maven-plugin</artifactId>
  403. <executions>
  404. <execution>
  405. <id>add-jdk9-source</id>
  406. <phase>generate-sources</phase>
  407. <goals>
  408. <goal>add-source</goal>
  409. </goals>
  410. <configuration>
  411. <sources>
  412. <source>src/main/jdk9</source>
  413. </sources>
  414. </configuration>
  415. </execution>
  416. </executions>
  417. </plugin>
  418. <plugin>
  419. <groupId>org.apache.maven.plugins</groupId>
  420. <artifactId>maven-antrun-plugin</artifactId>
  421. <executions>
  422. <execution>
  423. <id>compile-java9</id>
  424. <phase>compile</phase>
  425. <configuration>
  426. <tasks>
  427. <mkdir dir="${project.build.outputDirectory}/META-INF/versions/9" />
  428. <javac srcdir="${mrjar.sourceDirectory}" destdir="${project.build.outputDirectory}/META-INF/versions/9" classpath="${project.build.outputDirectory}" includeantruntime="false" />
  429. </tasks>
  430. </configuration>
  431. <goals>
  432. <goal>run</goal>
  433. </goals>
  434. </execution>
  435. <execution>
  436. <id>update-source-jar</id>
  437. <phase>verify</phase>
  438. <configuration>
  439. <tasks>
  440. <jar destfile="${project.build.directory}/jaxb-api-${project.version}-sources.jar" update="true">
  441. <fileset dir="${project.build.directory}/mr-jar/" />
  442. </jar>
  443. </tasks>
  444. </configuration>
  445. <goals>
  446. <goal>run</goal>
  447. </goals>
  448. </execution>
  449. </executions>
  450. <configuration>
  451. <skip>true</skip>
  452. </configuration>
  453. </plugin>
  454. </plugins>
  455. </build>
  456. </profile>
  457. <profile>
  458. <!-- lukas: FIX-ME in java.net:parent -->
  459. <id>jvnet-release</id>
  460. <build>
  461. <plugins>
  462. <plugin>
  463. <groupId>org.apache.maven.plugins</groupId>
  464. <artifactId>maven-javadoc-plugin</artifactId>
  465. <version>3.0.0-M1</version>
  466. </plugin>
  467. </plugins>
  468. </build>
  469. </profile>
  470. </profiles>
  471. </project>