<?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-agent-store</artifactId> | |
<groupId>org.apache.sirona</groupId> | |
<version>0.4-incubating</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>sirona-cube</artifactId> | |
<name>Apache Sirona Incubator :: Agent :: Store :: Cube</name> | |
<description>A DataStore for https://github.com/square/cube</description> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.sirona</groupId> | |
<artifactId>sirona-core</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.lmax</groupId> | |
<artifactId>disruptor</artifactId> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpcore</artifactId> | |
<version>4.3.2</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpclient</artifactId> | |
<version>4.3.5</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.httpcomponents</groupId> | |
<artifactId>httpasyncclient</artifactId> | |
<version>4.0.1</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>com.ning</groupId> | |
<artifactId>async-http-client</artifactId> | |
<version>1.8.9</version> | |
<optional>true</optional> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<scope>runtime</scope> | |
<optional>true</optional> | |
</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> | |
</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.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
<configuration> | |
<createSourcesJar>true</createSourcesJar> | |
<shadedArtifactAttached>true</shadedArtifactAttached> | |
<shadedClassifierName>shaded</shadedClassifierName> | |
<relocations> | |
<relocation> | |
<pattern>com.lmax</pattern> | |
<shadedPattern>org.apache.sirona.com.lmax</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>org.apache.http</pattern> | |
<shadedPattern>org.apache.sirona.org.apache.http</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>org.apache.commons</pattern> | |
<shadedPattern>org.apache.sirona.org.apache.commons</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>com.ning.http</pattern> | |
<shadedPattern>org.apache.sirona.com.ning.http</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>org.jboss.netty</pattern> | |
<shadedPattern>org.apache.sirona.org.jboss.netty</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>org.slf4j</pattern> | |
<shadedPattern>org.apache.sirona.org.slf4j</shadedPattern> | |
</relocation> | |
<!-- | |
<relocation> | |
<pattern>org.apache.sirona</pattern> | |
<shadedPattern>org.apache.sirona.sirona</shadedPattern> | |
</relocation> | |
--> | |
</relocations> | |
</configuration> | |
</execution> | |
</executions> | |
</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}/1.0/event/put</org.apache.sirona.cube.CubeBuilder.collector> | |
</systemPropertyVariables> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</project> |