| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2015, 2023 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/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <parent> | |
| <groupId>org.glassfish.jersey.test-framework.maven</groupId> | |
| <artifactId>project</artifactId> | |
| <version>3.1.99-SNAPSHOT</version> | |
| </parent> | |
| <artifactId>container-runner-maven-plugin</artifactId> | |
| <packaging>maven-plugin</packaging> | |
| <name>jersey-test-framework-maven-container-runner-plugin</name> | |
| <description> | |
| The container runner maven plugin provides means to start and stop a container (currently, Weblogic, Tomcat and Glassfish4 | |
| are supported). To deploy an application to this container or to repetitively redeploy and test an application in the container. | |
| </description> | |
| <properties> | |
| <groovy.version>3.0.17</groovy.version> | |
| <groovy-eclipse-compiler.version>3.7.0</groovy-eclipse-compiler.version> | |
| <groovy-eclipse-batch.version>3.0.8-01</groovy-eclipse-batch.version> | |
| <maven.version>3.9.2</maven.version> | |
| <maven-plugin.version>3.9.0</maven-plugin.version> | |
| </properties> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-core</artifactId> | |
| <version>${maven.version}</version> | |
| <scope>provided</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-component-annotations</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-utils</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-container-default</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.sonatype.plexus</groupId> | |
| <artifactId>plexus-sec-dispatcher</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>com.google.code.findbugs</groupId> | |
| <artifactId>jsr305</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-model</artifactId> | |
| <version>${maven.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-plugin-api</artifactId> | |
| <version>${maven.version}</version> | |
| <scope>provided</scope> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-utils</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-compat</artifactId> | |
| <version>${maven.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-artifact</artifactId> | |
| <version>${maven.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <!-- dependencies to annotations --> | |
| <dependency> | |
| <groupId>org.apache.maven.plugin-tools</groupId> | |
| <artifactId>maven-plugin-annotations</artifactId> | |
| <version>${maven-plugin.version}</version> | |
| <scope>provided</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.apache.maven.plugin-testing</groupId> | |
| <artifactId>maven-plugin-testing-harness</artifactId> | |
| <version>3.3.0</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.codehaus.gmavenplus</groupId> | |
| <artifactId>gmavenplus-plugin</artifactId> | |
| <version>${org.codehaus.gmavenplus.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.maven.shared</groupId> | |
| <artifactId>file-management</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-model</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-core</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-plugin-api</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.maven</groupId> | |
| <artifactId>maven-artifact</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-utils</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.codehaus.plexus</groupId> | |
| <artifactId>plexus-archiver</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>${junit4.version}</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| <version>${slf4j.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.codehaus.groovy</groupId> | |
| <artifactId>groovy-all</artifactId> | |
| <type>pom</type> | |
| <version>${groovy.version}</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>org.apache.ant</groupId> | |
| <artifactId>ant-launcher</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.apache.ant</groupId> | |
| <artifactId>ant</artifactId> | |
| </exclusion> | |
| <exclusion> | |
| <groupId>org.slf4j</groupId> | |
| <artifactId>slf4j-api</artifactId> | |
| </exclusion> | |
| </exclusions> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.guava</groupId> | |
| <artifactId>guava</artifactId> | |
| <version>${guava.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.glassfish.jersey.core</groupId> | |
| <artifactId>jersey-client</artifactId> | |
| <version>${project.version}</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <testResources> | |
| <testResource> | |
| <directory>src/test/resources</directory> | |
| <filtering>true</filtering> | |
| <includes> | |
| <include>*.xml</include> | |
| </includes> | |
| </testResource> | |
| <testResource> | |
| <directory>src/test/resources</directory> | |
| <filtering>false</filtering> | |
| <excludes> | |
| <exclude>*.xml</exclude> | |
| </excludes> | |
| </testResource> | |
| </testResources> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.codehaus.groovy</groupId> | |
| <artifactId>groovy-eclipse-compiler</artifactId> | |
| <version>${groovy-eclipse-compiler.version}</version> | |
| <extensions>true</extensions> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <compilerId>groovy-eclipse-compiler</compilerId> | |
| </configuration> | |
| <dependencies> | |
| <dependency> | |
| <groupId>org.codehaus.groovy</groupId> | |
| <artifactId>groovy-eclipse-compiler</artifactId> | |
| <version>${groovy-eclipse-compiler.version}</version> | |
| </dependency> | |
| <!-- for 2.8.0-01 and later you must have an explicit dependency on groovy-eclipse-batch --> | |
| <dependency> | |
| <groupId>org.codehaus.groovy</groupId> | |
| <artifactId>groovy-eclipse-batch</artifactId> | |
| <version>${groovy-eclipse-batch.version}</version> | |
| </dependency> | |
| </dependencies> | |
| </plugin> | |
| </plugins> | |
| <pluginManagement> | |
| <plugins> | |
| <!-- required by Maven 3.2.1 and older (see https://issues.apache.org/jira/browse/MNG-5346) --> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-plugin-plugin</artifactId> | |
| <version>${maven-plugin.version}</version> | |
| <configuration> | |
| <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <id>default-descriptor</id> | |
| <phase>process-classes</phase> | |
| <goals> | |
| <goal>descriptor</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| <profiles> | |
| <profile> | |
| <id>doesnt-work-on-windows</id> | |
| <activation> | |
| <os> | |
| <family>Windows</family> | |
| </os> | |
| </activation> | |
| <build> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <artifactId>maven-surefire-plugin</artifactId> | |
| <configuration> | |
| <skip>true</skip> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| </profile> | |
| </profiles> | |
| </project> |