Open laurentvaills opened 2 years ago
I digged a bit, and it seems Maven reports this error long before calling the DetectExtension
, so that seems a bit complicated to handle this case. But my knowledge of Maven internals is quite light you'll tell me what is your findings on this.
I am using a BOM in my dependency management to get all my dependencies versions aligned. Unfortunately, the property
${os.detected.classifier}
is not replaced in such case.See the following pom.xml (I can't attach an XML file to the issue) for a reproducible test case:
I get the following error:
If I replace
${os.detected.classifier}
withosx-aarch_64
it works, so the artifact exists.I am using Maven 3.8.6: