dependabot[bot] opened a new pull request, #618: URL: https://github.com/apache/opennlp-sandbox/pull/618
Bumps [org.codehaus.mojo:license-maven-plugin](https://github.com/mojohaus/license-maven-plugin) from 2.7.1 to 2.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/mojohaus/license-maven-plugin/releases">org.codehaus.mojo:license-maven-plugin's releases</a>.</em></p> <blockquote> <h2>2.9.0</h2> <p>License Maven Plugin 2.9.0 caches downloaded license texts between builds, adds name-based URL overrides and stricter download checks, and fixes a long list of reported bugs in headers, the third-party report and dependency resolution. The requirements are unchanged: Maven 3.9.0 or later, Java 8.</p> <h2>⚠️ Changes to check when upgrading</h2> <ul> <li><strong><code>-Dlicense.licenceFile</code> is now <code>-Dlicense.licenseFile</code></strong> for <code>update-project-license</code> and <code>check-project-license</code>. The misspelled property still works for now, with a deprecation warning (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/797">#797</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/479">#479</a> by <a href="https://github.com/zdenek-jonas"><code>@zdenek-jonas</code></a>).</li> <li><strong><code>verbose</code> is deprecated.</strong> Its messages are logged at debug level, so use <code>-X</code> instead (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/810">#810</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/340">#340</a> by <a href="https://github.com/digulla"><code>@digulla</code></a>).</li> </ul> <h2>✨ Highlights</h2> <ul> <li><strong>License texts are cached between builds</strong> in <code>${settings.localRepository}/.cache/mojohaus-license-maven-plugin</code> and reused for 30 days, then revalidated with <code>ETag</code>/<code>Last-Modified</code>. CI builds that restore the local repository stop downloading the same license pages on every run (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/780">#780</a>).</li> <li><strong><code>licenseNameUrlOverrides</code></strong> downloads a license text from a URL you choose, matched by a regular expression on the license name, so variants of one license share a clean text (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/718">#718</a> by <a href="https://github.com/MrBanana05"><code>@MrBanana05</code></a>).</li> <li><strong>Stricter downloads.</strong> <code>failOnForbidden</code> fails the build when a dependency has a license listed in <code>forbiddenLicenses</code> (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/792">#792</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/323">#323</a> by <a href="https://github.com/ppalaga"><code>@ppalaga</code></a>), and <code>failOnMissingLicenseFile</code> fails it when a license text could not be downloaded (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/791">#791</a>). HTML pages are no longer accepted as license texts (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/790">#790</a>).</li> <li><strong>Dependency POMs are read from the repositories of the POMs that lead to them</strong>, so licenses of dependencies hosted outside the project's repositories are no longer "Unknown" (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/807">#807</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/752">#752</a> by <a href="https://github.com/lrozenblyum"><code>@lrozenblyum</code></a>).</li> <li><strong>The third-party report links each license to its URL</strong> (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/799">#799</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/212">#212</a> by <a href="https://github.com/digulla"><code>@digulla</code></a>).</li> <li><strong>Proxy:</strong> every download of the plugin now uses the active Maven proxy (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/804">#804</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/434">#434</a> by <a href="https://github.com/lexx9999"><code>@lexx9999</code></a>).</li> <li><strong>File headers:</strong> the FreeMarker directive stays first when a header is added (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/806">#806</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/412">#412</a> by <a href="https://github.com/smokemaker"><code>@smokemaker</code></a>). Blank lines of the license are kept when an existing header is read (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/808">#808</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/347">#347</a> by <a href="https://github.com/heapifyman"><code>@heapifyman</code></a>). The package statement is no longer matched inside comments (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/803">#803</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/562">#562</a> by <a href="https://github.com/onacit"><code>@onacit</code></a>). Files fall back to LF when no file sets the end of line (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/800">#800</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/511">#511</a> by <a href="https://github.com/jacek-lewandowski"><code>@jacek-lewandowski</code></a>).</li> <li><strong>Other fixes:</strong> relative <code>file:</code> URLs of license texts resolve against the base directory (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/809">#809</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/428">#428</a> and <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/431">#431</a> by <a href="https://github.com/duracotton"><code>@duracotton</code></a>). The third-party file is added to the resources whatever its name (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/796">#796</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/124">#124</a> by <a href="https://github.com/bnese"><code>@bnese</code></a>), and the template can read the project (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/801">#801</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/365">#365</a> by <a href="https://github.com/ST-DDT"><code>@ST-DDT</code></a>). A missing classpath license repository fails with a clear error (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/802">#802</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/384">#384</a> by <a href="https://github.com/HenningL"><code>@HenningL</code></a>), and unknown missing-file entries are logged at debug level when the file is remote (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/798">#798</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/201">#201</a> by <a href="https://github.com/TorstenKruse"><code>@TorstenKruse</code></a>). The artifact cache no longer leaks between helper instances (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/793">#793</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/375">#375</a> by <a href="https://github.com/cwhol mes"><code>@cwholmes</code></a>), and the dead EUPL 1.1 header URL is replaced (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/795">#795</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/443">#443</a> by <a href="https://github.com/dodinh"><code>@dodinh</code></a>).</li> <li><strong><code>overrideFile</code> is no longer deprecated.</strong> It is the choice for a file inside the project, and <code>overrideUrl</code> stays for remote and <code>classpath:</code> locations (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/794">#794</a>, <a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/416">#416</a> by <a href="https://github.com/bogdanb"><code>@bogdanb</code></a>).</li> <li><strong>Documentation</strong> moved to Markdown (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/783">#783</a>), and says that includes and excludes are relative to the roots (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/805">#805</a>).</li> </ul> <h2>🚀 New features and improvements</h2> <ul> <li>Reject HTML responses as license texts (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/790">#790</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Cache downloaded license texts between builds (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/780">#780</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Add failOnMissingLicenseFile to the download goals (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/791">#791</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Scope the artifact cache of DefaultThirdPartyHelper to the helper (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/793">#793</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Remove the deprecation of the overrideFile parameter (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/794">#794</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Add failOnForbidden to the download goals (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/792">#792</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Feat: Allow easier Reusing / Normalization of License Texts (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/718">#718</a>) <a href="https://github.com/MrBanana05"><code>@MrBanana05</code></a></li> </ul> <h2>🐛 Bug Fixes</h2> <ul> <li>Read dependency POMs from the repositories of the POMs that lead to them (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/807">#807</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Link licenses to their URL in the third-party report (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/799">#799</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Log the verbose messages at debug level and deprecate verbose (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/810">#810</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Replace the dead URL in the EUPL 1.1 header (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/795">#795</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Use the active proxy for the other downloads of the plugin (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/804">#804</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Add the third-party file to the resource directory regardless of its name (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/796">#796</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Fall back to LF when no file can set the end of line (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/800">#800</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Rename the licenseFile property to license.licenseFile (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/797">#797</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Resolve relative file URLs of license texts against the basedir (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/809">#809</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Keep the ftl directive first when adding a file header (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/806">#806</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Keep blank lines of the license when reading an existing header (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/808">#808</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Log unknown missing file entries at DEBUG when the file is remote (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/798">#798</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Expose the project to the third-party file template (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/801">#801</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Fail with a clear error when a classpath license repository is missing (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/802">#802</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> <li>Anchor the package statement search outside comments (<a href="https://redirect.github.com/mojohaus/license-maven-plugin/issues/803">#803</a>) <a href="https://github.com/slachiewicz"><code>@slachiewicz</code></a></li> </ul> <h2>📝 Documentation updates</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/14089cffaa239d88135945dad48efef07f21149a"><code>14089cf</code></a> [maven-release-plugin] prepare release 2.9.0</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/a379f4c8f01b75d412162cddc50ebcdbd44a0921"><code>a379f4c</code></a> Run the dependency-repository IT on Maven 3 only</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/23cca7fb6de3c29e02ce23366ef37fdf11465259"><code>23cca7f</code></a> Write the repo-b URL of the IT dependency POM in a pre-build hook</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/f9d54250fc56bf6b2e53a82b0b97018a4f8836e3"><code>f9d5425</code></a> Read dependency POMs from the repositories of the POMs that lead to them</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/395384b34e0bbd14da760e14e1a018a1f0ca96a3"><code>395384b</code></a> Expect the license link in the aggregate report IT</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/9313fcbc0448d03d5cc688a634394643ac0f67fa"><code>9313fcb</code></a> Link licenses to their URL in the third-party report</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/66d4680da703f59b0e635d860b0ebfde65175cee"><code>66d4680</code></a> Log the verbose messages at debug level</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/3cfa40f5acffd5ba8c366d3d0d92b91badd6c9b6"><code>3cfa40f</code></a> Replace the dead URL in the EUPL 1.1 header</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/ccf63e147f9364bf53c781c4cb749e157ce301f1"><code>ccf63e1</code></a> Use the active proxy for the other downloads of the plugin</li> <li><a href="https://github.com/mojohaus/license-maven-plugin/commit/ce78c056c045ed3c8f4d29b6e4ff95e15bab0328"><code>ce78c05</code></a> Add the third-party file to the resource directory regardless of its name</li> <li>Additional commits viewable in <a href="https://github.com/mojohaus/license-maven-plugin/compare/2.7.1...2.9.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
