Advertisement
belindajankowski

Plug-in

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