META-INF.maven.jakarta.jms.jakarta.jms-api.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved. Copyright 2021 Contributors to the Eclipse Foundation This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 --> <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"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.ee4j</groupId> <artifactId>project</artifactId> <version>1.0.7</version> </parent> <groupId>jakarta.jms</groupId> <artifactId>jakarta.jms-api</artifactId> <version>3.1.0</version> <name>Jakarta Messaging API</name> <description> Jakarta Messaging describes a means for Java applications to create, send, and receive messages via loosely coupled, reliable asynchronous communication services. </description> <url>https://projects.eclipse.org/projects/ee4j.jms</url> <licenses> <license> <name>Eclipse Public License 2.0</name> <url>https://projects.eclipse.org/license/epl-2.0</url> <distribution>repo</distribution> </license> <license> <name>GNU General Public License, version 2 with the GNU Classpath Exception</name> <url>https://projects.eclipse.org/license/secondary-gpl-2.0-cp</url> <distribution>repo</distribution> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.release>11</maven.compiler.release> <!-- Version of the specification in the generated documents. Should be x.y for final version, not x.y.z --> <spec.version>3.1</spec.version> </properties> <dependencies> <!-- Optional for jakarta.annotation.Resource javadoc refs --> <dependency> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> <version>2.1.0-B1</version> <scope>provided</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>${project.basedir}/..</directory> <includes> <include>LICENSE.md</include> <include>NOTICE.md</include> </includes> <targetPath>META-INF</targetPath> </resource> <resource> <directory>${project.basedir}</directory> <includes> <include>LICENSE.md</include> <include>NOTICE.md</include> </includes> <targetPath>META-INF</targetPath> </resource> </resources> <plugins> <!-- Use the JDK 11+ compiler --> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <!-- This is the common/default-compile execution configuration --> <configuration> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> </configuration> </plugin> <!-- First sets properties for the maven-bundle-plugin and later checks if they are indeed used. --> <plugin> <groupId>org.glassfish.build</groupId> <artifactId>spec-version-maven-plugin</artifactId> <version>2.1</version> <configuration> <spec> <specVersion>${spec.version}</specVersion> <specImplVersion>${project.version}</specImplVersion> <apiPackage>jakarta.jms</apiPackage> </spec> </configuration> <executions> <execution> <goals> <goal>set-spec-properties</goal> <goal>check-module</goal> </goals> </execution> </executions> </plugin> <!-- Creates the OSGi MANIFEST.MF file --> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>5.1.4</version> <configuration> <instructions> <Bundle-Version>${spec.bundle.version}</Bundle-Version> <Bundle-SymbolicName>${spec.bundle.symbolic-name}</Bundle-SymbolicName> <Extension-Name>${spec.extension.name}</Extension-Name> <Implementation-Version>${spec.implementation.version}</Implementation-Version> <Specification-Version>${spec.specification.version}</Specification-Version> <Bundle-Description> Jakarta Messaging ${spec.specification.version} Specification </Bundle-Description> <Implementation-Vendor-Id>org.eclipse.ee4j.jms</Implementation-Vendor-Id> <Specification-Vendor>Eclipse Foundation</Specification-Vendor> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <!-- Adds the manifest file created by the org.apache.felix:maven-bundle-plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.2.0</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <!-- Creates the source jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.1</version> <configuration> <includePom>true</includePom> </configuration> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Create Javadoc for API jar --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.3.1</version> <configuration> <additionalJOption>-Xdoclint:none</additionalJOption> <description>Jakarta Messaging API documentation</description> <doctitle>Jakarta Messaging API documentation</doctitle> <windowtitle>Jakarta Messaging API documentation</windowtitle> <header><![CDATA[<br>Jakarta Messaging API v${project.version}]]></header> <bottom><![CDATA[ Comments to: <a href="mailto:[email protected]">[email protected]</a>.<br> Copyright © 2018, 2022 Eclipse Foundation. All rights reserved.<br> Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]> </bottom> <docfilessubdirs>true</docfilessubdirs> <groups> <group> <title>Jakarta Messaging API Documentation</title> <packages> jakarta.jms </packages> </group> </groups> </configuration> <executions> <execution> <id>attach-api-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>