New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Report Using Coursier Does Not Provide License Information of Dependency Packages #1790
Comments
For downstreams wishing to package |
I think this was solved in #1827. Note that some still don't have a license, because I think coursier relies on the pom file for it, which does not always contain the license information. |
This wasn't resolved completely, I am still experiencing this issue. I am currently working on an improvement in sbt-license-report which is to use |
So I managed to confirm that the core XML parser in coursier is indeed working as expected (see #2842). My current hypothesis is that the licenses field might be propagated from some parent ivy xml which is why its missing in certain dependencies. I am still trying to get my head around how ivy works exactly but I can confirm its not a basic XML parsing issue. |
steps
sbt version: 1.3.13
build.sbt:
problem
With Coursier, the task
updateFull
does not seem to provide the license information of the dependency packages. This does not seem like the correct behaviour. Output with Coursier is as follow:expectation
Using Ivy resolution on the same project,
updateFull
provides much more information. Output with Ivy is as follow:notes
This issue was originally reported at sbt/sbt#5670
The text was updated successfully, but these errors were encountered: