Wim Symons created SLING-11992:
----------------------------------
Summary: Maven 3.9.2+ reports plugin validation issue on
htl-maven-plugin
Key: SLING-11992
URL: https://issues.apache.org/jira/browse/SLING-11992
Project: Sling
Issue Type: Bug
Components: Maven Plugins and Archetypes
Affects Versions: HTL Maven Plugin 2.0.4-1.4.0
Reporter: Wim Symons
Since Maven 3.9.2, a plugin validation warning is reported at the end of each
Maven build.
A snippet of the output:
{code:java}
[WARNING] * org.apache.sling:htl-maven-plugin:2.0.4-1.4.0
...
[WARNING] Plugin issue(s):
[WARNING] * Plugin should declare these Maven artifacts in `provided` scope:
[org.apache.maven:maven-artifact:3.3.9,
org.apache.maven:maven-settings-builder:3.3.9,
org.apache.maven:maven-repository-metadata:3.3.9,
org.apache.maven:maven-builder-support:3.3.9,
org.apache.maven:maven-core:3.3.9,
org.apache.maven:maven-aether-provider:3.3.9,
org.apache.maven:maven-settings:3.3.9, org.apache.maven:maven-plugin-api:3.3.9,
org.apache.maven:maven-model-builder:3.3.9, org.apache.maven:maven-model:3.3.9]
...
[WARNING] Fix reported issues by adjusting plugin configuration or by upgrading
above listed plugins. If no upgrade available, please notify plugin maintainers
about reported issues.{code}
This should be fixed in order for the plugin to be compatible with Maven 4.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)