2013-08-05 10 views
1

Starteam에서 Maven 릴리스를 수행 할 수 없으며 다음 오류가 발생합니다.StarTeam에서 maven 릴리스를 수행 할 수 없습니다.

목표 org.apache.maven.plugins : maven-release-plugin : 2.4.1 : 프로젝트 준비 (default-cli)를 실행하지 못했습니다. TestPrj : 태그 프로세스에서 오류가 발생했습니다 : SCM 실행 중 예외 명령. 이 공급자는 디렉토리의 태그 지정 하위 집합을 지원하지 않습니다.

동일한 명령이 svn에서 작동합니다. Starteam은 태깅을 지원하지 않습니까?

답변

1

이것은 StarTeam 제공 업체의 버그 일 수 있습니다. maven-release-plugin 버전 2.1을 사용해보고 제대로 작동하는지 확인하십시오.

이 오류는 전체 저장소가 아닌 특정 태그에 태그를 지정하려고 할 때 발생합니다.

if (fileSet.getFiles().length != 0) 
    { 
     throw new ScmException("This provider doesn't support tagging subsets of a directory"); 
    } 

나중에 it was changed와 반전 의미 : 서브 버전 제공을 위해

 { 
-  if (fileSet.getFiles().length != 0) 
+  if (fileSet.getFileList().isEmpty()) 
     { 

, this was fixed :

-  if (fileSet.getFileList().isEmpty()) 
+  if (!fileSet.getFileList().isEmpty()) 
     { 

그것은 고정되지 않은 Maven SCM 1.4에서, 2.1 maven-release-plugin에서 StarTeam; 2.1로 돌아 가면 opening an issue을 고려하십시오.