| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to you under the Apache License, Version |
| 2.0 (the "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 Unless required by |
| applicable law or agreed to in writing, software distributed under |
| the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| OR CONDITIONS OF ANY KIND, either express or implied. See the |
| License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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> |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling</artifactId> |
| <version>10</version> |
| <relativePath>../../parent/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.sling.launchpad.integration-tests</artifactId> |
| <packaging>jar</packaging> |
| <version>1.0.0</version> |
| |
| <name>Apache Sling Integration Tests</name> |
| <description> |
| Sling Integration Tests, contains integration tests that |
| are used by the testing project and other upstream testing projects. |
| </description> |
| |
| <properties> |
| <!-- HTTP port of Sling instance to test --> |
| <http.port>8080</http.port> |
| |
| <!-- path suffix for HTTP access to Sling test instance --> |
| <http.base.path /> |
| |
| <!-- path suffix for WebDAV access to Sling test instance --> |
| <webdav.workspace.path /> |
| |
| <!-- hostname of Sling instance to test --> |
| <test.host>localhost</test.host> |
| |
| <!-- Timeout when checking for Sling readyness before starting tests --> |
| <HttpTestBase.readyTimeoutSeconds>62</HttpTestBase.readyTimeoutSeconds> |
| </properties> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.integration-tests-1.0.0</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.launchpad.integration-tests-1.0.0</developerConnection> |
| <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.launchpad.integration-tests-1.0.0</url> |
| </scm> |
| |
| <profiles> |
| <profile> |
| <!-- |
| SLING-1543, setup for running single integration tests with |
| -Dtest |
| --> |
| <id>runTests</id> |
| <activation> |
| <property> |
| <name>test</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> |
| <systemProperties> |
| <!-- |
| Settings for running the integration against a specific Sling instance |
| --> |
| <property> |
| <name>launchpad.http.server.url</name> |
| <value> |
| http://${test.host}:${http.port}/${http.base.path} |
| </value> |
| </property> |
| <property> |
| <name>launchpad.webdav.server.url</name> |
| <value> |
| http://${test.host}:${http.port}/${webdav.workspace.path} |
| </value> |
| </property> |
| <property> |
| <name>HttpTestBase.readyTimeoutSeconds</name> |
| <value> |
| ${HttpTestBase.readyTimeoutSeconds} |
| </value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <dependencies> |
| |
| |
| <!-- for DavExIntegrationTest --> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <version>2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-jcr2dav</artifactId> |
| <version>2.0.0</version> |
| </dependency> |
| |
| <!-- Dependencies for the Test Build and Run --> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.testing</artifactId> |
| <version>2.0.8</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.servlets.post</artifactId> |
| <version>2.1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.json</artifactId> |
| <version>2.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.8.1</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>xmlunit</groupId> |
| <artifactId>xmlunit</artifactId> |
| <version>1.3</version> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| </project> |