Assume any snapshot version of any artifact is not available in any repo unless it's your local repo and you put it there yourself.
Snapshots are for development, not for publication. On Wed, Feb 12, 2025 at 1:37 PM Eric Bresie <ebre...@gmail.com> wrote: > > Is this saying that not every commons artifact (1) is available in the > snapshot repo (2)? > > Why would some be in the snapshot repo and others not? Are each of the given > just not setup to publish snapshots? > > > 1. https://repo1.maven.org/maven2/org/apache/commons/ > 2. https://repository.apache.org/content/groups/snapshots/ > > Get Outlook for iOS<https://aka.ms/o0ukef> > ________________________________ > From: Elliotte Rusty Harold <elh...@ibiblio.org> > Sent: Wednesday, February 12, 2025 7:23:16 AM > To: Commons Developers List <dev@commons.apache.org> > Subject: Re: [ALL] Maven module expert needed please > > 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 > -- 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