| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- Licensed 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.chemistry.opencmis</groupId> |
| <artifactId>chemistry-opencmis</artifactId> |
| <version>0.5.0-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| |
| <artifactId>chemistry-opencmis-test-fit</artifactId> |
| <name>OpenCMIS Full Integration Tests</name> |
| <packaging>war</packaging> |
| |
| <properties> |
| <parentBasedir>../../</parentBasedir> |
| </properties> |
| |
| |
| <build> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <overlays> |
| <overlay> |
| </overlay> |
| <overlay> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-server-inmemory</artifactId> |
| </overlay> |
| </overlays> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.7.2</version> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <forkMode>once</forkMode> |
| <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds> |
| <argLine>-Xmx128m</argLine> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.22</version> |
| <configuration> |
| <scanIntervalSeconds>10</scanIntervalSeconds> |
| <stopPort>19966</stopPort> |
| <stopKey>foo</stopKey> |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>19080</port> |
| <host>0.0.0.0</host> |
| </connector> |
| </connectors> |
| <webAppConfig> |
| <contextPath>/opencmis</contextPath> |
| </webAppConfig> |
| </configuration> |
| <executions> |
| <execution> |
| <id>start-jetty</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>run-war</goal> |
| </goals> |
| <configuration> |
| <scanIntervalSeconds>0</scanIntervalSeconds> |
| <daemon>true</daemon> |
| </configuration> |
| </execution> |
| <execution> |
| <id>stop-jetty</id> |
| <phase>post-integration-test</phase> |
| <goals> |
| <goal>stop</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-commons-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-client-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-client-impl</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-client-bindings</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-server-inmemory</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>chemistry-opencmis-test-util</artifactId> |
| <version>${project.version}</version> |
| <type>jar</type> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| </project> |