Maven Dependency Plugin
  1. Maven Dependency Plugin
  2. MDEP-205

type configuration ignored in sources goal

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.6
    • Component/s: resolve, sources
    • Labels:
      None
    • Number of attachments :
      0

      Description

      It says here http://jira.codehaus.org/browse/MDEP-11 that "mvn dependency:resolve -Dclassifer=sources does the same as mvn dependency:sources". This appears not to be the case since this.type is hard-coded to "java-source" and "jar" is the correct type for most cases (so the default is wrong too).

      On the other hand, I can't see the sources mojo anywhere in trunk. Was it removed?

        Issue Links

          Activity

          Hide
          brianfox brianfox added a comment -

          it's still there, under resolves

          Show
          brianfox brianfox added a comment - it's still there, under resolves
          Hide
          Paul Gier added a comment - - edited

          The sources mojo has been refactored to be a subclass of the resolve mojo with the default classifier "sources".
          Fixed in r1400457

          Show
          Paul Gier added a comment - - edited The sources mojo has been refactored to be a subclass of the resolve mojo with the default classifier "sources". Fixed in r1400457

            People

            • Assignee:
              Paul Gier
              Reporter:
              Dave Syer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: