-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function
Milestone
Description
Mateusz Gajewski opened MNG-8340 and commented
Reproduction: trinodb/trino#23849
Project structure:
> pom.xml
> client/trino-cli/pom.xml (parent.relativePath = ../../pom.xml)maven-shade-plugin writes trino-cli dependency reduced pom to:
${project.build.directory}/pom.xml -> client/trino-cli/target/pom.xmlThe file contains:
<parent>
<relativePath>../../../pom.xml</relativePath>
</parent>which correctly points to root pom.xml
This worked under beta4, fails under beta5 with:
[ERROR] - [FATAL] 'parent.relativePath' points at '../../../pom.xml' but no POM could be found, please verify your project structure @ line 3, column 3 It seems that parent.relativePath is resolved against client/trino-cli instead of client/trino-cli/target where pom.xml is placed.
Affects: 4.0.0-beta-5
Issue Links:
- MNG-8294 Add a consistency check when loading parent
("is caused by")
Remote Links:
Backported to: 4.0.0-rc-1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function