Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.8.2
-
None
Description
This issue turned out to set implicitly the base directory of a POM which is only available in the local repository and not in the reactor. This is an unwanted behavior and needs to be reverted for now.
Attachments
Issue Links
- fixes
-
MNG-7215 [Regression] Maven Site Plugin cannot resolve parent site descriptor without locale
- Closed
-
MNG-7218 [Regression] o.a.m.model.Build.getSourceDirectory() incorrectly returns absolute dir on 3.8.2
- Closed
- is caused by
-
MNG-7170 Allow to associate pomFile/${basedir} with DefaultProjectBuilder.build(ModelSource, ...)
- Closed
- links to
Fwiw, this also has a serious performance impact when reading big projects. The cause for the loss of performance is because parent poms are read again, even if they are cached as all cache hits end up being discarded at line:
https://github.com/apache/maven/blob/maven-3.8.1/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java#L869