This is an automated email from the ASF dual-hosted git repository. mbien pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 4eec5bcadf Fix for Windows Maven parent.relativePath from Mark Herkrath <herkr...@googlemail.com> new af5a1da6f7 Merge pull request #5282 from mdeggers/relativePath 4eec5bcadf is described below commit 4eec5bcadfc58eb8a8e1414fcda196f0d2bfbc71 Author: Mark Eggers <mdegg...@gmail.com> AuthorDate: Wed Jan 11 16:41:29 2023 -0800 Fix for Windows Maven parent.relativePath from Mark Herkrath <herkr...@googlemail.com> --- .../src/org/netbeans/modules/maven/hints/pom/PomModelUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/maven.hints/src/org/netbeans/modules/maven/hints/pom/PomModelUtils.java b/java/maven.hints/src/org/netbeans/modules/maven/hints/pom/PomModelUtils.java index 400f7d9e63..0e97c096a1 100644 --- a/java/maven.hints/src/org/netbeans/modules/maven/hints/pom/PomModelUtils.java +++ b/java/maven.hints/src/org/netbeans/modules/maven/hints/pom/PomModelUtils.java @@ -183,7 +183,7 @@ public final class PomModelUtils { @Override public ModelSource2 getRelatedSource(String relative) { - return new M2S(new File(pomFile, relative), null); + return new M2S(new File(pomFile.getParentFile(), relative), null); } @Override --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists