jakarta.activation-api-1.2.2.pom 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!--
  3. Copyright (c) 1997, 2019 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. <!--
  10. This project builds the Activation API jar file, which contains only
  11. the javax.activation.* API definitions and is *only* intended to be used
  12. for programs to compile against. Note that it includes none of the
  13. implementation-specific classes that the javax.activation.* classes rely on.
  14. -->
  15. <project xmlns="http://maven.apache.org/POM/4.0.0"
  16. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  17. http://maven.apache.org/maven-v4_0_0.xsd">
  18. <parent>
  19. <groupId>com.sun.activation</groupId>
  20. <artifactId>all</artifactId>
  21. <version>1.2.2</version>
  22. </parent>
  23. <modelVersion>4.0.0</modelVersion>
  24. <groupId>jakarta.activation</groupId>
  25. <artifactId>jakarta.activation-api</artifactId>
  26. <packaging>jar</packaging>
  27. <name>Jakarta Activation API jar</name>
  28. <properties>
  29. <activation.extensionName>
  30. jakarta.activation
  31. </activation.extensionName>
  32. <activation.moduleName>
  33. jakarta.activation
  34. </activation.moduleName>
  35. <activation.packages.export>
  36. javax.activation.*; version=${activation.spec.version},
  37. !com.sun.*
  38. </activation.packages.export>
  39. <activation.packages.import>
  40. !com.sun.*
  41. </activation.packages.import>
  42. <activation.bundle.symbolicName>
  43. jakarta.activation-api
  44. </activation.bundle.symbolicName>
  45. </properties>
  46. <build>
  47. <plugins>
  48. <plugin>
  49. <artifactId>maven-dependency-plugin</artifactId>
  50. <executions>
  51. <execution>
  52. <!-- download the binaries -->
  53. <id>get-binaries</id>
  54. <phase>process-sources</phase>
  55. <goals>
  56. <goal>unpack</goal>
  57. </goals>
  58. </execution>
  59. <execution>
  60. <!-- download the sources -->
  61. <id>get-sources</id>
  62. <phase>process-sources</phase>
  63. <goals>
  64. <goal>unpack</goal>
  65. </goals>
  66. <configuration>
  67. <artifactItems>
  68. <artifactItem>
  69. <groupId>com.sun.activation</groupId>
  70. <artifactId>jakarta.activation</artifactId>
  71. <version>${project.version}</version>
  72. <classifier>sources</classifier>
  73. <outputDirectory>
  74. ${project.build.directory}/sources
  75. </outputDirectory>
  76. </artifactItem>
  77. </artifactItems>
  78. </configuration>
  79. </execution>
  80. </executions>
  81. <configuration>
  82. <artifactItems>
  83. <artifactItem>
  84. <groupId>com.sun.activation</groupId>
  85. <artifactId>jakarta.activation</artifactId>
  86. <version>${project.version}</version>
  87. </artifactItem>
  88. </artifactItems>
  89. <outputDirectory>
  90. ${project.build.outputDirectory}
  91. </outputDirectory>
  92. <!--
  93. Include all the implementation source files so that
  94. javadoc run as part of "deploy" will find all the
  95. required classes.
  96. Don't include the metadata files from the original
  97. jar file.
  98. -->
  99. <excludes>
  100. META-INF/**
  101. </excludes>
  102. </configuration>
  103. </plugin>
  104. <!--
  105. Skip compiling since the dependency plugin pulled in
  106. the sources and class files.
  107. -->
  108. <plugin>
  109. <artifactId>maven-compiler-plugin</artifactId>
  110. <executions>
  111. <execution>
  112. <id>default-compile</id>
  113. <configuration>
  114. <skipMain>true</skipMain>
  115. </configuration>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. <!--
  120. Don't include the implementation classes in the jar files.
  121. -->
  122. <plugin>
  123. <artifactId>maven-jar-plugin</artifactId>
  124. <configuration>
  125. <finalName>${project.artifactId}</finalName>
  126. <excludes>
  127. <exclude>com/**</exclude>
  128. </excludes>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <artifactId>maven-source-plugin</artifactId>
  133. <configuration>
  134. <excludes>
  135. <exclude>com/**</exclude>
  136. </excludes>
  137. </configuration>
  138. </plugin>
  139. </plugins>
  140. </build>
  141. </project>