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 1
  • MAVEN-842

Add switch to POM to control snapshot or not

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Won't Fix
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: model additions
  • Labels:
    None

Description

It would be nice to be able to indicate in the POM that the project is under active development. Then, calling one of the *:install or *:deploy goals would instead call *:install-snapshot or *:deploy-snapshot.

Is it possible to add attributes to existing tags? If so, this could be implemented something like this:

<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-dev -->
<currentVersion snapshot="true">1.0-dev</currentVersion>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 21/Feb/05 11:24 PM

in the future, *-snapshot will be removed, but that behaviour can be enabled - the trigger will simply be the existence of -SNAPSHOT in the version.

Show
Brett Porter added a comment - 21/Feb/05 11:24 PM in the future, *-snapshot will be removed, but that behaviour can be enabled - the trigger will simply be the existence of -SNAPSHOT in the version.

People

  • Assignee:
    Unassigned
    Reporter:
    Craig S. Cottingham
Vote (1)
Watch (1)

Dates

  • Created:
    22/Sep/03 3:29 PM
    Updated:
    08/Mar/06 10:47 PM
    Resolved:
    21/Feb/05 11:24 PM
  • 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.