waterlx commented on code in PR #11922:
URL: https://github.com/apache/maven/pull/11922#discussion_r3077279674


##########
impl/maven-impl/src/main/java/org/apache/maven/impl/model/DefaultModelBuilder.java:
##########
@@ -1398,7 +1398,7 @@ private Model readEffectiveModel() throws 
ModelBuilderException {
             // path correctly if it was not set in the input model
             if (inputModel.getParent() != null && 
inputModel.getParent().getRelativePath() == null) {
                 String relPath;
-                if (parentModel.getPomFile() != null && isBuildRequest()) {
+                if (parentModel.getPomFile() != null && 
inputModel.getPomFile() != null && isBuildRequest()) {

Review Comment:
   This comment has been resolved, but "Resolve comment" is rejected by 401 (I 
have no idea why...). Please kindly move forward. Thank you!



-- 
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]

Reply via email to