kwin commented on a change in pull request #86:
URL: https://github.com/apache/maven-release/pull/86#discussion_r777721335



##########
File path: 
maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/RewritePomsForDevelopmentPhase.java
##########
@@ -65,7 +65,19 @@ protected void transformScm( MavenProject project, Model 
modelTarget, ReleaseDes
                         scmRoot.setConnection( scm.getConnection() );
                         scmRoot.setDeveloperConnection( 
scm.getDeveloperConnection() );
                         scmRoot.setUrl( scm.getUrl() );
-                        scmRoot.setTag( translator.resolveTag( scm.getTag() ) 
);
+                        String tag = translator.resolveTag( scm.getTag() );

Review comment:
       Why? This behavior makes sense for every ScmTranslator not supporting 
tag resolving. I would rather remove the handling from Cvs and return null 
there instead.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to