license-cop icon indicating copy to clipboard operation
license-cop copied to clipboard

[AG-46] When parsing POM files, extract licenses from url field if name not available

Open felipead opened this issue 7 years ago • 0 comments

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>

felipead avatar Jan 10 '18 23:01 felipead