jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Ant Tasks
  • Maven 2.x Ant Tasks
  • MANTTASKS-35

Support profiles in pom type

  • Log In
  • Views
    • XML
    • Word
    • Printable

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    MANTTASKS-35.patch
    05/Oct/07 3:14 PM
    4 kB
    Pete Muir

Issue Links

is depended upon by

Improvement - An improvement or enhancement to an existing feature or task. MANTTASKS-95 Inkonsistency in handling of properties in distributionManagement

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
is related to

Bug - A problem which impairs or prevents the functions of the product. MANTTASKS-105 dependencies task don't read remote repositories from settings xml

  • Critical - Crashes, loss of data, severe memory leak.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MANTTASKS-56 add profile support to the ant tasks

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

Bug - A problem which impairs or prevents the functions of the product. MANTTASKS-118 profile activation through properties fails

  • Major - Major loss of function.
  • Open - The issue is open and ready for the assignee to start work on it.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Brett Porter made changes - 11/Oct/05 11:31 PM
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 - 05/Dec/05 1:11 AM
Assignee Brett Porter [ brettporter ]
Brett Porter made changes - 12/Dec/05 5:35 PM
Fix Version/s 2.0.1 [ 12000 ]
Fix Version/s 2.0.2 [ 12107 ]
Jason van Zyl made changes - 20/Jan/06 5:27 PM
Fix Version/s 2.0.4 [ 12294 ]
Fix Version/s 2.0.3 [ 12107 ]
Vincent Massol made changes - 01/Feb/06 2:41 PM
Workflow Maven [ 40503 ] Maven New [ 46928 ]
Kenney Westerhof made changes - 02/Nov/06 9:59 AM
Fix Version/s 2.0.5 [ 12294 ]
Fix Version/s 2.0.6 [ 13010 ]
Jason van Zyl made changes - 11/Jan/07 1:50 AM
Fix Version/s 2.0.6 [ 13010 ]
Fix Version/s 2.0.x [ 13141 ]
Jason van Zyl made changes - 28/Mar/07 7:55 AM
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 - 28/Mar/07 8:08 AM
Workflow jira [ 69365 ] Maven New [ 69375 ]
Herve Boutemy made changes - 10/Jun/07 4:06 PM
Component/s POM Integration [ 12704 ]
Hide
Permalink
Pete Muir added a comment - 05/Oct/07 3:14 PM

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 - 05/Oct/07 3:14 PM 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 - 05/Oct/07 3:14 PM
Attachment MANTTASKS-35.patch [ 29752 ]
Herve Boutemy made changes - 17/Nov/07 11:34 AM
Link This issue is depended upon by MANTTASKS-95 [ MANTTASKS-95 ]
Herve Boutemy made changes - 02/Mar/08 7:21 AM
Link This issue is duplicated by MANTTASKS-105 [ MANTTASKS-105 ]
Herve Boutemy made changes - 02/Mar/08 8:42 AM
Link This issue is related to MANTTASKS-105 [ MANTTASKS-105 ]
Herve Boutemy made changes - 02/Mar/08 8:43 AM
Link This issue is duplicated by MANTTASKS-105 [ MANTTASKS-105 ]
Wendy Smoak made changes - 17/Sep/08 12:12 PM
Link This issue is related to MANTTASKS-56 [ MANTTASKS-56 ]
Hide
Permalink
Wendy Smoak added a comment - 17/Sep/08 12:12 PM

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

Show
Wendy Smoak added a comment - 17/Sep/08 12:12 PM How does this relate to MANTTASKS-56 , which is already closed?
Paul Gier made changes - 29/Apr/09 4:34 PM
Assignee Paul Gier [ pgier ]
Fix Version/s 2.1.0 [ 13522 ]
Fix Version/s 2.0.10 [ 14199 ]
Hide
Permalink
Paul Gier added a comment - 29/Apr/09 6:22 PM

Fixed in r769992 and 769994

Show
Paul Gier added a comment - 29/Apr/09 6:22 PM Fixed in r769992 and 769994
Paul Gier made changes - 29/Apr/09 6:22 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]
Paul Gier made changes - 30/Apr/09 8:38 AM
Link This issue relates to MANTTASKS-118 [ MANTTASKS-118 ]
Hide
Permalink
Paul Gier added a comment - 30/Apr/09 8:42 AM

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 - 30/Apr/09 8:42 AM 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 - 06/May/09 9:32 AM
Fix Version/s 2.1.0 [ 13522 ]

People

  • Assignee:
    Paul Gier
    Reporter:
    Mark Hobson
Vote (7)
Watch (8)

Dates

  • Created:
    11/Oct/05 9:52 AM
    Updated:
    06/May/09 9:32 AM
    Resolved:
    29/Apr/09 6:22 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.