| <?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>26</version> |
| <relativePath/> |
| </parent> |
| |
| <artifactId>org.apache.sling.launchpad.contrib-testing</artifactId> |
| <packaging>slingstart</packaging> |
| <version>4-SNAPSHOT</version> |
| |
| <name>Apache Sling Launchpad Contrib Testing</name> |
| <description> |
| Apache Sling Launchpad Contrib Testing module, contains integration tests that |
| were previously in the launchpad webapp module. |
| </description> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-contrib-testing.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-contrib-testing.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-launchpad-contrib-testing.git</url> |
| </scm> |
| |
| <properties> |
| <!-- HTTP port to use when running mvn jetty:run --> |
| <jetty.http.port>8080</jetty.http.port> |
| |
| <!-- path suffix for HTTP access to Sling --> |
| <http.base.path /> |
| |
| <!-- path suffix for WebDAV access to the repository --> |
| <webdav.workspace.path /> |
| |
| <!-- hostname for integration tests --> |
| <test.host>localhost</test.host> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>reserve-network-port</id> |
| <goals> |
| <goal>reserve-network-port</goal> |
| </goals> |
| <phase>process-resources</phase> |
| <configuration> |
| <portNames> |
| <portName>http.port</portName> |
| </portNames> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/test/resources/integration-test/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>slingstart-maven-plugin</artifactId> |
| <version>1.7.16</version> |
| <extensions>true</extensions> |
| <executions> |
| <execution> |
| <id>start-container</id> |
| <goals> |
| <goal>start</goal> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <servers> |
| <server> |
| <port>${http.port}</port> |
| <controlPort>${sling.control.port}</controlPort> |
| <runmode>${sling.run.modes}</runmode> |
| <contextPath>${http.base.path}</contextPath> |
| </server> |
| </servers> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <includes> |
| <include>**/*Test.java</include> |
| <include>**/*IT.java</include> |
| </includes> |
| <excludes> |
| <exclude>${failsafe.exclude}</exclude> |
| </excludes> |
| <excludedGroups>${sling.it.excludedGroups}</excludedGroups> |
| <systemPropertyVariables> |
| <launchpad.http.server.url>http://${test.host}:${http.port}/</launchpad.http.server.url> |
| <launchpad.webdav.server.url>http://${test.host}:${http.port}/${webdav.workspace.path}</launchpad.webdav.server.url> |
| <launchpad.servlet.context>${http.base.path}</launchpad.servlet.context> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/*Test.java</exclude> |
| <exclude>**/*IT.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>biz.aQute</groupId> |
| <artifactId>bnd</artifactId> |
| <version>0.0.169</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Dependencies for the Test Build and Run --> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.testing</artifactId> |
| <version>2.0.16</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.commons.johnzon</artifactId> |
| <version>1.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.launchpad.integration-tests</artifactId> |
| <version>1.0.1-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.servlets.post</artifactId> |
| <version>2.0.2-incubator</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>1.5.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.5.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |