hboutemy commented on code in PR #135:
URL: https://github.com/apache/maven-release/pull/135#discussion_r884300846


##########
maven-release-manager/src/main/java/org/apache/maven/shared/release/phase/CheckoutProjectFromScm.java:
##########
@@ -270,13 +270,19 @@ public ReleaseResult simulate( ReleaseDescriptor 
releaseDescriptor, ReleaseEnvir
     {
         ReleaseResult result = new ReleaseResult();
 
+        MavenProject rootProject = ReleaseUtil.getRootProject( reactorProjects 
);
+        File checkoutDirectory =
+                        FileUtils.resolveFile( rootProject.getBasedir(), 
releaseDescriptor.getCheckoutDirectory() );
+
         if ( releaseDescriptor.isLocalCheckout() )
         {
-            logInfo( result, "This would be a LOCAL check out to perform the 
release ..." );
+            logInfo( result,
+                     "This would be a LOCAL check out to perform the release 
from " + checkoutDirectory + "..." );

Review Comment:
   good idea



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to