Issue Details (XML | Word | Printable)

Key: MANTTASKS-72
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Ben Hale
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Ant Tasks

Remove hardcoded groupId in install-provider task

Created: 08/Jun/07 02:18 PM   Updated: 24/Jun/07 02:25 PM
Component/s: install-provider task
Affects Version/s: 2.0.6
Fix Version/s: 2.0.7

Time Tracking:
Not Specified

File Attachments: 1. Text File InstallWagonProviderTask.java.patch (2 kB)
2. File MANTTASKS-72_site.diff (3 kB)


Patch Submitted: Yes


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ben Hale added a comment - 09/Jun/07 12:35 AM
A patch with the uploaded code.

Herve Boutemy added a comment - 10/Jun/07 04:20 AM
Here is corresponding documentation update, for maven-site