tagBase - either check or create if missing
-------------------------------------------

                 Key: MRELEASE-626
                 URL: http://jira.codehaus.org/browse/MRELEASE-626
             Project: Maven 2.x Release Plugin
          Issue Type: Improvement
          Components: prepare
    Affects Versions: 2.1
         Environment: any - linux
            Reporter: Neil Tingley


Anything to prevent this scenario:-

---------- snip -------------------
Provider message:
The svn tag command failed.
Command output:
svn: Path 'tags' not present
------------------------------------


This happens quite often if you forget (in SVN for example) to create a 'tags' 
directory. Maven release:perform releases the jar but the build then fails if 
the tag can't be created leaving a mess.  I think this could be improved.

Suggested improvements

- in release:prepare check that the tagBase exists in SCM and fail before 
anything gets underway
- release:perform can make the missing tags base (perhaps this is too clever)





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to