| <?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/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>sirona-server</artifactId> |
| <groupId>org.apache.sirona</groupId> |
| <version>0.2.1-incubating-SNAPSHOT</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>sirona-collector</artifactId> |
| <name>Apache Sirona Incubator :: Server :: Collector</name> |
| <packaging>war</packaging> |
| |
| <properties> |
| <tomcatRunPort>9090</tomcatRunPort> |
| <tomcatRunPath>/sirona-collector</tomcatRunPath> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_3.0_spec</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-reporting</artifactId> |
| <version>${project.version}</version> |
| <classifier>classes</classifier> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| <artifactId>jackson-jaxrs-json-provider</artifactId> |
| <version>2.2.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| <version>3.2.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-cube</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty-codec-http</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jzlib</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sirona</groupId> |
| <artifactId>sirona-cassandra</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <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>collector.server.port</portName> |
| </portNames> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <configuration> |
| <port>${tomcatRunPort}</port> |
| <path>${tomcatRunPath}</path> |
| <useTestClasspath>true</useTestClasspath> |
| <systemProperties> |
| <org.apache.sirona.configuration.sirona.properties>${basedir}/src/test/sirona.properties</org.apache.sirona.configuration.sirona.properties> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemPropertyVariables> |
| <collector.server.port>${collector.server.port}</collector.server.port> |
| <org.apache.sirona.cube.CubeBuilder.collector>http://localhost:${collector.server.port}</org.apache.sirona.cube.CubeBuilder.collector> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| </project> |