license-cop
license-cop copied to clipboard
[AG-46] When parsing POM files, extract licenses from url field if name not available
We have a case for a license declared inside a POM file that did not have the name field, but had the url field. The url pointed to a custom license that should have been included in the report.
http://central.maven.org/maven2/com/newrelic/agent/java/newrelic-api/3.9.0/newrelic-api-3.9.0.pom
<licenses>
<license>
<url>https://newrelic.com/docs/java/java-agent-license</url>
</license>
</licenses>