mahout-core
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.mahout</groupId> <artifactId>mahout-core</artifactId> <version>14.1</version> </dependency>
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.mahout</groupId> <artifactId>mahout</artifactId> <version>14.1</version> </parent> <artifactId>mahout-core</artifactId> <packaging>jar</packaging> <name>Mahout Core</name> <description>High performance scientific and technical computing data structures and methods, mostly based on CERN's Colt Java API</description> <build> <plugins> <!-- Build templates into code for various old-school Vector fns --> <plugin> <groupId>org.apache.mahout</groupId> <artifactId>mahout-collection-codegen-plugin</artifactId> <version>1.0</version> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>generate</goal> </goals> <configuration> <!--<mainExcludes>--> <!--<mainExclude>**/AbstractBooleanList.java</mainExclude>--> <!--<mainExclude>**/BooleanArrayList.java</mainExclude>--> <!--<mainExclude>**/BooleanBufferConsumer.java</mainExclude>--> <!--</mainExcludes>--> <!--<testExcludes>--> <!--<testExclude>**/BooleanArrayListTest.java</testExclude>--> <!--</testExcludes>--> <outputDirectory>${project.build.directory}/generated-sources/mahout</outputDirectory> <testOutputDirectory>${project.build.directory}/generated-test-sources/mahout</testOutputDirectory> </configuration> </execution> </executions> </plugin> <!-- add generated sources into build --> <!-- REMARK CD: This is usally handled automatically today --> <!--plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>${project.build.directory}/generated-sources/mahout</source> </sources> </configuration> </execution> <execution> <id>add-test-source</id> <phase>generate-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>${project.build.directory}/generated-test-sources/mahout</source> </sources> </configuration> </execution> </executions> </plugin--> <!-- End Generate Source --> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <executions> <!--execution> <id>attach-javadocs</id> <phase>dont-execute</phase> <goals> <goal>doc-jar</goal> </goals> </execution--> <execution> <id>add-scala-sources</id> <phase>initialize</phase> <goals> <goal>add-source</goal> </goals> </execution> <execution> <id>scala-compile</id> <phase>compile</phase> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>scala-test-compile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> </plugin> <!--this is what scalatest recommends to do to enable scala tests --> <!-- disable surefire --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <!-- enable scalatest --> <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> <executions> <execution> <id>scala-test</id> <goals> <goal>test</goal> </goals> <configuration> <argLine>-Xmx4g</argLine> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <!-- Change the default configuration of the jar plugin to use a scala classifier to attach the jar. --> <execution> <id>default-jar</id> <configuration> <classifier>scala_${scala.compat.version}</classifier> </configuration> </execution> <!-- create test jar so other modules can reuse the math test utility classes. --> <execution> <id>default-test-jar</id> <phase>package</phase> <goals> <goal>test-jar</goal> </goals> <configuration> <classifier>test_scala_${scala.compat.version}</classifier> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>com.esotericsoftware.kryo</groupId> <artifactId>kryo</artifactId> </dependency> <!-- scala stuff --> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-reflect</artifactId> </dependency> <!-- TODO look into factoring this away (or to BLAS package)--> <dependency> <groupId>it.unimi.dsi</groupId> <artifactId>fastutil</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> </dependency> <!-- TODO ONE Logging framework... --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </dependency> <!-- TODO this is declared at top, fix this reimport --> <!-- TODO fix all tests to stop using `com.carrotsearch.randomizedtesting.annotations` and `org.apache.lucene.util` and easymock --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_${scala.compat.version}</artifactId> <scope>test</scope> </dependency> <!-- Todo Factor this out--> <dependency> <groupId>com.carrotsearch.randomizedtesting</groupId> <artifactId>randomizedtesting-runner</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.lucene</groupId> <artifactId>lucene-test-framework</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <scope>test</scope> </dependency> </dependencies> </project>