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 <elh...@ibiblio.org> 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
> elh...@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>


-- 
Sławomir Jaranowski

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to