sbt-license-report
sbt-license-report copied to clipboard
Maven placeholder is not replaced.
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]
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.