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 Release Plugin
  • Maven 2.x Release Plugin
  • MRELEASE-445

Validate tagBase before starting

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.0-beta-9
  • Fix Version/s: None
  • Component/s: prepare, scm
  • Labels:
    None
  • Number of attachments :
    0

Description

Please note I'm using Subversion. I guess this tagBase validation isn't necessary with some other systems (like the old CVS).

Currently, Maven-release-plugin proceeds this way:

  1. Modify the current pom
  2. Commit it
  3. Tag it (say copy it under the tagBase)
  4. Go back to next dev version

The thing is: if the tagBase directory doesn't exist (forgotten or because of a typo in the pom), release:prepare will fail when trying to tag ALTHOUGH it already has committed the modified version :-/.

I think that before starting prepare (or at least, there should be an option for it), release-plugin should check (using a "svn list [tagBase]" for example, in the case of Subversion) it the given tagBase exists. It would prevent from surely going into the wall when the tagBase is actually incorrect.

Thanks a lot!

Cheers.

Issue Links

depends upon

Improvement - An improvement or enhancement to an existing feature or task. SCM-487 support --parents option for svn copy (tag commands) (svn 1.5 required)

  • Major - Major loss of function.
  • Reopened - This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.
relates to

Wish - General wishlist item MRELEASE-512 SCM information should be validated

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

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Olivier Lamy added a comment - 28/Jul/09 5:33 PM

IMHO we should simply use svn options --parents with svn copy command.

Show
Olivier Lamy added a comment - 28/Jul/09 5:33 PM IMHO we should simply use svn options --parents with svn copy command.

People

  • Assignee:
    Unassigned
    Reporter:
    Baptiste MATHUS
Vote (2)
Watch (2)

Dates

  • Created:
    01/May/09 1:52 PM
    Updated:
    28/Sep/10 7:24 AM
  • 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.