hboutemy commented on code in PR #135:
URL: https://github.com/apache/maven-release/pull/135#discussion_r884300675
##########
maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java:
##########
@@ -199,9 +201,15 @@ private void transform( ReleaseDescriptor
releaseDescriptor, ReleaseEnvironment
{
result.setStartTime( ( startTime >= 0 ) ? startTime :
System.currentTimeMillis() );
+ URI root = ReleaseUtil.getRootProject( reactorProjects
).getBasedir().toURI();
+
for ( MavenProject project : reactorProjects )
{
- logInfo( result, "Transforming '" + project.getName() + "'..." );
+ URI pom = project.getFile().toURI();
+ logInfo( result,
+ "Transforming " + root.relativize( pom ).getPath() + ' '
Review Comment:
I suppose going through a Path instead of an URI gives the exact same
code/complexity/efficiency
--
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]