Issue Details (XML | Word | Printable)

Key: MPH-12
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Siveton
Reporter: Rahul Thakur
Votes: 2
Watchers: 3
Operations

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

Create a Mojo to list all Profiles for a Project (even those loaded from an external profiles.xml)

Created: 10/Apr/06 03:25 AM   Updated: 04/Aug/08 07:26 AM   Resolved: 04/Aug/08 07:26 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1

Time Tracking:
Not Specified

File Attachments: 1. Text File MPH-12.patch (11 kB)
2. Text File MPH-12.patch (8 kB)



 Description  « Hide

Create a Mojo that can load profiles from an external profiles.xml and list all profiles for a project and their statuses (active/inactive).



Rahul Thakur added a comment - 10/Apr/06 03:27 AM

AllProfilesMojo


Rahul Thakur made changes - 10/Apr/06 03:27 AM
Field Original Value New Value
Attachment MPH-12.patch [ 20031 ]
Milos Kleint added a comment - 10/Apr/06 03:43 AM

this kind of information is also useful for IDE integration.It would be nice to have it accessible as a plexus component and have the plugin tobe just a wrapper around the component.


Rahul Thakur added a comment - 10/Apr/06 04:20 AM

This needs a bit of work to fetch profiles from pom.xml (which I hadn't tested). Will be posting updated patch shortly.

Milos - not sure how I go about creating a component, but I see your point and will be happy to take a shot at it. If you have any pointers/resources I can refer to, please do post them on here and I will take it from there - thanks!


Rahul Thakur added a comment - 21/Apr/06 04:22 PM

Tested and cleaned up. Please use this one to apply the patch.


Rahul Thakur made changes - 21/Apr/06 04:22 PM
Attachment MPH-12.patch [ 20206 ]
Vincent Siveton added a comment - 04/Aug/08 07:26 AM

Applied with small changes in r682360, snapshot deployed.
Thanks!


Vincent Siveton made changes - 04/Aug/08 07:26 AM
Assignee Vincent Siveton [ siveton ]
Resolution Fixed [ 1 ]
Fix Version/s 2.1 [ 12300 ]
Status Open [ 1 ] Closed [ 6 ]