Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
arjantijms | 3cfb3a3 | 2020-02-18 23:13:47 +0100 | [diff] [blame] | 4 | Copyright (c) 2011, 2020 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 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | <groupId>org.glassfish.tests.paas</groupId> |
| 24 | <artifactId>basic-db-initsql</artifactId> |
arjantijms | 3cfb3a3 | 2020-02-18 23:13:47 +0100 | [diff] [blame] | 25 | <version>6.0.0-SNAPSHOT</version> |
Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 26 | <name>Basic InitSQL PaaS sample</name> |
| 27 | <packaging>war</packaging> |
| 28 | <build> |
| 29 | <finalName>basic_db_initsql_paas_sample</finalName> |
| 30 | <plugins> |
| 31 | <plugin> |
| 32 | <groupId>org.apache.maven.plugins</groupId> |
| 33 | <artifactId>maven-compiler-plugin</artifactId> |
| 34 | <configuration> |
| 35 | <source>1.6</source> |
| 36 | <target>1.6</target> |
| 37 | </configuration> |
| 38 | </plugin> |
| 39 | <plugin> |
| 40 | <groupId>org.apache.maven.plugins</groupId> |
| 41 | <artifactId>maven-surefire-plugin</artifactId> |
| 42 | <configuration> |
| 43 | <skip>true</skip> |
| 44 | </configuration> |
| 45 | <executions> |
| 46 | <execution> |
| 47 | <phase>integration-test</phase> |
| 48 | <goals> |
| 49 | <goal>test</goal> |
| 50 | </goals> |
| 51 | <configuration> |
| 52 | <skip>false</skip> |
| 53 | <enableAssertions>false</enableAssertions> |
| 54 | </configuration> |
| 55 | </execution> |
| 56 | </executions> |
| 57 | </plugin> |
| 58 | <plugin> |
| 59 | <artifactId>maven-antrun-plugin</artifactId> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <phase>test</phase> |
| 63 | <goals> |
| 64 | <goal>run</goal> |
| 65 | </goals> |
| 66 | <configuration> |
| 67 | <tasks> |
| 68 | <copy file="initsql.sql" |
| 69 | tofile="/tmp/initsql.sql"/> |
| 70 | </tasks> |
| 71 | </configuration> |
| 72 | </execution> |
| 73 | </executions> |
| 74 | </plugin> |
| 75 | </plugins> |
| 76 | </build> |
| 77 | <dependencies> |
| 78 | <dependency> |
| 79 | <groupId>org.glassfish</groupId> |
| 80 | <artifactId>javax.servlet</artifactId> |
| 81 | <version>3.1</version> |
| 82 | <scope>provided</scope> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>junit</groupId> |
| 86 | <artifactId>junit</artifactId> |
| 87 | <version>4.12</version> |
| 88 | <scope>test</scope> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.glassfish.extras</groupId> |
| 92 | <artifactId>glassfish-embedded-static-shell</artifactId> |
| 93 | <version>${project.version}</version> |
| 94 | <scope>system</scope> |
| 95 | <systemPath>${env.S1AS_HOME}/lib/embedded/glassfish-embedded-static-shell.jar |
| 96 | </systemPath> |
| 97 | </dependency> |
| 98 | </dependencies> |
| 99 | </project> |