Hi there. I'm using maven-scm-plugin
from within an own Maven Mojo via an injected ScmManager
object and am trying to figure out how to add a file to the SCM ignore list.
The methods that ScmManager
provides don't seem to support this.
An ideal solution would work in all SCM systems that maven-scm-plugin
supports. I'm not sure though if every system has such a feature. That said, a solution which only works with Subversion repositories would help me as well.
The corresponding SVN command would be something like
svn propset svn:ignore -F theFile .
If ScmManager
cannot directly set ignore lists, maybe it has an ability to set these kind of SCM properties?
Thanks for your help!