Skip to content

[MNG-8218] Non-normalized paths are compared which fails when using relativePath #9785

@jira-importer

Description

@jira-importer

Delany opened MNG-8218 and commented

Given a project structure of

parent/pom.xml
parent/common/pom.xml
parent/common_biometriccommon/pom.xml

Where the common module pom references submodules like so

<modules>
  <module>../common_biometriccommon</module> 

And the biometriccommon child module references its parent

  <relativePath>../common/pom.xml</relativePath>
</parent> 

The build is successful with 3.9.9 but fails in Maven 4 with an Internal error: java.lang.IllegalStateException: No unique Source for ...

 


Affects: 4.0.0-alpha-9, 4.0.0-beta-3

Attachments:

Issue Links:

  • MNG-8223 DefaultTransformerContextBuilder fails incorrectly with No Unique Source

Remote Links:

Backported to: 4.0.0-beta-4

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions