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

Installing and deploying source.jars with maven

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.5
    • Component/s: None
    • Labels:
      None
    • Environment:

      maven poms

      Description

      Hi Mahouts,

      I was missing source jars for mahout in my maven repository, so I'm adding a patch to this issue, which does the following:

      • adds an <execution> to maven-source-plugin's configuration in /project/build/pluginManagement in the main pom.xml
      • adds maven-source-plugin to core/pom.xml, examples/pom.xml, math/pom.xml and utils/pom.xml, without any further configuration.

      for each mvn install or mvn deploy this will add an $

      {artifactId}

      -{$version}-sources.jar to the repository.
      So Eclipse and other IDEs will be able to use those source jars to make "source-code-hopping" possible.

      The given patch was created using revision 1063288.

      Kind Regards,
      Manuel Meßner

      1. MAHOUT-595.patch
        2 kB
        Manuel Meßner

        Activity

        Hide
        srowen Sean Owen added a comment -

        Great, thank you, committed.

        Show
        srowen Sean Owen added a comment - Great, thank you, committed.
        Hide
        hudson Hudson added a comment -

        Integrated in Mahout-Quality #585 (See https://hudson.apache.org/hudson/job/Mahout-Quality/585/)
        MAHOUT-595 Add sources artifacts to Maven output

        Show
        hudson Hudson added a comment - Integrated in Mahout-Quality #585 (See https://hudson.apache.org/hudson/job/Mahout-Quality/585/ ) MAHOUT-595 Add sources artifacts to Maven output

          People

          • Assignee:
            srowen Sean Owen
            Reporter:
            messner Manuel Meßner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development