Because you're using a range, which requires better metadata than log4j
has. See http://repo1.maven.org/maven2/log4j/log4j/maven-metadata.xml

On 4/27/10 8:21 PM, Grant Birchmeier wrote:
> If anyone can help, I'd appreciate it.  This is driving me up the
> wall.  I tried googling, but I couldn't find what I needed.
> 
> When I build, I get this error:
> 
> ---
> Couldn't find a version in [1.2.15, 1.2.16] to match range [1.2.13,1.2.13]
>   log4j:log4j:jar:null
> ---
> 
> But when I list the contents of my repo dir, I clearly have a "1.2.13" 
> version:
> 
> ---
> 1143 ~/$ ls ~/.m2/repository/log4j/log4j/
> 1.2.13/
> 1.2.14/
> 1.2.15/
> maven-metadata-central.xml
> [...etc...]
> ---
> 
> So if I have 1.2.13 in my repo, then why is maven only finding 1.2.14
> and 1.2.15?
> 
> Thanks to anyone who can help
> 
> -Grant
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to