Maven Help Plugin
  1. Maven Help Plugin
  2. MPH-12

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
        11 kB
        Rahul Thakur
      2. MPH-12.patch
        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

          • Assignee:
            Vincent Siveton
            Reporter:
            Rahul Thakur
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: