This may be a bug in the StarTeam provider. Try version 2.1 of maven-release-plugin
and see if that works.
This error is thrown when you tried to tag something specific, rather than the whole repository. From Maven SCM 1.4, in the 2.1 maven-release-plugin
:
if ( fileSet.getFiles().length != 0 )
{
throw new ScmException( "This provider doesn't support tagging subsets of a directory" );
}
Later it was changed and the sense inverted:
{
- if ( fileSet.getFiles().length != 0 )
+ if ( fileSet.getFileList().isEmpty() )
{
For the Subversion provider, this was fixed:
- if ( fileSet.getFileList().isEmpty() )
+ if ( !fileSet.getFileList().isEmpty() )
{
It hasn't been fixed for StarTeam; if rolling back to 2.1 works, consider opening an issue.