| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 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 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.9</version> |
| </parent> |
| |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>jakarta.annotation-tck-impl</artifactId> |
| <version>3.0.0</version> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <glassfish.container.version>8.0.0-M1</glassfish.container.version> |
| <glassfish.toplevel.dir>glassfish7</glassfish.toplevel.dir> |
| <junit.jupiter.version>5.10.2</junit.jupiter.version> |
| <tck.artifactId>jakarta-annotations-tck</tck.artifactId> |
| <tck.version>3.0.0</tck.version> |
| <jimage.dir>${project.build.directory}/jdk-bundle</jimage.dir> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.junit</groupId> |
| <artifactId>junit-bom</artifactId> |
| <version>${junit.jupiter.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.tck</groupId> |
| <artifactId>sigtest-maven-plugin</artifactId> |
| <version>2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>${tck.artifactId}</artifactId> |
| <version>${tck.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>${tck.artifactId}</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.tck</groupId> |
| <artifactId>sigtest-maven-plugin</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>3.3.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>3.2.5</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack</id> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <phase>generate-resources</phase> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>jakarta.annotation</groupId> |
| <artifactId>${tck.artifactId}</artifactId> |
| <version>${tck.version}</version> |
| <type>zip</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| <execution> |
| <id>unpack-server</id> |
| <goals> |
| <goal>unpack</goal> |
| </goals> |
| <phase>pre-integration-test</phase> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.glassfish.main.distributions</groupId> |
| <artifactId>${glassfish-artifact-id}</artifactId> |
| <version>${glassfish.container.version}</version> |
| <type>zip</type> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sig-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <dependenciesToScan>jakarta.annotation:${tck.artifactId}</dependenciesToScan> |
| <systemPropertyVariables> |
| <jimage.dir>${jimage.dir}</jimage.dir> |
| <sigTestClasspath>${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.annotation-api.jar:${jimage.dir}/java.base:${jimage.dir}/java.rmi:${jimage.dir}/java.sql:${jimage.dir}/java.naming</sigTestClasspath> |
| <ca.sig.generated>true</ca.sig.generated> |
| <ca.sig.postconstruct>true</ca.sig.postconstruct> |
| <ca.sig.priority>true</ca.sig.priority> |
| <ca.sig.predestroy>true</ca.sig.predestroy> |
| <ca.sig.resource>true</ca.sig.resource> |
| <ca.sig.resources>true</ca.sig.resources> |
| <ca.sig.securitydeclareroles>true</ca.sig.securitydeclareroles> |
| <ca.sig.securitydenyall>true</ca.sig.securitydenyall> |
| <ca.sig.securitypermitall>true</ca.sig.securitypermitall> |
| <ca.sig.securityrolesallowed>true</ca.sig.securityrolesallowed> |
| <ca.sig.securityrunas>true</ca.sig.securityrunas> |
| <ca.sig.sqldatasourcedefinition>true</ca.sig.sqldatasourcedefinition> |
| <ca.sig.sqldatasourcedefinitions>true</ca.sig.sqldatasourcedefinitions> |
| </systemPropertyVariables> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>full</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <properties> |
| <glassfish-artifact-id>glassfish</glassfish-artifact-id> |
| </properties> |
| </profile> |
| <profile> |
| <id>web</id> |
| <properties> |
| <glassfish-artifact-id>web</glassfish-artifact-id> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |