javax.activation-api-1.2.0.pom 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!--
  3. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  4. Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved.
  5. The contents of this file are subject to the terms of either the GNU
  6. General Public License Version 2 only ("GPL") or the Common Development
  7. and Distribution License("CDDL") (collectively, the "License"). You
  8. may not use this file except in compliance with the License. You can
  9. obtain a copy of the License at
  10. https://oss.oracle.com/licenses/CDDL+GPL-1.1
  11. or LICENSE.txt. See the License for the specific
  12. language governing permissions and limitations under the License.
  13. When distributing the software, include this License Header Notice in each
  14. file and include the License file at LICENSE.txt.
  15. GPL Classpath Exception:
  16. Oracle designates this particular file as subject to the "Classpath"
  17. exception as provided by Oracle in the GPL Version 2 section of the License
  18. file that accompanied this code.
  19. Modifications:
  20. If applicable, add the following below the License Header, with the fields
  21. enclosed by brackets [] replaced by your own identifying information:
  22. "Portions Copyright [year] [name of copyright owner]"
  23. Contributor(s):
  24. If you wish your version of this file to be governed by only the CDDL or
  25. only the GPL Version 2, indicate your decision by adding "[Contributor]
  26. elects to include this software in this distribution under the [CDDL or GPL
  27. Version 2] license." If you don't indicate a single choice of license, a
  28. recipient has the option to distribute your version of this file under
  29. either the CDDL, the GPL Version 2 or to extend the choice of license to
  30. its licensees as provided above. However, if you add GPL Version 2 code
  31. and therefore, elected the GPL Version 2 license, then the option applies
  32. only if the new code is made subject to such option by the copyright
  33. holder.
  34. -->
  35. <!--
  36. This project builds the JAF API jar file, which contains only
  37. the javax.activation.* API definitions and is *only* intended to be used
  38. for programs to compile against. Note that it includes none of the
  39. implementation-specific classes that the javax.activation.* classes rely on.
  40. -->
  41. <project xmlns="http://maven.apache.org/POM/4.0.0"
  42. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  43. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  44. http://maven.apache.org/maven-v4_0_0.xsd">
  45. <parent>
  46. <groupId>com.sun.activation</groupId>
  47. <artifactId>all</artifactId>
  48. <version>1.2.0</version>
  49. </parent>
  50. <modelVersion>4.0.0</modelVersion>
  51. <groupId>javax.activation</groupId>
  52. <artifactId>javax.activation-api</artifactId>
  53. <packaging>jar</packaging>
  54. <name>JavaBeans Activation Framework API jar</name>
  55. <properties>
  56. <activation.extensionName>
  57. javax.activation
  58. </activation.extensionName>
  59. <activation.moduleName>
  60. java.activation
  61. </activation.moduleName>
  62. <activation.packages.export>
  63. javax.activation.*; version=${activation.spec.version}
  64. </activation.packages.export>
  65. <activation.bundle.symbolicName>
  66. javax.activation-api
  67. </activation.bundle.symbolicName>
  68. </properties>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <artifactId>maven-dependency-plugin</artifactId>
  73. <executions>
  74. <execution>
  75. <!-- download the binaries -->
  76. <id>get-binaries</id>
  77. <phase>process-sources</phase>
  78. <goals>
  79. <goal>unpack</goal>
  80. </goals>
  81. </execution>
  82. <execution>
  83. <!-- download the sources -->
  84. <id>get-sources</id>
  85. <phase>process-sources</phase>
  86. <goals>
  87. <goal>unpack</goal>
  88. </goals>
  89. <configuration>
  90. <artifactItems>
  91. <artifactItem>
  92. <groupId>com.sun.activation</groupId>
  93. <artifactId>javax.activation</artifactId>
  94. <version>${project.version}</version>
  95. <classifier>sources</classifier>
  96. <outputDirectory>
  97. ${project.build.directory}/sources
  98. </outputDirectory>
  99. </artifactItem>
  100. </artifactItems>
  101. </configuration>
  102. </execution>
  103. </executions>
  104. <configuration>
  105. <artifactItems>
  106. <artifactItem>
  107. <groupId>com.sun.activation</groupId>
  108. <artifactId>javax.activation</artifactId>
  109. <version>${project.version}</version>
  110. </artifactItem>
  111. </artifactItems>
  112. <outputDirectory>
  113. ${project.build.outputDirectory}
  114. </outputDirectory>
  115. <includes>
  116. javax/**,
  117. META-INF/LICENSE.txt
  118. </includes>
  119. </configuration>
  120. </plugin>
  121. <plugin>
  122. <artifactId>maven-jar-plugin</artifactId>
  123. <configuration>
  124. <finalName>${project.artifactId}</finalName>
  125. <archive>
  126. <manifestFile>
  127. ${project.build.outputDirectory}/META-INF/MANIFEST.MF
  128. </manifestFile>
  129. </archive>
  130. </configuration>
  131. </plugin>
  132. </plugins>
  133. </build>
  134. </project>