| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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.clerezza</groupId> |
| <artifactId>clerezza</artifactId> |
| <version>7</version> |
| <relativePath>../../../../parent</relativePath> |
| </parent> |
| |
| <groupId>org.apache.clerezza.provisioning.tests</groupId> |
| <artifactId>content-launcher-tests</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>Clerezza - Provisioning - Launchers - Tests - Content Launcher Tests</name> |
| |
| |
| <properties> |
| <!-- Set this to run the server on a specific port --> |
| <http.port></http.port> |
| |
| <!-- Set this to run tests against an existing server instance --> |
| <!-- <test.server.url>http://localhost:8080/</test.server.url> --> |
| |
| <!-- Options for the VM that executes our runnable jar --> |
| <!-- add the following to debug instance under test: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=y --> |
| <jar.executor.vm.options>-Xmx1g -XX:MaxPermSize=256m -Dorg.apache.stanbol.offline.mode=true</jar.executor.vm.options> |
| |
| <!-- Set this to true to keep the runnable jar running - useful to debug tests --> |
| <keepJarRunning>false</keepJarRunning> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.10</version> |
| <executions> |
| <execution> |
| <id>copy-runnable-jar</id> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <phase>process-resources</phase> |
| <configuration> |
| <includeArtifactIds>content-launcher</includeArtifactIds> |
| <excludeTransitive>true</excludeTransitive> |
| <overWriteReleases>false</overWriteReleases> |
| <overWriteSnapshots>false</overWriteSnapshots> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <!-- Find free ports to run our server --> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.9.1</version> |
| <executions> |
| <execution> |
| <id>reserve-server-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.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.18.1</version> |
| <configuration> |
| <systemPropertyVariables> |
| <test.server.url>${test.server.url}</test.server.url> |
| <jar.executor.server.port>${http.port}</jar.executor.server.port> |
| <jar.executor.vm.options>${jar.executor.vm.options}</jar.executor.vm.options> |
| <jar.executor.jar.folder>${project.basedir}/target/dependency</jar.executor.jar.folder> |
| <jar.executor.jar.name.regexp>.*launcher.*\.jar$</jar.executor.jar.name.regexp> |
| <jar.executor.workingdirectory>${project.build.directory}/launchdir</jar.executor.workingdirectory> |
| <keepJarRunning>${keepJarRunning}</keepJarRunning> |
| <server.ready.timeout.seconds>240</server.ready.timeout.seconds> |
| <server.ready.path.1>/:Clerezza:Accept:text/html</server.ready.path.1> |
| <server.ready.path.2>/system/console/bundles:!Starting:Accept:text/html</server.ready.path.2> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.clerezza.provisioning</groupId> |
| <artifactId>content-launcher</artifactId> |
| <version>1.0.1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>*</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.3.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.jayway.restassured</groupId> |
| <artifactId>rest-assured</artifactId> |
| <version>2.3.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.stanbol</groupId> |
| <artifactId>org.apache.stanbol.commons.testing.jarexec</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.core</artifactId> |
| <version>1.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.utils</artifactId> |
| <version>1.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.jena.parser</artifactId> |
| <version>1.0.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.jena.serializer</artifactId> |
| <version>1.0.0</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>rdf.rdfjson</artifactId> |
| <version>1.0.1</version> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.clerezza</groupId> |
| <artifactId>platform</artifactId> |
| <version>1.0.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |