Ok, I found the problem.

It was in my settings.xml file. When you guys said "your repository
probably isn't setup correctly" I thought that meant the repository
itself (ie: Nexus).

I had read this before in the definitive guide but it didn't dawn on me
right away. For anyone else who may want to know, I had to add this to
my settings file.




---
Todd Thiessen
 

> -----Original Message-----
> From: Thiessen, Todd (BVW:9T16) 
> Sent: Thursday, December 11, 2008 3:57 PM
> To: Maven Users List
> Subject: RE: Using a SNAPSHOT version for a parent
> 
> > -----Original Message-----
> > From: sirly...@gmail.com [mailto:sirly...@gmail.com] On 
> Behalf Of John 
> > Stoneham
> > Sent: Thursday, December 11, 2008 1:17 PM
> > To: Maven Users List
> > Subject: Re: Using a SNAPSHOT version for a parent
> > 
> > >> > ie: Is this supported?
> > >> >
> > >> >   <parent>
> > >> >     <artifactId>theid</artifactId>
> > >> >     <groupId>thegroup</groupId>
> > >> >     <version>0.0.1-SNAPSHOT</version>
> > >> >   </parent>
> > 
> > Yep. Are you saying that, if no 0.0.1-SNAPSHOT already 
> exists in your 
> > local repository, but it does in the server repository, 
> then it is not 
> > downloaded by your local Maven run?
> > 
> > If so it sounds like your repository may not be configured to serve 
> > snapshots, as Brian suggested. Maven should list the 
> repositories it's 
> > attempting to download from, and give you even more 
> information if you 
> > pass -X.
> > 
> > - John
> 
> Yes, I am saying exactly that.
> 
> And it does list the repos it is trying to download from. It 
> just say it can't find it.  Here is the exactly snippet of the error:
> 
> 
> Reason: Unable to download the artifact from any repository
> 
>   thegroup:theid:pom:0.0.1-SNAPSHOT
> 
> from the specified remote repositories:
>   Nexus (http://reposerver:8081/nexus/content/groups/public)
> 
> 
> The SNAPSHOT version is in my SNAPSHOT repo and the public 
> group does contain the SNAPSHOT repo.
> 
> It is likely that my Nexus repository isn't properly setup. I 
> don't know what I am supposed to specifically change though.  
> Its policy is set to "snapshot" and I thought that was all 
> that was needed.
> 
> I will investigate further.
> 
> ---
> Todd Thiessen
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 

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

Reply via email to