[ https://issues.apache.org/jira/browse/MNG-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501629#comment-14501629 ]
ASF GitHub Bot commented on MNG-5806: ------------------------------------- GitHub user mathjeff opened a pull request: https://github.com/apache/maven/pull/42 MNG-5806. Fixing the finding of a child's parent pom.xml that is specifi... ...ed by relativePath when a reactor specifies the child by symlink You can merge this pull request into a Git repository by running: $ git pull https://github.com/mathjeff/maven master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven/pull/42.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #42 ---- commit c816f8bddca66d703dce3fb44556ec0bc6492407 Author: Jeffry Gaston <gast...@gmail.com> Date: 2015-04-18T23:02:43Z MNG-5806. Fixing the finding of a child's parent pom.xml that is specified by relativePath when a reactor specifies the child by symlink ---- > Inconsistent resolution of parent.relativePath with symlinks > ------------------------------------------------------------ > > Key: MNG-5806 > URL: https://issues.apache.org/jira/browse/MNG-5806 > Project: Maven > Issue Type: Bug > Components: Dependencies > Affects Versions: 3.3.1, 3.3.2 > Environment: Ubuntu > Reporter: Jeffry Gaston > Attachments: maven-relativePath-symlink-error.zip > > Original Estimate: 1h > Remaining Estimate: 1h > > Suppose a reactor pom.xml, R, specifies that it has a child module, C. > Suppose that C exists but not is actually located at some other, unrelated > path to R (not one directory deeper than R). > Suppose that the working directory for R contains a symlink, S (which looks > like C), with the same name as C, pointing at the directory containing C. > Suppose that C specifies a parent P and provides a relativePath at which to > find P. > Suppose that P exists at the specified relative path. > Then, when a user `mvn clean install` while R is in the working directory, > then Maven will state that P does not exist, and it will display the wrong > path to P: the value it will list will be the value that could be computed > using string manipulation based on the location of R, the name of C, and the > relativePath to P, without first resolving the symlink that is C. -- This message was sent by Atlassian JIRA (v6.3.4#6332)