maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1636466 - /maven/doxia/doxia-tools/trunk/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
Date Mon, 03 Nov 2014 22:45:02 GMT
Author: hboutemy
Date: Mon Nov  3 22:45:01 2014
New Revision: 1636466

URL: http://svn.apache.org/r1636466
Log:
add info message when loading project from relative path

Modified:
    maven/doxia/doxia-tools/trunk/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java

Modified: maven/doxia/doxia-tools/trunk/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java?rev=1636466&r1=1636465&r2=1636466&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
(original)
+++ maven/doxia/doxia-tools/trunk/doxia-integration-tools/src/main/java/org/apache/maven/doxia/tools/DefaultSiteTool.java
Mon Nov  3 22:45:01 2014
@@ -584,7 +584,9 @@ public class DefaultSiteTool
             {
                 try
                 {
-                    File pomFile = new File( aProject.getBasedir(), aProject.getModel().getParent().getRelativePath()
);
+                    String relativePath = aProject.getModel().getParent().getRelativePath();
+
+                    File pomFile = new File( aProject.getBasedir(), relativePath );
 
                     if ( pomFile.isDirectory() )
                     {
@@ -602,6 +604,8 @@ public class DefaultSiteTool
                         {
                             parentProject = mavenProject;
                         }
+
+                        getLogger().info( "Parent project loaded from a relative path: "
+ relativePath );
                     }
                 }
                 catch ( ProjectBuildingException e )



Mime
View raw message