Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-2084

a default source distribution for is being created under $MAHOUT_HOME/target

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.1
    • Component/s: None
    • Labels:
      None

      Description

      make this behavior stop:

      $ mvn clean package install -DskipTests -Papache-release

       

      {...}
      
      $ 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
      {...}

       

       ├── mahout-14.1-SNAPSHOT-source-release.zip

      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:

      $ 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 

      this target should contain the assembled disrtribution as described in the {{$MAHOUT_HOME/distribution/src/main/resources/rassembly/ }} poms:

      distribution/src/main/resources/assembly$ tree
      .
      ├── bin.xml
      └── src.xml

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Andrew_Palumbo Andrew Palumbo
                Reporter:
                Andrew_Palumbo Andrew Palumbo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h