Hi,

Did you have a configuration block inside execution?

Please look at:
https://maven.apache.org/guides/mini/guide-configuring-plugins.html#using-the-executions-tag
https://maven.apache.org/guides/mini/guide-default-execution-ids.html

On Mon, 21 Oct 2024 at 17:37, Elliotte Rusty Harold <[email protected]> wrote:
>
> While investigating https://issues.apache.org/jira/browse/MDEP-532 I
> noticed that ignoredUnusedDeclaredDependencies works as expected when
> running mvn verify, but not when running mvn dependency:analyze.
>
> Is it normal and expected that plugin configurations set in a
> project's pom.xml, only apply when executing a phase but not when
> executing a plugin goal? If so, is there any way to set configuration
> properties, either in pom.xml or from the command line, when directly
> executing a plugin goal?
>
> --
> Elliotte Rusty Harold
> [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


-- 
Sławomir Jaranowski

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to