Hi Dan, thanks, but this feels like a workaround as I have special profiles defined, when performRelease is set and had defined other goals (deploy sonar:sonar ticket:create).
Of course for a one time operation this a valid alternative. However than we should state in the documentation of connectUrl that this is only supported for Subversion :-) . Regards Mirko -- Sent from my mobile On May 7, 2015 9:30 AM, "Dan Tran" <dant...@gmail.com> wrote: > try scm:bootstrap > > make sure to passing the required argument and profile > > -D > > On Thu, May 7, 2015 at 12:18 AM, Mirko Friedenhagen < > mfriedenha...@gmail.com > > wrote: > > > Hello, > > > > yesterday I already had pushed a git tag by running mvn > > release:prepare and while I executed release:perform I remembered I > > had the wrong settings.xml activated. > > > > I accidentally deleted release.properties by running release:clean. > > Now I just wanted to run something like: > > > > mvn release-plugin:perform > > -DconnectionUrl=scm:svn: > > https://svn.mycompany.com/repos/path/to/myproject/tags/myproject-1.2.3 > > > > as outlined at > > > http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html > > . > > > > But I did not find the correct syntax for GIT. In the end, I created a > > release.properties with the content scm.tag=myproject-1.2.3 and could > > run > > mvn release-plugin:perform > > -DconnectionUrl=scm:git:git://github.com/ORG/PROJ.git > > > > Is there a way to specify the scm.tag on the CLI? I tried > release.scm.tag. > > > > > > Regards Mirko > > -- > > http://illegalstateexception.blogspot.com/ > > https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) > > https://bitbucket.org/mfriedenhagen/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > > > > >