mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAHOUT-1500) H2O integration
Date Thu, 14 Aug 2014 23:59:19 GMT

    [ https://issues.apache.org/jira/browse/MAHOUT-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097938#comment-14097938
] 

ASF GitHub Bot commented on MAHOUT-1500:
----------------------------------------

Github user andrewpalumbo commented on a diff in the pull request:

    https://github.com/apache/mahout/pull/21#discussion_r16274418
  
    --- Diff: h2o/pom.xml ---
    @@ -0,0 +1,252 @@
    +<?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>1.0-SNAPSHOT</version>
    +    <relativePath>../pom.xml</relativePath>
    +  </parent>
    +
    +  <artifactId>mahout-h2o</artifactId>
    +  <name>Mahout H2O backend</name>
    +  <description>
    +    H2O Backend for Mahout DSL
    +  </description>
    +
    +  <packaging>jar</packaging>
    +
    +  <repositories>
    +    <repository>
    +      <id>oss.sonatype.org</id>
    +      <url>http://oss.sonatype.org/content/repositories</url>
    +      <releases>
    +        <enabled>true</enabled>
    +      </releases>
    +      <snapshots>
    +        <enabled>true</enabled>
    +      </snapshots>
    +    </repository>
    +  </repositories>
    +
    +  <!-- this is needed for scalatest plugin until they publish it to central -->
    +  <pluginRepositories>
    +    <pluginRepository>
    +      <id>sonatype</id>
    +      <url>https://oss.sonatype.org/content/groups/public</url>
    +      <releases>
    +        <enabled>true</enabled>
    +      </releases>
    +    </pluginRepository>
    +  </pluginRepositories>
    +
    +  <build>
    +    <defaultGoal>install</defaultGoal>
    +
    +    <plugins>
    +
    +      <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>
    +
    +      <!-- create test jar so other modules can reuse the math test utility classes.
-->
    +      <plugin>
    +        <groupId>org.apache.maven.plugins</groupId>
    +        <artifactId>maven-jar-plugin</artifactId>
    +        <executions>
    +          <execution>
    +            <goals>
    +              <goal>test-jar</goal>
    +            </goals>
    +            <phase>package</phase>
    +          </execution>
    +        </executions>
    +      </plugin>
    +
    +      <plugin>
    +	<artifactId>maven-assembly-plugin</artifactId>
    +	<configuration>
    +          <descriptorRefs>
    +            <descriptorRef>jar-with-dependencies</descriptorRef>
    +          </descriptorRefs>
    +          <archive>
    +            <manifest>
    +              <mainClass>water.H2O</mainClass>
    +            </manifest>
    +          </archive>
    +	</configuration>
    +	<executions>
    +          <execution>
    +            <phase>package</phase>
    +            <goals>
    +              <goal>single</goal>
    +            </goals>
    +          </execution>
    +	</executions>
    +      </plugin>
    +
    +      <plugin>
    +        <artifactId>maven-javadoc-plugin</artifactId>
    +      </plugin>
    +
    +      <plugin>
    +        <artifactId>maven-source-plugin</artifactId>
    +      </plugin>
    +
    +      <plugin>
    +        <groupId>org.scala-tools</groupId>
    +        <artifactId>maven-scala-plugin</artifactId>
    +        <executions>
    +	  <execution>
    +	    <id>scala-compile-first</id>
    +	    <phase>process-resources</phase>
    +	    <goals>
    +	      <goal>add-source</goal>
    +	      <goal>compile</goal>
    +	    </goals>
    +	  </execution>
    +          <execution>
    +            <goals>
    +              <goal>compile</goal>
    +              <goal>testCompile</goal>
    +            </goals>
    +          </execution>
    +        </executions>
    +        <configuration>
    +          <sourceDir>src/main/scala</sourceDir>
    +          <jvmArgs>
    +            <jvmArg>-Xms64m</jvmArg>
    +            <jvmArg>-Xmx1024m</jvmArg>
    +          </jvmArgs>
    +        </configuration>
    +      </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>-->
    +      <!--<version>2.7</version>-->
    +      <!--<configuration>-->
    +      <!--<skipTests>true</skipTests>-->
    +      <!--</configuration>-->
    +      <!--</plugin>-->
    +      <!-- enable scalatest -->
    +      <plugin>
    +        <groupId>org.scalatest</groupId>
    +        <artifactId>scalatest-maven-plugin</artifactId>
    +        <version>1.0-M2</version>
    +        <configuration>
    +          <reportsDirectory>${project.build.directory}/scalatest-reports</reportsDirectory>
    +          <junitxml>.</junitxml>
    +          <filereports>WDF TestSuite.txt</filereports>
    +        </configuration>
    +        <executions>
    +          <execution>
    +            <id>test</id>
    +            <goals>
    +              <goal>test</goal>
    +            </goals>
    +          </execution>
    +        </executions>
    +      </plugin>
    +
    +    </plugins>
    +  </build>
    +
    +  <dependencies>
    +
    +    <dependency>
    +      <groupId>org.apache.mahout</groupId>
    +      <artifactId>mahout-math-scala</artifactId>
    --- End diff --
    
    need to update this to new mahout-math-scala artifact name


> H2O integration
> ---------------
>
>                 Key: MAHOUT-1500
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1500
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Anand Avati
>             Fix For: 1.0
>
>
> Provide H2O backend for the Mahout DSL



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message