Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.10
    • Component/s: pom task
    • Labels:
      None
    • Number of attachments :
      1

      Description

      Need to be able to pass in a list of profiles to activate in pom type - there's currently a TODO in Pom.java for this.

        Issue Links

          Activity

          Brett Porter made changes -
          Field Original Value New Value
          Component/s maven-artifact-ant [ 11532 ]
          Component/s maven-ant-plugin [ 11799 ]
          Fix Version/s 2.0-beta-4 [ 11991 ]
          Assignee Brett Porter [ brettporter ]
          Brett Porter made changes -
          Assignee Brett Porter [ brettporter ]
          Brett Porter made changes -
          Fix Version/s 2.0.1 [ 12000 ]
          Fix Version/s 2.0.2 [ 12107 ]
          Jason van Zyl made changes -
          Fix Version/s 2.0.4 [ 12294 ]
          Fix Version/s 2.0.3 [ 12107 ]
          Vincent Massol made changes -
          Workflow Maven [ 40503 ] Maven New [ 46928 ]
          Kenney Westerhof made changes -
          Fix Version/s 2.0.5 [ 12294 ]
          Fix Version/s 2.0.6 [ 13010 ]
          Jason van Zyl made changes -
          Fix Version/s 2.0.6 [ 13010 ]
          Fix Version/s 2.0.x [ 13141 ]
          Jason van Zyl made changes -
          Affects Version/s 2.0 (RC) [ 11991 ]
          Component/s Ant tasks [ 11532 ]
          Workflow Maven New [ 46928 ] jira [ 69365 ]
          Key MNG-1169 MANTTASKS-35
          Project Maven 2 [ 10500 ] Maven 2.x Ant Tasks [ 11533 ]
          Fix Version/s 2.0.x [ 13141 ]
          Brett Porter made changes -
          Workflow jira [ 69365 ] Maven New [ 69375 ]
          Herve Boutemy made changes -
          Component/s POM Integration [ 12704 ]
          Hide
          Pete Muir added a comment -

          Here is a patch. Use it like:

          <pom file="pom.xml">
          <activeProfile id="foo" />
          <activeProfile id="bar" if="some.property.is.set" />
          </pom>

          Show
          Pete Muir added a comment - Here is a patch. Use it like: <pom file="pom.xml"> <activeProfile id="foo" /> <activeProfile id="bar" if="some.property.is.set" /> </pom>
          Pete Muir made changes -
          Attachment MANTTASKS-35.patch [ 29752 ]
          Herve Boutemy made changes -
          Link This issue is depended upon by MANTTASKS-95 [ MANTTASKS-95 ]
          Herve Boutemy made changes -
          Link This issue is duplicated by MANTTASKS-105 [ MANTTASKS-105 ]
          Herve Boutemy made changes -
          Link This issue is related to MANTTASKS-105 [ MANTTASKS-105 ]
          Herve Boutemy made changes -
          Link This issue is duplicated by MANTTASKS-105 [ MANTTASKS-105 ]
          Wendy Smoak made changes -
          Link This issue is related to MANTTASKS-56 [ MANTTASKS-56 ]
          Hide
          Wendy Smoak added a comment -

          How does this relate to MANTTASKS-56, which is already closed?

          Show
          Wendy Smoak added a comment - How does this relate to MANTTASKS-56 , which is already closed?
          Paul Gier made changes -
          Assignee Paul Gier [ pgier ]
          Fix Version/s 2.1.0 [ 13522 ]
          Fix Version/s 2.0.10 [ 14199 ]
          Hide
          Paul Gier added a comment -

          Fixed in r769992 and 769994

          Show
          Paul Gier added a comment - Fixed in r769992 and 769994
          Paul Gier made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Paul Gier made changes -
          Link This issue relates to MANTTASKS-118 [ MANTTASKS-118 ]
          Hide
          Paul Gier added a comment -

          Just wanted to add that the configuration is a little different from what Pete suggested. I added some information about it to the site docs and it will look something like this.

          <pom file="pom.xml">
              <profile id="foo" />
              <profile id="bar" active="false" />
              <profile id="bar2" active="${bar2.on}" />
          </pom>
          
          Show
          Paul Gier added a comment - Just wanted to add that the configuration is a little different from what Pete suggested. I added some information about it to the site docs and it will look something like this. <pom file= "pom.xml" > <profile id= "foo" /> <profile id= "bar" active= "false" /> <profile id= "bar2" active= "${bar2.on}" /> </pom>
          Paul Gier made changes -
          Fix Version/s 2.1.0 [ 13522 ]

            People

            • Assignee:
              Paul Gier
              Reporter:
              Mark Hobson
            • Votes:
              7 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: