| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Licensed to Metamarkets Group Inc. (Metamarkets) under one |
| ~ or more contributor license agreements. See the NOTICE file |
| ~ distributed with this work for additional information |
| ~ regarding copyright ownership. Metamarkets 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>io.druid</groupId> |
| <artifactId>druid</artifactId> |
| <version>0.12.2</version> |
| </parent> |
| |
| <artifactId>java-util</artifactId> |
| <name>java-util</name> |
| <description>java-util</description> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| </license> |
| </licenses> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <sigar.base.version>1.6.5</sigar.base.version> |
| <sigar.version>${sigar.base.version}.132</sigar.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.skife.config</groupId> |
| <artifactId>config-magic</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>net.sf.opencsv</groupId> |
| <artifactId>opencsv</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mozilla</groupId> |
| <artifactId>rhino</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.jayway.jsonpath</groupId> |
| <artifactId>json-path</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>net.minidev</groupId> |
| <artifactId>json-smart</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>net.thisptr</groupId> |
| <artifactId>jackson-jq</artifactId> |
| </dependency> |
| |
| <!-- Extra dependencies for emitter --> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.validation</groupId> |
| <artifactId>validation-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.asynchttpclient</groupId> |
| <artifactId>async-http-client</artifactId> |
| </dependency> |
| |
| <!-- Extra dependencies for server-metrics --> |
| <dependency> |
| <groupId>org.hyperic</groupId> |
| <artifactId>sigar</artifactId> |
| <version>${sigar.version}</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.hyperic</groupId> |
| <artifactId>sigar-dist</artifactId> |
| <version>${sigar.version}</version> |
| <type>zip</type> |
| <!-- "Provided" because this dependency is used only during the build itself: some files from this |
| dependency are copied as resources. See maven-dependency-plugin configuration and <resources> below. --> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.gridkit.lab</groupId> |
| <artifactId>jvm-attach-api</artifactId> |
| </dependency> |
| |
| <!-- Extra dependency for http-client --> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty</artifactId> |
| </dependency> |
| |
| <!-- Tests --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.easymock</groupId> |
| <artifactId>easymock</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <scope>test</scope> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-1.2-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jul</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-servlet</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>it.unimi.dsi</groupId> |
| <artifactId>fastutil</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.antlr</groupId> |
| <artifactId>antlr4-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>antlr4</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-sigar-lib-to-resources</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeGroupIds>org.hyperic</includeGroupIds> |
| <includeArtifactIds>sigar-dist</includeArtifactIds> |
| <includes>**/sigar-bin/lib/*</includes> |
| <excludes>**/sigar-bin/lib/*jar</excludes> |
| <outputDirectory> |
| ${project.build.directory} |
| </outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>java.library.path</name> |
| <value>${project.build.directory}/hyperic-sigar-${sigar.base.version}/sigar-bin/lib/</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| |
| <resources> |
| <resource> |
| <directory> |
| ${project.build.directory}/hyperic-sigar-${sigar.base.version}/sigar-bin/lib |
| </directory> |
| </resource> |
| </resources> |
| </build> |
| |
| <repositories> |
| <repository> |
| <id>sigar</id> |
| <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/</url> |
| </repository> |
| </repositories> |
| |
| </project> |