mirror of
https://github.com/apache/maven.git
synced 2025-03-06 08:39:31 +00:00
improved comments
This commit is contained in:
parent
33de197133
commit
28d284b8c0
@ -84,10 +84,10 @@ private String getChildPathAdjustment( Model child, Model parent )
|
||||
String childName = child.getArtifactId();
|
||||
|
||||
/*
|
||||
* This logic exists only for the sake of backward-compat with 2.x (MNG-5000). In generally, it is wrong to
|
||||
* base URL inheritance on the project directory names as this information is unavailable for POMs in the
|
||||
* repository. In other words, projects where artifactId != projectDirName will see different effective URLs
|
||||
* depending on how the POM was constructed.
|
||||
* This logic (using filesystem) exists only for the sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
|
||||
* base URL inheritance on the module directory names as this information is unavailable for POMs in the
|
||||
* repository. In other words, modules where artifactId != moduleDirName will see different effective URLs
|
||||
* depending on how the model was constructed (from filesystem or from repository).
|
||||
*/
|
||||
File childDirectory = child.getProjectDirectory();
|
||||
if ( childDirectory != null )
|
||||
|
Loading…
x
Reference in New Issue
Block a user