Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 62E30200D29 for ; Thu, 26 Oct 2017 23:32:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6177C1609E8; Thu, 26 Oct 2017 21:32:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A74601609E5 for ; Thu, 26 Oct 2017 23:32:06 +0200 (CEST) Received: (qmail 82062 invoked by uid 500); 26 Oct 2017 21:32:05 -0000 Mailing-List: contact issues-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list issues@mahout.apache.org Received: (qmail 82053 invoked by uid 99); 26 Oct 2017 21:32:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 21:32:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1EF3EC2A4C for ; Thu, 26 Oct 2017 21:32:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id MtGUdS7wsYSr for ; Thu, 26 Oct 2017 21:32:04 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0A11A5FBF6 for ; Thu, 26 Oct 2017 21:32:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 97ED1E0E4A for ; Thu, 26 Oct 2017 21:32:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7A19D21309 for ; Thu, 26 Oct 2017 21:32:01 +0000 (UTC) Date: Thu, 26 Oct 2017 21:32:01 +0000 (UTC) From: "Pat Ferrel (JIRA)" To: issues@mahout.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MAHOUT-2020) Maven repo structure compatibility with SBT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Oct 2017 21:32:07 -0000 [ https://issues.apache.org/jira/browse/MAHOUT-2020?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D162= 21263#comment-16221263 ]=20 Pat Ferrel edited comment on MAHOUT-2020 at 10/26/17 9:31 PM: -------------------------------------------------------------- my script for creating a repo: mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/hdfs/target/mahout-hdfs-0.13.0.jar -DgroupId=3Dorg= .apache.mahout -DartifactId=3Dmahout-hdfs -Dversion=3D0.13.0 mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/math/target/mahout-math-0.13.0.jar -DgroupId=3Dorg= .apache.mahout -DartifactId=3Dmahout-math -Dversion=3D0.13.0 mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/math-scala/target/mahout-math-scala_2.11-0.13.0.ja= r -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-math-scala_2.11 -Dver= sion=3D0.13.0 mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/spark/target/mahout-spark_2.11-0.13.0.jar -DgroupI= d=3Dorg.apache.mahout -DartifactId=3Dmahout-spark_2.11 -Dversion=3D0.13.0 then in the build.sbt I get the artifacts using: resolvers +=3D "Local Repository" at "file:///Users/pat/.custom-scala-m2/re= po" was (Author: pferrel): my script for creating a repo: {{mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -= Dfile=3D//Users/pat/mahout/hdfs/target/mahout-hdfs-0.13.0.jar -DgroupId=3Do= rg.apache.mahout -DartifactId=3Dmahout-hdfs -Dversion=3D0.13.0 mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/math/target/mahout-math-0.13.0.jar -DgroupId=3Dorg= .apache.mahout -DartifactId=3Dmahout-math -Dversion=3D0.13.0 mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/math-scala/target/mahout-math-scala_2.11-0.13.0.ja= r -DgroupId=3Dorg.apache.mahout -DartifactId=3Dmahout-math-scala_2.11 -Dver= sion=3D0.13.0 mvn deploy:deploy-file -Durl=3Dfile:///Users/pat/.custom-scala-m2/repo/ -Df= ile=3D//Users/pat/mahout/spark/target/mahout-spark_2.11-0.13.0.jar -DgroupI= d=3Dorg.apache.mahout -DartifactId=3Dmahout-spark_2.11 -Dversion=3D0.13.0 }} then in the build.sbt I get the artifacts using: {{resolvers +=3D "Local Repository" at "file:///Users/pat/.custom-scala-m2/= repo" }} > Maven repo structure compatibility with SBT > ------------------------------------------- > > Key: MAHOUT-2020 > URL: https://issues.apache.org/jira/browse/MAHOUT-2020 > Project: Mahout > Issue Type: Bug > Components: build > Affects Versions: 0.13.1 > Environment: Creating a project from maven built Mahout using sbt= . Made critical since it seems to block using Mahout with sbt. At least I h= ave found no way to do it. > Reporter: Pat Ferrel > Assignee: Trevor Grant > Priority: Blocker > Fix For: 0.13.1 > > > The maven repo should build: > org/apache/mahout/mahout-spark-2.1/0.13.1-SNAPSHOT/mahout-spark-2.1_2.11-= 0.13.1-SNAPSHOT.jar > substitute Spark version for -2.1, so -1.6 etc. > The build.sbt `libraryDependencies` line then will be: > `"org.apache.mahout" %% "mahout-spark-2.1" % =E2=80=9C0.13.1-SNAPSHOT` > This is parsed by sbt to yield the path of : > org/apache/mahout/mahout-spark-2.1/0.13.1-SNAPSHOT/mahout-spark-2.1_2.11-= 0.13.1-SNAPSHOT.jar > The outcome of `mvn clean install` currently is something like: > org/apache/mahout/mahout-spark/0.13.1-SNAPSHOT/mahout-spark-0.13.1-SNAPSH= OT-spark_2.1.jar > This has no effect on the package structure, only artifact naming and mav= en repo structure. -- This message was sent by Atlassian JIRA (v6.4.14#64029)