I don't know why its not working for you, but here's a possible workaround...
Make a new pom, add the snapshot repo, and add the snapshot dependency. Run mvn package so it will download etc everything. Then go back to this project and try running the mvn install using the snapshot again. And perhaps specify -o for offline, so it doesn't attempt to look for updates. Wayne On 4/30/07, gc134728 <[EMAIL PROTECTED]> wrote:
---------- Initial header ----------- From : [EMAIL PROTECTED] To : "Maven Users List" [email protected] CC : Date : Mon, 30 Apr 2007 09:47:48 -0500 Subject : Re: How to load Snapshot plugins from the CLI > If that's your whole log, then you're not pointed to the maven SNAPSHOT repo > for plugins. The message indicates that you haven't defined any new > references to the snapshot repo as indicated by the fact that only "central" > is listed as a repo to look in and central doesn't host plugin snapshots (as > far as I know). You'll need to define a snapshot repo pointing to > http://people.apache.org/maven-snapshot-repository/ in order to get the > (apache hosted) snapshot plugin. > I added a reference in a profile in my settings.xml and made it active. I did It like instructed on the maven website. So it should be available. I ran help:effective-settings and it lists the repository but doesn't mention it's ID which i find a bit strange but also another profile is declared and the ID there is also not mentioned. So probably normal. Anyone have any clues ? > > On 4/30/07, gc134728 <[EMAIL PROTECTED]> wrote: > > > > Dear maven users, > > > > I'm stuck on a problem. I want to execute a plugin from the command line > > but > > not the released version but the snapshot version. > > > > How do I do that? > > > > I added the link to the snapshot repository. No problem their. > > But when i execute the following command : > > mvn > > org.apache.maven.plugins:maven-install-plugin:2.2-SNAPSHOT:install-file... > > > > I get the following error : > > > > [INFO] Failed to resolve artifact. > > > > GroupId: org.apache.maven.plugins > > ArtifactId: maven-install-plugin > > Version: 2.2-SNAPSHOT > > > > Reason: Unable to download the artifact from any repository > > > > org.apache.maven.plugins:maven-install-plugin:pom:2.2-SNAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > What am i doing wrong? > > > > Thx for any assistance. > > Y. Van Steen > > Agfa Connectivity Engineer > > --- > > Scarlet ADSL Unlimited - Only 24,95 euro per month. > > Max download Speed up to 6 Mbps, download volume of 30 GB. Order now... > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > I'm just an unfrozen caveman software developer. I don't understand your > strange, "modern" ways. > > --- Scarlet ADSL Unlimited - Only 24,95 euro per month. Max download Speed up to 6 Mbps, download volume of 30 GB. Order now... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
