| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2019, 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, |
| or the Eclipse Distribution License v. 1.0 which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| |
| --> |
| |
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <name>EclipseLink DBWS Builder Test Oracle Server</name> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.dbws.builder.oracle.server.test</artifactId> |
| <packaging>jar</packaging> |
| |
| <parent> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.oracle.test.server.parent</artifactId> |
| <version>4.0.0-SNAPSHOT</version> |
| <relativePath>../../testing/server-oracle/pom.xml</relativePath> |
| </parent> |
| |
| <properties> |
| <test-skip-dbws-builder-oracle-server>${skipTests}</test-skip-dbws-builder-oracle-server> |
| </properties> |
| |
| <dependencies> |
| <!--Test dependencies--> |
| <!--Other modules--> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.dbws.builder</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!--Test framework--> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!--Other libraries--> |
| <dependency> |
| <groupId>jakarta.servlet</groupId> |
| <artifactId>jakarta.servlet-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.xml.soap</groupId> |
| <artifactId>jakarta.xml.soap-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.xml.ws</groupId> |
| <artifactId>jakarta.xml.ws-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.oracleddlparser</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <!--JDBC driver (test dependency)--> |
| <dependency> |
| <groupId>${db.driver.groupId}</groupId> |
| <artifactId>${db.driver.artifactId}</artifactId> |
| <version>${db.driver.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <!--DBWS Builder Test Oracle related profiles--> |
| <profile> |
| <id>oracle</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <!--Set system properties required for tests--> |
| <systemPropertiesFile>${test.properties.file}</systemPropertiesFile> |
| <systemPropertyVariables> |
| <db.ddl.create>true</db.ddl.create> |
| <db.ddl.drop>true</db.ddl.drop> |
| <db.ddl.debug>false</db.ddl.debug> |
| </systemPropertyVariables> |
| <workingDirectory>${project.build.directory}/test-run</workingDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <id>test-dbws-builder-oracle-server_builder</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <configuration> |
| <!--<skipTests>true</skipTests>--> |
| <skipTests>${test-skip-dbws-builder-oracle-server}</skipTests> |
| <reportNameSuffix>test-dbws-builder-oracle-server_builder</reportNameSuffix> |
| <includes> |
| <include>dbws.testing.attachedbinary.AttachedBinaryBuilderTestSuite</include> |
| <include>dbws.testing.inlinebinary.InlineBinaryBuilderTestSuite</include> |
| <include>dbws.testing.mtom.MTOMBuilderTestSuite</include> |
| <include>dbws.testing.simpleplsql.SimplePLSQLBuilderTestSuite</include> |
| <include>dbws.testing.simplesp.SimpleSPBuilderTestSuite</include> |
| <include>dbws.testing.simplesql.SimpleSQLBuilderTestSuite</include> |
| <include>dbws.testing.simpletable.SimpleTableBuilderTestSuite</include> |
| </includes> |
| </configuration> |
| </execution> |
| <execution> |
| <id>test-dbws-builder-oracle-server_service</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| <configuration> |
| <!--TODO applications must be deployed to WLS before test--> |
| <skipTests>true</skipTests> |
| <!--<skipTests>${test-skip-dbws-builder-oracle}</skipTests>--> |
| <reportNameSuffix>test-dbws-builder-oracle-server_service</reportNameSuffix> |
| <includes> |
| <include>dbws.testing.attachedbinary.AttachedBinaryServiceTestSuite</include> |
| <include>dbws.testing.inlinebinary.InlineBinaryServiceTestSuite</include> |
| <include>dbws.testing.legacysimpletable.LegacySimpleTableServiceTestSuite</include> |
| <include>dbws.testing.mtom.MTOMServiceTestSuite</include> |
| <include>dbws.testing.simpleplsql.SimplePLSQLServiceTestSuite</include> |
| <include>dbws.testing.simplesp.SimpleSPServiceTestSuite</include> |
| <include>dbws.testing.simplesql.SimpleSQLServiceTestSuite</include> |
| <include>dbws.testing.simpletable.SimpleTableServiceTestSuite</include> |
| </includes> |
| </configuration> |
| </execution> |
| <execution> |
| <id>verify-integration-tests</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| <configuration> |
| <skip>${integration.test.skip.verify}</skip> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>test-dbws-builder-oracle-server</id> |
| <properties> |
| <test-skip-dbws-builder-oracle-server>false</test-skip-dbws-builder-oracle-server> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |