Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-482

Can't use both outputProperty and outputFile in build-classpath mojo

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.10
    • Fix Version/s: 3.0.1
    • Component/s: build-classpath
    • Labels:
      None
    • Flags:
      Patch

      Description

      When defining the configuration for the dependency:build-classpath mojo, a user can use either <outputProperty> and <outputFile> to define the desired output of the classpath string. These both work as expected.

      However, if the user wishes to use both output methods in conjunction, the <outputFile> gets discarded and only <ouputProperty> is used.

      A current workaround that achieves the desired missing behavior involves defining two different executions for the mojo only differing by the output method.

        Attachments

          Activity

            People

            • Assignee:
              gboue Guillaume Boué
              Reporter:
              dagandlerx Dagan Sandler
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: