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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.10
    • 3.0.1
    • build-classpath
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: