| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2010, 2021 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> |
| |
| <groupId>org.glassfish.tests.embedded</groupId> |
| <artifactId>maven-plugin</artifactId> |
| <version>7.0.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <name>GlassFish Embedded Maven Plugin Tests</name> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <profiles> |
| <profile> |
| <id>run-with-promoted-builds</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <modules> |
| <module>applicationDispatcher</module> |
| <module>dirListing</module> |
| <module>filterURIMapping</module> |
| <module>getRequestURI</module> |
| <module>index</module> |
| <module>jmxUndeployEvent</module> |
| <module>queryString</module> |
| <!--module>scattered</module--> |
| <module>sessionDestroyed</module> |
| <module>standalonewar</module> |
| <module>websockets</module> |
| <module>webservice</module> |
| <module>secureWebApp</module> |
| <module>jsptest</module> |
| <module>jsftest</module> |
| <module>localejbs</module> |
| <module>multipleApps</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>run-with-snapshot-builds</id> |
| <activation> |
| <property> |
| <name>build</name> |
| <value>snapshot</value> |
| </property> |
| </activation> |
| <modules> |
| <module>init</module> |
| <module>applicationDispatcher</module> |
| <module>dirListing</module> |
| <module>filterURIMapping</module> |
| <module>getRequestURI</module> |
| <module>index</module> |
| <module>jmxUndeployEvent</module> |
| <module>queryString</module> |
| <module>sessionDestroyed</module> |
| <module>standalonewar</module> |
| <module>websockets</module> |
| <module>webservice</module> |
| <module>secureWebApp</module> |
| <module>jsptest</module> |
| <module>jsftest</module> |
| <module>localejbs</module> |
| <module>multipleApps</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>run-with-shell-jar</id> |
| <activation> |
| <property> |
| <name>build</name> |
| <value>static-shell</value> |
| </property> |
| </activation> |
| <modules> |
| <module>static-shell-init</module> |
| <module>applicationDispatcher</module> |
| <module>dirListing</module> |
| <module>filterURIMapping</module> |
| <module>getRequestURI</module> |
| <module>index</module> |
| <module>jmxUndeployEvent</module> |
| <module>queryString</module> |
| <module>sessionDestroyed</module> |
| <module>standalonewar</module> |
| <module>websockets</module> |
| <module>webservice</module> |
| <module>secureWebApp</module> |
| <module>jsptest</module> |
| <module>jsftest</module> |
| <module>localejbs</module> |
| <module>multipleApps</module> |
| </modules> |
| </profile> |
| </profiles> |
| |
| |
| <build> |
| <defaultGoal>install</defaultGoal> |
| <testSourceDirectory>src/test/java</testSourceDirectory> |
| <finalName>${project.artifactId}</finalName> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.12</version> |
| <configuration> |
| <skip>true</skip> |
| <forkCount>0</forkCount> |
| </configuration> |
| <executions> |
| <execution> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <skip>false</skip> |
| <forkCount>0</forkCount> |
| <additionalClasspathElements> |
| <additionalClasspathElement>target/classes</additionalClasspathElement> |
| </additionalClasspathElements> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.5.1</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <failOnMissingWebXml>false</failOnMissingWebXml> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.embedded</groupId> |
| <artifactId>maven-embedded-glassfish-plugin</artifactId> |
| <version>5.0</version> |
| <configuration> |
| <goalPrefix>glassfish</goalPrefix> |
| <app>target/${project.artifactId}.war</app> |
| <port>8080</port> |
| <name>${project.artifactId}</name> |
| <contextRoot>test</contextRoot> |
| <serverID>embedded</serverID> |
| <ports> |
| <https-listener>8181</https-listener> |
| </ports> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.glassfish.main.common</groupId> |
| <artifactId>simple-glassfish-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.extras</groupId> |
| <artifactId>glassfish-embedded-all</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>3.3.9</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.servlet</groupId> |
| <artifactId>jakarta.servlet-api</artifactId> |
| <version>4.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.13.2</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.faces</groupId> |
| <artifactId>jakarta.faces-api</artifactId> |
| <version>2.3.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.ejb</groupId> |
| <artifactId>jakarta.ejb-api</artifactId> |
| <version>3.2.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.main.extras</groupId> |
| <artifactId>glassfish-embedded-all</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-websockets</artifactId> |
| <version>2.1</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-http-servlet</artifactId> |
| <version>2.4.3</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.jms</groupId> |
| <artifactId>jakarta.jms-api</artifactId> |
| <scope>provided</scope> |
| <version>3.0.0-RC1</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </project> |