Maven 2.x Ant Tasks

Remove hardcoded groupId in install-provider task

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.6
  • Fix Version/s: 2.0.7
  • Component/s: install-provider task
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    2

Description

Currently, the InstallWagonProviderTask hard-codes the 'WAGON_GROUP_ID' value internally with no way to override it. Because of this, it is impossible to use a custom wagon that does not have a groupId of 'org.apache.maven.wagon' to upload files with a deploy task.

It would be better if the install-provider task used that value as a default (so that it would be specified in the common case), but had a groupId setter allowing it to overriden.

Activity

Hide
Ben Hale added a comment -

A patch with the uploaded code.

Show
Ben Hale added a comment - A patch with the uploaded code.
Hide
Herve Boutemy added a comment -

Here is corresponding documentation update, for maven-site

Show
Herve Boutemy added a comment - Here is corresponding documentation update, for maven-site

People

  • Assignee:
    Unassigned
    Reporter:
    Ben Hale
Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: