| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2021 Contributors to the Eclipse Foundation. 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.glassfish.main.tests</groupId> |
| <artifactId>embedded_ejb_smoke</artifactId> |
| <version>6.2.2-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>glassfish-javatest-install</artifactId> |
| |
| <name>GlassFish JavaTest install</name> |
| <description> |
| This module installs into Maven the javatest and tsharness libs. As of now these aren't available in a |
| public maven repository. This can be removed if/when they are. |
| </description> |
| |
| <properties> |
| <tck.tests.url>https://download.eclipse.org/ee4j/jakartaee-tck/jakartaee9-eftl/promoted/jakarta-authorization-tck-2.0.1.zip</tck.tests.url> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.googlecode.maven-download-plugin</groupId> |
| <artifactId>download-maven-plugin</artifactId> |
| <version>1.6.6</version> |
| <executions> |
| <execution> |
| <id>install-javatest</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <url>${tck.tests.url}</url> |
| <unpack>true</unpack> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.5.2</version> |
| <executions> |
| <execution> |
| <id>javatest</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>install-file</goal> |
| </goals> |
| <configuration> |
| <file>${project.build.directory}/authorization-tck/lib/javatest.jar</file> |
| <groupId>com.sun</groupId> |
| <artifactId>javatest</artifactId> |
| <version>5.0</version> |
| <packaging>jar</packaging> |
| </configuration> |
| </execution> |
| |
| <execution> |
| <id>tsharness</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>install-file</goal> |
| </goals> |
| <configuration> |
| <file>${project.build.directory}/authorization-tck/lib/tsharness.jar</file> |
| <groupId>com.sun</groupId> |
| <artifactId>tsharness</artifactId> |
| <version>1.4</version> |
| <packaging>jar</packaging> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |