| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2012, 2024 Oracle and/or its affiliates. All rights reserved. | |
| 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 https://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.9</version> | |
| <relativePath/> | |
| </parent> | |
| <groupId>jakarta.annotation</groupId> | |
| <artifactId>jakarta.annotation-api</artifactId> | |
| <version>3.0.1-SNAPSHOT</version> | |
| <name>Jakarta Annotations API</name> | |
| <description>Jakarta Annotations API</description> | |
| <url>https://projects.eclipse.org/projects/ee4j.ca</url> | |
| <inceptionYear>2004</inceptionYear> | |
| <developers> | |
| <developer> | |
| <name>Linda De Michiel</name> | |
| <organization>Oracle Corp.</organization> | |
| </developer> | |
| <developer> | |
| <name>Dmitry Kornilov</name> | |
| <organization>Oracle Corp.</organization> | |
| </developer> | |
| </developers> | |
| <licenses> | |
| <license> | |
| <name>EPL 2.0</name> | |
| <url>https://www.eclipse.org/legal/epl-2.0</url> | |
| <distribution>repo</distribution> | |
| </license> | |
| <license> | |
| <name>GPL2 w/ CPE</name> | |
| <url>https://www.gnu.org/software/classpath/license.html</url> | |
| <distribution>repo</distribution> | |
| </license> | |
| </licenses> | |
| <scm> | |
| <connection>scm:git:https://github.com/jakartaee/common-annotations-api.git</connection> | |
| <developerConnection>scm:git:git@github.com:jakartaee/common-annotations-api.git</developerConnection> | |
| <url>https://github.com/jakartaee/common-annotations-api</url> | |
| <tag>HEAD</tag> | |
| </scm> | |
| <issueManagement> | |
| <system>github</system> | |
| <url>https://github.com/jakartaee/common-annotations-api/issues</url> | |
| </issueManagement> | |
| <mailingLists> | |
| <mailingList> | |
| <name>Jakarta Annotations mailing list</name> | |
| <post>ca-dev@eclipse.org</post> | |
| <subscribe>https://dev.eclipse.org/mailman/listinfo/ca-dev</subscribe> | |
| <unsubscribe>https://dev.eclipse.org/mailman/listinfo/ca-dev</unsubscribe> | |
| <archive>https://dev.eclipse.org/mhonarc/lists/ca-dev</archive> | |
| </mailingList> | |
| </mailingLists> | |
| <properties> | |
| <copyright.ignoreyear>false</copyright.ignoreyear> | |
| <copyright.scmonly>true</copyright.scmonly> | |
| <copyright.update>false</copyright.update> | |
| <spotbugs.skip>false</spotbugs.skip> | |
| <spotbugs.threshold>Low</spotbugs.threshold> | |
| <spotbugs.version>4.8.3.1</spotbugs.version> | |
| <non.final>false</non.final> | |
| <spec.version>3.0</spec.version> | |
| <extension.name>jakarta.annotation</extension.name> | |
| <vendor.name>Eclipse Foundation</vendor.name> | |
| <implementation.vendor.id>org.glassfish</implementation.vendor.id> | |
| <maven.compiler.release>11</maven.compiler.release> | |
| <project.build.outputTimestamp>2023-10-28T00:00:00Z</project.build.outputTimestamp> | |
| </properties> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <version>3.5.0</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>3.12.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.copyright</groupId> | |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> | |
| <version>2.4</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.build</groupId> | |
| <artifactId>spec-version-maven-plugin</artifactId> | |
| <version>2.2</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <version>5.1.9</version> | |
| <configuration> | |
| <instructions> | |
| <_noextraheaders>true</_noextraheaders> | |
| </instructions> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-jar-plugin</artifactId> | |
| <version>3.3.0</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <!-- 3.3.0 has issues on Eclipse CI/infra --> | |
| <version>3.2.1</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>3.6.3</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.github.spotbugs</groupId> | |
| <artifactId>spotbugs-maven-plugin</artifactId> | |
| <version>${spotbugs.version}</version> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <version>3.4.1</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-enforcer-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>enforce-maven</id> | |
| <goals> | |
| <goal>enforce</goal> | |
| </goals> | |
| <configuration> | |
| <rules> | |
| <requireJavaVersion> | |
| <version>[11,)</version> | |
| </requireJavaVersion> | |
| <requireMavenVersion> | |
| <version>[3.6.0,)</version> | |
| </requireMavenVersion> | |
| </rules> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.copyright</groupId> | |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> | |
| <configuration> | |
| <!-- skip files not under SCM--> | |
| <scmOnly>${copyright.scmonly}</scmOnly> | |
| <!-- for use with repair --> | |
| <update>${copyright.update}</update> | |
| <!-- check that year is correct --> | |
| <ignoreYear>${copyright.ignoreyear}</ignoreYear> | |
| <quiet>false</quiet> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>build-helper-maven-plugin</artifactId> | |
| <executions> | |
| <execution> | |
| <id>add-resource</id> | |
| <phase>generate-resources</phase> | |
| <goals> | |
| <goal>add-resource</goal> | |
| </goals> | |
| <configuration> | |
| <resources> | |
| <resource> | |
| <directory>${basedir}/..</directory> | |
| <targetPath>META-INF</targetPath> | |
| <includes> | |
| <include>LICENSE.md</include> | |
| <include>NOTICE.md</include> | |
| </includes> | |
| </resource> | |
| </resources> | |
| </configuration> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <compilerArgs> | |
| <arg>-Xlint:all</arg> | |
| </compilerArgs> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.glassfish.build</groupId> | |
| <artifactId>spec-version-maven-plugin</artifactId> | |
| <configuration> | |
| <specMode>jakarta</specMode> | |
| <spec> | |
| <nonFinal>${non.final}</nonFinal> | |
| <jarType>api</jarType> | |
| <specBuild>${spec.build}</specBuild> | |
| <specVersion>${spec.version}</specVersion> | |
| <newSpecVersion>${new.spec.version}</newSpecVersion> | |
| <specImplVersion>${project.version}</specImplVersion> | |
| <apiPackage>${extension.name}</apiPackage> | |
| </spec> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <goals> | |
| <goal>set-spec-properties</goal> | |
| <!-- TODO: | |
| glassfish-spec-version-maven-plugin needs to be updated | |
| in order to check 'jakarta.' prefixed values in manifest entries | |
| --> | |
| <!--<goal>check-module</goal>--> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.felix</groupId> | |
| <artifactId>maven-bundle-plugin</artifactId> | |
| <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>${project.name}</Bundle-Description> | |
| <Specification-Vendor>${vendor.name}</Specification-Vendor> | |
| <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> | |
| <Implementation-Vendor-Id>${implementation.vendor.id}</Implementation-Vendor-Id> | |
| </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> | |
| <configuration> | |
| <archive> | |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> | |
| </archive> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <configuration> | |
| <archive> | |
| <manifest> | |
| <addDefaultEntries>false</addDefaultEntries> | |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> | |
| </manifest> | |
| <manifestEntries> | |
| <Implementation-Build-Id>${buildNumber}</Implementation-Build-Id> | |
| </manifestEntries> | |
| </archive> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <configuration> | |
| <archive> | |
| <manifest> | |
| <addDefaultEntries>false</addDefaultEntries> | |
| </manifest> | |
| </archive> | |
| <additionalOptions>--add-modules java.sql</additionalOptions> | |
| <notimestamp>true</notimestamp> | |
| <nosince>true</nosince> | |
| <docfilessubdirs>true</docfilessubdirs> | |
| <doctitle>Jakarta Annotations ${project.version} API Specification</doctitle> | |
| <header><![CDATA[<br>Jakarta Annotations API v${project.version}]]></header> | |
| <bottom><![CDATA[ | |
| Copyright © 2019, 2024 Eclipse Foundation. All rights reserved.<br> | |
| Use is subject to <a href="{@docRoot}/doc-files/EFSL.html" target="_top">license terms</a>.]]> | |
| </bottom> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.github.spotbugs</groupId> | |
| <artifactId>spotbugs-maven-plugin</artifactId> | |
| <configuration> | |
| <skip>${spotbugs.skip}</skip> | |
| <threshold>${spotbugs.threshold}</threshold> | |
| <fork>true</fork> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |