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)
  • Maven 2 & 3
  • MNG-3326

Profile Deactivation Configuration

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0.8
  • Fix Version/s: 3.1
  • Component/s: Profiles
  • Labels:
    None

Description

Profile definitions should have a way to add deactivation configuration similar to the activation configuration. So you could have a profile definition similar to this:

<profile>
  <id>my-profile</id>
  <activation>
    <property>
      <name>all.profiles.on</name>
    </property>
  </activation>
  <deactivation>
    <property>
      <name>all.profiles.off</name>
    </property>
    <jdk>1.6</jdk>
  </deactivation>
</profile>

Issue Links

is related to

Improvement - An improvement or enhancement to an existing feature or task. MNG-2557 Various enhancements to profiles

  • 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
Hide
Permalink
Wim Deblauwe added a comment - 10/Jul/09 7:21 AM

We could use this too. I want to activate a certain profile (defined in my pom.xml) when releasing and de-active another profile (defined in my settings.xml) at the same time. The current workaround is to remove the <activeProfile/> line in my setttings.xml, but this easily forgotten (leading to a bad build in our case).

Show
Wim Deblauwe added a comment - 10/Jul/09 7:21 AM We could use this too. I want to activate a certain profile (defined in my pom.xml) when releasing and de-active another profile (defined in my settings.xml) at the same time. The current workaround is to remove the <activeProfile/> line in my setttings.xml, but this easily forgotten (leading to a bad build in our case).
Hide
Permalink
Paul Benedict added a comment - 15/Jan/10 10:10 AM

I think this is a bit hacky.

Show
Paul Benedict added a comment - 15/Jan/10 10:10 AM I think this is a bit hacky.

People

  • Assignee:
    Unassigned
    Reporter:
    Paul Gier
Vote (5)
Watch (4)

Dates

  • Created:
    18/Dec/07 9:32 AM
    Updated:
    15/Jan/10 10:10 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.