jakarta.activation-api-1.2.1.pom 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!--
  3. Copyright (c) 1997, 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. <!--
  10. This project builds the JAF 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.1</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>JavaBeans Activation Framework 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. </activation.packages.export>
  38. <activation.bundle.symbolicName>
  39. jakarta.activation-api
  40. </activation.bundle.symbolicName>
  41. </properties>
  42. <build>
  43. <plugins>
  44. <plugin>
  45. <artifactId>maven-dependency-plugin</artifactId>
  46. <executions>
  47. <execution>
  48. <!-- download the binaries -->
  49. <id>get-binaries</id>
  50. <phase>process-sources</phase>
  51. <goals>
  52. <goal>unpack</goal>
  53. </goals>
  54. </execution>
  55. <execution>
  56. <!-- download the sources -->
  57. <id>get-sources</id>
  58. <phase>process-sources</phase>
  59. <goals>
  60. <goal>unpack</goal>
  61. </goals>
  62. <configuration>
  63. <artifactItems>
  64. <artifactItem>
  65. <groupId>com.sun.activation</groupId>
  66. <artifactId>jakarta.activation</artifactId>
  67. <version>${project.version}</version>
  68. <classifier>sources</classifier>
  69. <outputDirectory>
  70. ${project.build.directory}/sources
  71. </outputDirectory>
  72. </artifactItem>
  73. </artifactItems>
  74. </configuration>
  75. </execution>
  76. </executions>
  77. <configuration>
  78. <artifactItems>
  79. <artifactItem>
  80. <groupId>com.sun.activation</groupId>
  81. <artifactId>jakarta.activation</artifactId>
  82. <version>${project.version}</version>
  83. </artifactItem>
  84. </artifactItems>
  85. <outputDirectory>
  86. ${project.build.outputDirectory}
  87. </outputDirectory>
  88. <includes>
  89. javax/**,
  90. META-INF/LICENSE.txt
  91. </includes>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <artifactId>maven-jar-plugin</artifactId>
  96. <configuration>
  97. <finalName>${project.artifactId}</finalName>
  98. <archive>
  99. <manifestFile>
  100. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  101. </manifestFile>
  102. </archive>
  103. </configuration>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>