On Wed, Feb 12, 2025 at 12:27 AM sebb <seb...@gmail.com> wrote:

> org.apache.commons:commons-weaver-processor:jar:2.1-SNAPSHOT
>
> Note that the component is currently at version 2.1-SNAPSHOT.
>
> Surely it should not be necessary to build and install the component
> in order to list its dependencies?
> Or am I missing something here?


Yes, it is necessary to build and install the component you depend on.
mvn dependency:list is reading dependencies from the maven repository,
not from the source code. If you haven't installed
org.apache.commons:commons-weaver-processor:jar:2.1-SNAPSHOT locally
and it's not available in the central repo (and it probably isn't)
then Maven can't find it.

The retry resolution can interfere once it's not found, even if you've
since installed it. There's a flag somewhere whose exact syntax I
forget to force a retry.

-- 
Elliotte Rusty Harold
elh...@ibiblio.org

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

Reply via email to