META-INF.maven.org.glassfish.external.management-api.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v. 1.0, which is available at http://www.eclipse.org/org/documents/edl-v10.php. SPDX-License-Identifier: BSD-3-Clause --> <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.ee4j</groupId> <artifactId>project</artifactId> <version>1.0.6</version> </parent> <groupId>org.glassfish.external</groupId> <artifactId>management-api</artifactId> <version>3.2.3</version> <packaging>jar</packaging> <name>management-api</name> <description>Eclipse ORB</description> <url>https://github.com/eclipse-ee4j/orb-gmbal-commons</url> <licenses> <license> <name>EDL 1.0</name> <url>http://www.eclipse.org/org/documents/edl-v10.php</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>scm:git:ssh://[email protected]/eclipse/orb-gmbal-commons.git</connection> <developerConnection>scm:git:ssh://[email protected]/eclipse/orb-gmbal-commons.git</developerConnection> <url>https://github.com/eclipse-ee4j/orb-gmbal-commons</url> <tag>HEAD</tag> </scm> <issueManagement> <system>github</system> <url>https://github.com/eclipse-ee4j/orb-gmbal-commons/issues/</url> </issueManagement> <distributionManagement> <site> <id>github</id> <url>scm:git:https://github.com/eclipse-ee4j/orb-gmbal-commons.git</url> </site> </distributionManagement> <properties> <base.jdk.version>8</base.jdk.version> <upper.jdk.version>9</upper.jdk.version> <legal.doc.source>${maven.multiModuleProjectDirectory}</legal.doc.source> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M4</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.1.1</version> <configuration> <release>${base.jdk.version}</release> <sourceFileExcludes> <sourceFileExclude>module-info.java</sourceFileExclude> </sourceFileExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <version>3.0.0</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <release>${upper.jdk.version}</release> <compilerArgs> <arg>-Xlint:all</arg> </compilerArgs> </configuration> <executions> <execution> <id>base-compile</id> <goals> <goal>compile</goal> </goals> <configuration> <release>${base.jdk.version}</release> <excludes> <exclude>module-info.java</exclude> </excludes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>4.2.1</version> <extensions>true</extensions> <configuration> <instructions> <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> <Bundle-Name>${project.name}</Bundle-Name> <Bundle-Version>${project.version}</Bundle-Version> <Export-Package> org.glassfish.external.* </Export-Package> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.1.2</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>add-legal-resource</id> <phase>generate-resources</phase> <goals> <goal>add-resource</goal> </goals> <configuration> <resources> <resource> <directory>${legal.doc.source}</directory> <includes> <include>NOTICE.md</include> <include>LICENSE.md</include> </includes> <targetPath>META-INF</targetPath> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- prevent the site plugin from deploying to the scm url --> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.8.2</version> <executions> <execution> <id>stage-for-scm-publish</id> <phase>post-site</phase> <goals> <goal>stage</goal> </goals> </execution> <execution> <id>default-deploy</id> <phase>none</phase> </execution> </executions> </plugin> <!-- use the scm publish plugin to deploy to GitHub --> <plugin> <artifactId>maven-scm-publish-plugin</artifactId> <version>1.1</version> <configuration> <scmBranch>gh-pages</scmBranch> <pubScmUrl>scm:git:https://github.com/eclipse-ee4j/orb-gmbal-commons.git</pubScmUrl> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.1.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M2</version> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> <id>aggregate-project-info</id> <inherited>false</inherited> <reports> <report>index</report> <report>licenses</report> <report>issue-management</report> <report>dependency-info</report> <report>scm</report> <report>distribution-management</report> <report>team</report> <report>summary</report> </reports> </reportSet> </reportSets> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <reportSets> <reportSet> <id>javadoc-only</id> <reports> <report>javadoc</report> </reports> </reportSet> </reportSets> </plugin> </plugins> </reporting> </project>