Arash
Arash

Reputation: 12465

Maven Svn SCM delete tag

I am trying to implement a maven plugin and faced some problem with scm. The plugin needs to delete a tag, but I could not find a way to do it. Does anybody have experience with this API?

Upvotes: 0

Views: 1664

Answers (1)

khmarbaise
khmarbaise

Reputation: 97467

There does not exist such a possibility to delete a tag via the SCM API in Maven. If this would be possible the release:rollback would have already implemented such a thing. On the other hand some SCM systems don't allow deleting of tags. It might be an option to implement the delteting of the tag via other API's (I assume you are using SVN?) you could use SVNKit directly in your plugin. The contents of the release.properties gives you the name of the tag which can be deleted in case of a failure.

Upvotes: 2

Related Questions