Maven 2.x Help Plugin

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

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    2

Description

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

  1. MPH-12.patch
    21/Apr/06 4:22 PM
    11 kB
    Rahul Thakur
  2. MPH-12.patch
    10/Apr/06 3:27 AM
    8 kB
    Rahul Thakur

Activity

Hide
Rahul Thakur added a comment -

AllProfilesMojo

Show
Rahul Thakur added a comment - AllProfilesMojo
Hide
Milos Kleint added a comment -

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.

Show
Milos Kleint added a comment - 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.
Hide
Rahul Thakur added a comment -

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!

Show
Rahul Thakur added a comment - 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!
Hide
Rahul Thakur added a comment -

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

Show
Rahul Thakur added a comment - Tested and cleaned up. Please use this one to apply the patch.
Hide
Vincent Siveton added a comment -

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

Show
Vincent Siveton added a comment - Applied with small changes in r682360, snapshot deployed. Thanks!

People

Vote (2)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: