| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur</artifactId> |
| <version>0.2.3-incubating</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| <groupId>org.apache.blur</groupId> |
| <artifactId>blur-util</artifactId> |
| <version>${projectVersion}</version> |
| <packaging>jar</packaging> |
| <name>Blur Util</name> |
| <description>The Blur util module contains mostly utility classes used throughout the Blur project.</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>${commons-logging.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jdmk</groupId> |
| <artifactId>jmxtools</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jmx</groupId> |
| <artifactId>jmxri</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.json</groupId> |
| <artifactId>json</artifactId> |
| <version>${json.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.jms</groupId> |
| <artifactId>jms</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jdmk</groupId> |
| <artifactId>jmxtools</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jmx</groupId> |
| <artifactId>jmxri</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-ganglia</artifactId> |
| <version>${metrics-ganglia.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-graphite</artifactId> |
| <version>${metrics-graphite.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-servlet</artifactId> |
| <version>${metrics.version}</version> |
| </dependency> |
| </dependencies> |
| |
| |
| <repositories> |
| <repository> |
| <id>libdir</id> |
| <url>file://${basedir}/../lib</url> |
| </repository> |
| </repositories> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-XX:+UseConcMarkSweepGC -Xmx1g -Xms1g</argLine> |
| <forkCount>2</forkCount> |
| <forkMode>always</forkMode> |
| <reuseForks>false</reuseForks> |
| <systemPropertyVariables> |
| <blur.tmp.dir>${project.build.directory}/target/tmp</blur.tmp.dir> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptorRefs> |
| <descriptorRef>jar-with-dependencies</descriptorRef> |
| </descriptorRefs> |
| </configuration> |
| |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attached</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| <profiles> |
| <profile> |
| <id>hadoop1</id> |
| <activation> |
| <property> |
| <name>hadoop1</name> |
| </property> |
| </activation> |
| <properties> |
| <projectVersion>${project.parent.version}-hadoop1</projectVersion> |
| </properties> |
| </profile> |
| <profile> |
| <id>hadoop2-mr1</id> |
| <activation> |
| <property> |
| <name>hadoop2-mr1</name> |
| </property> |
| </activation> |
| <properties> |
| <projectVersion>${project.parent.version}-hadoop2-mr1</projectVersion> |
| </properties> |
| </profile> |
| <profile> |
| <id>hadoop2</id> |
| <activation> |
| <property> |
| <name>hadoop2</name> |
| </property> |
| </activation> |
| <properties> |
| <projectVersion>${project.parent.version}-hadoop2</projectVersion> |
| </properties> |
| </profile> |
| </profiles> |
| </project> |