Created: (MRELEASE-499) Add to FAQ: prepare fails because of inheriting parent scm

View: New views
1 Messages — Rating Filter:   Alert me  

Created: (MRELEASE-499) Add to FAQ: prepare fails because of inheriting parent scm

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Add to FAQ: prepare fails because of inheriting parent scm
----------------------------------------------------------

                 Key: MRELEASE-499
                 URL: http://jira.codehaus.org/browse/MRELEASE-499
             Project: Maven 2.x Release Plugin
          Issue Type: Improvement
          Components: documentation, prepare
            Reporter: Robert Scholte


If the pom.xml has no scm-section but his parent does, the prepare will fail when trying to tag.
The message will be something like:
{quote}svn: Path 'https://svn.codehaus.org/mojo/tags/mojo-parent-22/my-maven-plugin' does not exist in revision 12345{quote}
To fix it, add the scm-section to the pom, restore the version (-SNAPSHOT) and execute {{mvn release:clean}}
Than we're ready to run another {{mvn:prepare}}

--
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