diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 591 |
1 files changed, 301 insertions, 290 deletions
@@ -1,32 +1,31 @@ <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> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 + http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> - <organization> - <name>Parallel AI</name> - <url>http://www.parallelai.com</url> - </organization> + <organization> + <name>Parallel AI</name> + <url>http://www.parallelai.com</url> + </organization> - <name>Cascading and Scalding wrapper for HBase with advanced features</name> - <groupId>parallelai</groupId> - <artifactId>parallelai.spyglass</artifactId> - <version>2.10.2_4.2rc2</version> - <packaging>jar</packaging> + <name>Cascading and Scalding wrapper for HBase with advanced features</name> + <groupId>parallelai</groupId> + <artifactId>parallelai.spyglass</artifactId> + <version>2.10.2_4.2rc2</version> + <packaging>jar</packaging> + <properties> + <!-- Java compilation level --> + <maven.compiler.source>1.6</maven.compiler.source> + <maven.compiler.target>1.6</maven.compiler.target> + <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version> + <maven-scala-plugin.version>2.15.2</maven-scala-plugin.version> + <maven-war-plugin.version>2.3</maven-war-plugin.version> - <properties> - <!-- Java compilation level --> - <maven.compiler.source>1.6</maven.compiler.source> - <maven.compiler.target>1.6</maven.compiler.target> - <maven-compiler-plugin.version>3.0</maven-compiler-plugin.version> - <maven-scala-plugin.version>2.15.2</maven-scala-plugin.version> - <maven-war-plugin.version>2.3</maven-war-plugin.version> - - <!-- UTF-8 Encoding settings --> - <encoding>UTF-8</encoding> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <!-- UTF-8 Encoding settings --> + <encoding>UTF-8</encoding> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <cdh.version>cdh4.5.0</cdh.version> @@ -46,100 +45,99 @@ <whirr.version>0.8.0-${cdh.version}</whirr.version> <zookeeper.version>3.4.5-${cdh.version}</zookeeper.version> - <!-- Scala/Scalding/Cascading properties --> + <!-- Scala/Scalding/Cascading properties --> <!-- can be 2.9.3 and 2.10.2 --> <scala.version>2.10.2</scala.version> <!-- 2.10 for Scala 2.10.2 and 2.9.3 for Scala version 2.9.3 --> <scalding.scala.version>2.10</scalding.scala.version> <scalding.version>0.9.1</scalding.version> - <cascading.version>2.5.3</cascading.version> - <scalding-commons.version>0.9.1</scalding-commons.version> - <scalatest.version>1.9.1</scalatest.version> + <cascading.version>2.5.3</cascading.version> + <scalding-commons.version>0.9.1</scalding-commons.version> + <scalatest.version>1.9.1</scalatest.version> - <trove4j.version>3.0.3</trove4j.version> + <trove4j.version>3.0.3</trove4j.version> <!-- 2.1.1 for Scala 2.10.2 and 1.12.4.1 for Scala 2.9.3--> - <specs2.version>2.1.1</specs2.version> - <typesafe.config.version>1.0.0</typesafe.config.version> + <specs2.version>2.1.1</specs2.version> + <typesafe.config.version>1.0.0</typesafe.config.version> <!-- Other libraries properties --> - <junit.version>4.10</junit.version> - <slf4j.version>1.7.2</slf4j.version> - <trove4j.version>3.0.3</trove4j.version> - <javax.servlet.version>2.5</javax.servlet.version> - <uncommons-maths.version>1.2.2a</uncommons-maths.version> - <maven.surefire.plugin.version>2.12.3</maven.surefire.plugin.version> - - </properties> + <junit.version>4.10</junit.version> + <slf4j.version>1.7.2</slf4j.version> + <trove4j.version>3.0.3</trove4j.version> + <javax.servlet.version>2.5</javax.servlet.version> + <uncommons-maths.version>1.2.2a</uncommons-maths.version> + <maven.surefire.plugin.version>2.12.3</maven.surefire.plugin.version> + </properties> - <!-- Repositories --> - <repositories> - <repository> - <id>scala-tools.org</id> - <name>Scala Tools</name> - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> - </repository> - <repository> - <id>cloudera-cdh4</id> - <name>Cloudera CDH4</name> - <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> - </repository> - <repository> - <id>conjars</id> - <name>Con Jars</name> - <url>http://conjars.org/repo</url> - </repository> - </repositories> + <!-- Repositories --> + <repositories> + <repository> + <id>scala-tools.org</id> + <name>Scala Tools</name> + <url>https://oss.sonatype.org/content/repositories/snapshots/</url> + </repository> + <repository> + <id>cloudera-cdh4</id> + <name>Cloudera CDH4</name> + <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> + </repository> + <repository> + <id>conjars</id> + <name>Con Jars</name> + <url>http://conjars.org/repo</url> + </repository> + </repositories> - <!-- Profiles --> - <profiles> - <profile> - <id>windows_profile</id> - <activation> - <activeByDefault>false</activeByDefault> - <os> - <family>Windows</family> - </os> - </activation> - <properties> - <toolsjar>${JAVA_HOME}\\lib\\tools.jar</toolsjar> - </properties> - <dependencies> - <dependency> - <groupId>jdk.tools</groupId> - <artifactId>jdk.tools</artifactId> - <version>1.6</version> - <scope>system</scope> - <systemPath>${toolsjar}</systemPath> - </dependency> - </dependencies> - </profile> - <profile> - <id>osx_profile</id> - <activation> - <activeByDefault>false</activeByDefault> - <os> - <family>mac</family> - </os> - </activation> - <properties> - <toolsjar>${java.home}/../Classes/classes.jar</toolsjar> - </properties> - <dependencies> - <dependency> - <groupId>jdk.tools</groupId> - <artifactId>jdk.tools</artifactId> - <version>1.6</version> - <scope>system</scope> - <systemPath>${toolsjar}</systemPath> - </dependency> - </dependencies> - </profile> - </profiles> + <!-- Profiles --> + <profiles> + <profile> + <id>windows_profile</id> + <activation> + <activeByDefault>false</activeByDefault> + <os> + <family>Windows</family> + </os> + </activation> + <properties> + <toolsjar>${JAVA_HOME}\\lib\\tools.jar</toolsjar> + </properties> + <dependencies> + <dependency> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + <version>1.6</version> + <scope>system</scope> + <systemPath>${toolsjar}</systemPath> + </dependency> + </dependencies> + </profile> + <profile> + <id>osx_profile</id> + <activation> + <activeByDefault>false</activeByDefault> + <os> + <family>mac</family> + </os> + </activation> + <properties> + <toolsjar>${java.home}/../Classes/classes.jar</toolsjar> + </properties> + <dependencies> + <dependency> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + <version>1.6</version> + <scope>system</scope> + <systemPath>${toolsjar}</systemPath> + </dependency> + </dependencies> + </profile> + </profiles> - - <dependencies> + <dependencies> + <!-- Cascading --> <dependency> <groupId>cascading</groupId> <artifactId>cascading-core</artifactId> @@ -151,58 +149,58 @@ <version>${cascading.version}</version> </dependency> + <!-- Scalding --> + <dependency> + <groupId>com.twitter</groupId> + <artifactId>scalding-core_${scalding.scala.version}</artifactId> + <version>${scalding.version}</version> + </dependency> <!-- Hadoop --> - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-core</artifactId> - <version>${hadoop.core.version}</version> - </dependency> - - <dependency> - <groupId>org.apache.hadoop</groupId> - <artifactId>hadoop-common</artifactId> - <version>${hadoop.version}</version> - </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-core</artifactId> + <version>${hadoop.core.version}</version> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <version>${hadoop.version}</version> + </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>${slf4j.version}</version> - </dependency> - <dependency> - <groupId>com.twitter</groupId> - <artifactId>scalding-core_${scalding.scala.version}</artifactId> - <version>${scalding.version}</version> - </dependency> + <!-- HBase --> + <dependency> + <groupId>org.apache.hbase</groupId> + <artifactId>hbase</artifactId> + <version>${hbase.version}</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>${slf4j.version}</version> + </dependency> - <dependency> - <groupId>org.apache.hbase</groupId> - <artifactId>hbase</artifactId> - <version>${hbase.version}</version> - </dependency> - <!-- Three dependencies for ScalaSpec --> - <dependency> - <groupId>org.scala-lang</groupId> - <artifactId>scala-library</artifactId> - <version>${scala.version}</version> - </dependency> - <dependency> - <groupId>com.typesafe</groupId> - <artifactId>config</artifactId> - <version>${typesafe.config.version}</version> - </dependency> + <dependency> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + <version>${scala.version}</version> + </dependency> + <dependency> + <groupId>com.typesafe</groupId> + <artifactId>config</artifactId> + <version>${typesafe.config.version}</version> + </dependency> - <dependency> - <groupId>com.twitter.elephantbird</groupId> - <artifactId>elephant-bird-core</artifactId> - <version>4.1</version> - </dependency> - <dependency> - <groupId>com.twitter.elephantbird</groupId> - <artifactId>elephant-bird-hadoop-compat</artifactId> - <version>4.1</version> - </dependency> + <dependency> + <groupId>com.twitter.elephantbird</groupId> + <artifactId>elephant-bird-core</artifactId> + <version>4.1</version> + </dependency> + <dependency> + <groupId>com.twitter.elephantbird</groupId> + <artifactId>elephant-bird-hadoop-compat</artifactId> + <version>4.1</version> + </dependency> <!-- Testing dependencies (ScalaSpec / ScalaTest / JUnit) --> <dependency> @@ -223,154 +221,167 @@ <version>${junit.version}</version> <scope>test</scope> </dependency> - </dependencies> - <!-- From https://wiki.scala-lang.org/display/SIW/ScalaEclipseMaven --> + </dependencies> - <build> - <sourceDirectory>src/main/java</sourceDirectory> - <testSourceDirectory>src/test/scala</testSourceDirectory> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>2.4</version> - <configuration> - <includes> - <include>**/*</include> - </includes> - </configuration> - </plugin> - <!-- This plugin is not supported by Eclipse, so maybe we shouldn't be - using it --> - <plugin> - <groupId>org.scala-tools</groupId> - <artifactId>maven-scala-plugin</artifactId> - <executions> + <build> + <sourceDirectory>src/main/java</sourceDirectory> + <testSourceDirectory>src/test/scala</testSourceDirectory> + <!-- From https://wiki.scala-lang.org/display/SIW/ScalaEclipseMaven --> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.4</version> + <configuration> + <includes> + <include>**/*</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- This plugin is not supported by Eclipse --> + <plugin> + <groupId>org.scala-tools</groupId> + <artifactId>maven-scala-plugin</artifactId> + <executions> - <execution> - <id>compile</id> - <goals> - <goal>compile</goal> - </goals> - <phase>compile</phase> - </execution> - <execution> - <id>test-compile</id> - <goals> - <goal>testCompile</goal> - </goals> - <phase>test-compile</phase> - </execution> - <execution> - <phase>process-resources</phase> - <goals> - <goal>compile</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <version>${maven-compiler-plugin.version}</version> - <configuration> - <source>${maven.compiler.source}</source> - <target>${maven.compiler.target}</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <id>copy-dependencies</id> - <phase>install</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - <configuration> - <outputDirectory>./alternateLocation</outputDirectory> <!-- ${project.build.directory} --> - <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>false</overWriteSnapshots> - <overWriteIfNewer>true</overWriteIfNewer> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - <pluginManagement> - <plugins> - <!--Run with : mvn dependency:copy-dependencies --> - <plugin> - <groupId>org.eclipse.m2e</groupId> - <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> - <configuration> - <lifecycleMappingMetadata> - <pluginExecutions> - <pluginExecution> - <pluginExecutionFilter> - <groupId> - org.apache.maven.plugins - </groupId> - <artifactId> - maven-dependency-plugin - </artifactId> - <versionRange>[2.1,)</versionRange> - <goals> - <goal>copy-dependencies</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore></ignore> - </action> - </pluginExecution> - <pluginExecution> - <pluginExecutionFilter> - <groupId></groupId> - <artifactId></artifactId> - <versionRange>[0.0,)</versionRange> - <goals> - <goal></goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore></ignore> - </action> - </pluginExecution> - <pluginExecution> - <pluginExecutionFilter> - <groupId> - org.scala-tools - </groupId> - <artifactId> - maven-scala-plugin - </artifactId> - <versionRange> - [2.15.2,) - </versionRange> - <goals> - <goal>compile</goal> - <goal>testCompile</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore></ignore> - </action> - </pluginExecution> - </pluginExecutions> - </lifecycleMappingMetadata> - </configuration> - </plugin> + <execution> + <id>compile</id> + <goals> + <goal>compile</goal> + </goals> + <phase>compile</phase> + </execution> + <execution> + <id>test-compile</id> + <goals> + <goal>testCompile</goal> + </goals> + <phase>test-compile</phase> + </execution> + <execution> + <phase>process-resources</phase> + <goals> + <goal>compile</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>${maven-compiler-plugin.version}</version> + <configuration> + <source>${maven.compiler.source}</source> + <target>${maven.compiler.target}</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>install</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>./alternateLocation</outputDirectory> + <!-- ${project.build.directory} --> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>false</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + <pluginManagement> + <plugins> + <!--Run with : mvn dependency:copy-dependencies --> + <plugin> + <groupId>org.eclipse.m2e</groupId> + <artifactId>lifecycle-mapping</artifactId> + <version>1.0.0</version> + <configuration> + <lifecycleMappingMetadata> + <pluginExecutions> + <pluginExecution> + <pluginExecutionFilter> + <groupId> + org.apache.maven.plugins + </groupId> + <artifactId> + maven-dependency-plugin + </artifactId> + <versionRange>[2.1,)</versionRange> + <goals> + <goal>copy-dependencies</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId></groupId> + <artifactId></artifactId> + <versionRange>[0.0,)</versionRange> + <goals> + <goal></goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + <pluginExecution> + <pluginExecutionFilter> + <groupId> + org.scala-tools + </groupId> + <artifactId> + maven-scala-plugin + </artifactId> + <versionRange> + [2.15.2,) + </versionRange> + <goals> + <goal>compile</goal> + <goal>testCompile</goal> + </goals> + </pluginExecutionFilter> + <action> + <ignore></ignore> + </action> + </pluginExecution> + </pluginExecutions> + </lifecycleMappingMetadata> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <configuration> - <altDeploymentRepository>repo::default::file:${project.basedir}/releases</altDeploymentRepository> + <altDeploymentRepository>repo::default::file:${project.basedir}/releases + </altDeploymentRepository> </configuration> </plugin> </plugins> - </pluginManagement> - </build> + </pluginManagement> + </build> </project> |