sbt-license-report icon indicating copy to clipboard operation
sbt-license-report copied to clipboard

Maven placeholder is not replaced.

Open arw357 opened this issue 1 year ago • 1 comments

Having a pom such as this
https://repo1.maven.org/maven2/org/keycloak/keycloak-adapter-core/23.0.0/keycloak-adapter-core-23.0.0.pom

<groupId>org.keycloak</groupId>
     <artifactId>${keycloak.crypto.artifactId}</artifactId>
</dependency>

Will lead to :

(updateLicenses) sbt.librarymanagement.ResolveException: unresolved dependency: org.keycloak#${keycloak.crypto.artifactId};working@company: java.net.URISyntaxException: Illegal character in path at index 64: https://nexus.io/repository/company-central/org/keycloak/${keycloak.crypto.artifactId}/working@company/${keycloak.crypto.artifactId}[email protected]

arw357 avatar Dec 13 '23 12:12 arw357

This may be related to https://github.com/sbt/sbt-license-report/issues/87, tl;dr is that currently sbt-license-report does dependency resolution manually via Ivy which causes problems similar to this. Ideally we would re-use the standard DependencyResolution mechanism (which defaults to coursier) but as you can see from the previously mentioned issue this is currently blocked.

mdedetrich avatar Jan 04 '24 07:01 mdedetrich