Repository: maven Updated Branches: refs/heads/master 28d284b8c -> c5dd16988
fixed error reported by Checkstyle Project: http://git-wip-us.apache.org/repos/asf/maven/repo Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/c5dd1698 Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/c5dd1698 Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/c5dd1698 Branch: refs/heads/master Commit: c5dd16988ee04b8c5e612633e6608a9e20a84b0d Parents: 28d284b Author: Hervé Boutemy <hbout...@apache.org> Authored: Sun Aug 9 17:25:00 2015 +0200 Committer: Hervé Boutemy <hbout...@apache.org> Committed: Sun Aug 9 17:25:00 2015 +0200 ---------------------------------------------------------------------- .../maven/model/inheritance/DefaultInheritanceAssembler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven/blob/c5dd1698/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java ---------------------------------------------------------------------- diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java b/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java index 8eaa522..3b812ea 100644 --- a/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java +++ b/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java @@ -84,7 +84,8 @@ public class DefaultInheritanceAssembler String childName = child.getArtifactId(); /* - * This logic (using filesystem) exists only for the sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to + * This logic (using filesystem, against wanted independance from the user environment) 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).