You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mahout.apache.org by "Andrew Palumbo (Jira)" <ji...@apache.org> on 2020/02/11 07:33:00 UTC

[jira] [Commented] (MAHOUT-2084) a default source distribution for is being created under $MAHOUT_HOME/target

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

Andrew Palumbo commented on MAHOUT-2084:
----------------------------------------

answered here:

https://maven.apache.org/pom/asf/

our method is fine.

> a default source distribution for  is being created under $MAHOUT_HOME/target
> -----------------------------------------------------------------------------
>
>                 Key: MAHOUT-2084
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-2084
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Andrew Palumbo
>            Assignee: Andrew Palumbo
>            Priority: Major
>             Fix For: 14.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> make this behavior stop:
> {code:java}
> $ mvn clean package install -DskipTests -Papache-release{code}
>  
> {code:java}
> {...}
> $ tree -L 1 
> {...}
> ├── lib
> │   ├── mahout-core_2.11-14.1-SNAPSHOT.jar
> │   ├── mahout-hdfs_2.11-14.1-SNAPSHOT.jar
> │   ├── mahout-spark-cli-drivers_2.11-14.1-SNAPSHOT.jar
> │   ├── mahout-spark_2.11-14.1-SNAPSHOT-dependency-reduced.jar
> │   └── mahout-spark_2.11-14.1-SNAPSHOT.jar
> ├── mahout.iml
> ├── pom.xml
> ├── target
> │   ├── archive-tmp
> │   ├── mahout-14.1-SNAPSHOT-source-release.zip
> │   ├── mahout-14.1-SNAPSHOT-source-release.zip.asc
> │   ├── mahout-14.1-SNAPSHOT.pom
> │   ├── mahout-14.1-SNAPSHOT.pom.asc
> │   └── maven-shared-archive-resources
> └── website
> {...}{code}
>  
> {code:java}
>  ├── mahout-14.1-SNAPSHOT-source-release.zip{code}
> seems to be a default behavior of the {{maven-release-plugin}}.  We do not want this source distribution.  We Have our assembled distributions in the {{/distribution}} directories:
> {code:java}
> $ tree -L 2 distribution/
> distribution/
> ├── KEYS
> ├── distribution.iml
> ├── distribution_2.11.iml
> ├── distribution_2.12.iml
> ├── pom.xml
> ├── src
> │   └── main
> └── target
>     ├── distribution_2.11-14.1-SNAPSHOT.pom
>     ├── distribution_2.11-14.1-SNAPSHOT.pom.asc
>     └── maven-shared-archive-resources {code}
> this target should contain the assembled disrtribution as described in the \{{$MAHOUT_HOME/distribution/src/main/resources/rassembly/ }} poms:
> {code:java}
> distribution/src/main/resources/assembly$ tree
> .
> ├── bin.xml
> └── src.xml{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)