mdeggers opened a new issue, #5281:
URL: https://github.com/apache/netbeans/issues/5281

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   A parent.relativePath warning is present on Maven projects that use a parent 
pom. This can occur either with a multi-module project or a project that 
references a parent pom in the local repository.
   
   This only occurs on Windows. It does not occur on Linux, and from discussion 
with others, it does not occur on MacOS.
   
   An example screen shot of the error is included.
   
   
![module-error-edited](https://user-images.githubusercontent.com/8965176/211949364-a9d8caf4-1b11-4aa9-806b-0471284b049b.png)
   
   
   ### How to reproduce
   
   There are two ways to reproduce this:
   
   A. Create a Maven multi-module project via NetBeans
   
   1. Create a POM project
   2. Right-mouse click on modules, and create a new module (Java application)
   3. Go into that new module and look at the created pom.xml
   
   The project structure created by NetBeans is correct (nested modules, etc.). 
The warning is not.
   
   B. Open up a project with a parent element pointing to an artifact in the 
local repository.
   
   Again, the project structure is correct, but the warning is not.
   
   The warning does not exist when running the same projects on Linux.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 13
   
   ### Operating System
   
   Windows 10 Pro 64 bit, 22H2, Build 19045.2486, Experience Pack 
120.2212.4190.0
   
   ### JDK
   
   openjdk version "17.0.3" 2022-04-19 OpenJDK 64-Bit Server VM 
Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   Every time a Maven project is opened that contains a parent element.
   
   The parent element can either reference a parent in the same multi-module 
project, or a parent artifact in the local Maven repository.
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to