Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
hussainnm | 5371252 | 2021-02-18 19:46:31 +0530 | [diff] [blame] | 4 | Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved. |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 5 | |
| 6 | This program and the accompanying materials are made available under the |
| 7 | terms of the Eclipse Public License v. 2.0, which is available at |
| 8 | http://www.eclipse.org/legal/epl-2.0. |
| 9 | |
| 10 | This Source Code may also be made available under the following Secondary |
| 11 | Licenses when the conditions for such availability set forth in the |
| 12 | Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| 13 | version 2 with the GNU Classpath Exception, which is available at |
| 14 | https://www.gnu.org/software/classpath/license.html. |
| 15 | |
| 16 | SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| 17 | |
| 18 | --> |
| 19 | |
| 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 21 | |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 23 | <parent> |
| 24 | <groupId>org.glassfish.main</groupId> |
| 25 | <artifactId>glassfish-parent</artifactId> |
David Matějček | 56030c9 | 2021-06-03 12:55:40 +0200 | [diff] [blame^] | 26 | <version>6.2.0-SNAPSHOT</version> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 27 | </parent> |
| 28 | |
| 29 | <modelVersion>4.0.0</modelVersion> |
| 30 | <artifactId>inplanted</artifactId> |
| 31 | <name>Inplanted mode embedded testing</name> |
| 32 | |
| 33 | <build> |
| 34 | <plugins> |
| 35 | <plugin> |
| 36 | <groupId>org.apache.maven.plugins</groupId> |
| 37 | <artifactId>maven-dependency-plugin</artifactId> |
| 38 | <executions> |
| 39 | <execution> |
| 40 | <id>copy</id> |
| 41 | <phase>process-resources</phase> |
| 42 | <goals> |
| 43 | <goal>unpack</goal> |
| 44 | </goals> |
| 45 | <configuration> |
| 46 | <artifactItems> |
| 47 | <artifactItem> |
| 48 | <groupId>org.glassfish.main.distributions</groupId> |
| 49 | <artifactId>web</artifactId> |
| 50 | <version>${project.version}</version> |
| 51 | <type>zip</type> |
| 52 | </artifactItem> |
| 53 | </artifactItems> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
| 58 | <plugin> |
| 59 | <groupId>org.apache.maven.plugins</groupId> |
| 60 | <artifactId>maven-surefire-plugin</artifactId> |
| 61 | <version>2.4.2</version> |
| 62 | <configuration> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame] | 63 | <forkCount>1</forkCount> |
arjantijms | 4c744d4 | 2020-03-04 12:32:21 +0100 | [diff] [blame] | 64 | <reuseForks>false</reuseForks> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 65 | </configuration> |
| 66 | </plugin> |
| 67 | </plugins> |
| 68 | </build> |
| 69 | <profiles> |
| 70 | <profile> |
| 71 | <id>run-with-uber-jar</id> |
| 72 | <activation> |
| 73 | <activeByDefault>true</activeByDefault> |
| 74 | </activation> |
| 75 | <dependencies> |
| 76 | <dependency> |
| 77 | <groupId>org.glassfish.main.extras</groupId> |
| 78 | <artifactId>glassfish-embedded-all</artifactId> |
David Matějček | 56030c9 | 2021-06-03 12:55:40 +0200 | [diff] [blame^] | 79 | <version>6.2.0-SNAPSHOT</version> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame] | 80 | </dependency> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 81 | </dependencies> |
| 82 | </profile> |
| 83 | <profile> |
| 84 | <id>run-with-shell-jar</id> |
| 85 | <activation> |
| 86 | <property> |
| 87 | <name>build</name> |
| 88 | <value>static-shell</value> |
| 89 | </property> |
| 90 | </activation> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame] | 91 | <dependencies> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 92 | <dependency> |
| 93 | <groupId>org.glassfish.main.extras</groupId> |
| 94 | <artifactId>glassfish-embedded-static-shell</artifactId> |
| 95 | <version>${project.version}</version> |
| 96 | <scope>system</scope> |
| 97 | <systemPath>${env.S1AS_HOME}/lib/embedded/glassfish-embedded-static-shell.jar |
| 98 | </systemPath> |
| 99 | </dependency> |
| 100 | </dependencies> |
| 101 | </profile> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame] | 102 | </profiles> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 103 | <dependencies> |
David Matějček | f4dc06a | 2021-05-17 12:10:57 +0200 | [diff] [blame] | 104 | <dependency> |
| 105 | <groupId>junit</groupId> |
| 106 | <artifactId>junit</artifactId> |
| 107 | <version>4.13.2</version> |
| 108 | </dependency> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 109 | <dependency> |
| 110 | <groupId>org.glassfish.main.web</groupId> |
| 111 | <artifactId>web-embed-api</artifactId> |
| 112 | <version>${project.version}</version> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | <dependency> |
Stuart Douglas | cb5bc8e | 2018-12-01 12:10:01 +1100 | [diff] [blame] | 116 | <groupId>jakarta.servlet</groupId> |
| 117 | <artifactId>jakarta.servlet-api</artifactId> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 118 | <scope>provided</scope> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>net.sourceforge.htmlunit</groupId> |
| 122 | <artifactId>htmlunit</artifactId> |
| 123 | <version>2.29</version> |
| 124 | </dependency> |
| 125 | <dependency> |
| 126 | <groupId>org.glassfish.main.tests.embedded</groupId> |
| 127 | <artifactId>utils</artifactId> |
| 128 | <version>${project.version}</version> |
| 129 | <scope>test</scope> |
| 130 | </dependency> |
| 131 | </dependencies> |
| 132 | </project> |