get_dependency_license
Resolve Maven dependency licenses to check compliance: get SPDX IDs, permissive or copyleft categories, notes, and sources from POM or GitHub metadata.
Instructions
Resolve license intelligence for Maven dependencies: SPDX id, category (permissive / weak-copyleft / strong-copyleft / network-copyleft / proprietary / unknown), plain-English notes, and source (pom / github / spdx-normalized). Uses POM plus optional GitHub license metadata; category mapping is a static lookup (no external license API).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Project root used to resolve declared repositories. Defaults to the current working directory. | |
| dependencies | Yes | Dependencies to resolve license info for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |