You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sench <se...@gmail.com> on 2008/04/22 13:52:52 UTC

Bug in Nexus repository?

Hi

I'm using Nexus 1.0.0-beta-2 version.
I have mirrored central repository to use Nexus's releases repository.
I have already deployed there myfaces artifact with his all dependencies and
allready re-indexed it.
I have add new index into eclipse's maven indexes view and it works fine!
But when I'm adding myfaces dependency to my project it downloads some
dependencies from central repository 

22.04.08 6:33:43 ACT: Downloading central :
myfaces/myfaces-parent/1.1.1/myfaces-parent-1.1.1.pom
22.04.08 6:33:43 ACT: Downloaded [central] ->
http://repo1.maven.org/maven2/myfaces/myfaces-parent/1.1.1/myfaces-parent-1.1.1.pom

But when I'm disconnecting from internet and trying to do same it downloads
that POM from releases repository( after waiting some seconds ).

If so why he is trying to download from central when I had mirrored it???

-- 
View this message in context: http://www.nabble.com/Bug-in-Nexus-repository--tp16823815s177p16823815.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


RE: Bug in Nexus repository?

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Your settings controls what Maven does. My guess is that the myfaces
poms introduce the central repository with a different name. This is why
we recommend using mirrorOf * (or external:* with 2.0.9+) so that you
aren't constantly chasing repo ids.

-----Original Message-----
From: Sench [mailto:sench4@gmail.com] 
Sent: Tuesday, April 22, 2008 7:53 AM
To: users@maven.apache.org
Subject: Bug in Nexus repository?


Hi

I'm using Nexus 1.0.0-beta-2 version.
I have mirrored central repository to use Nexus's releases repository.
I have already deployed there myfaces artifact with his all dependencies
and
allready re-indexed it.
I have add new index into eclipse's maven indexes view and it works
fine!
But when I'm adding myfaces dependency to my project it downloads some
dependencies from central repository 

22.04.08 6:33:43 ACT: Downloading central :
myfaces/myfaces-parent/1.1.1/myfaces-parent-1.1.1.pom
22.04.08 6:33:43 ACT: Downloaded [central] ->
http://repo1.maven.org/maven2/myfaces/myfaces-parent/1.1.1/myfaces-paren
t-1.1.1.pom

But when I'm disconnecting from internet and trying to do same it
downloads
that POM from releases repository( after waiting some seconds ).

If so why he is trying to download from central when I had mirrored
it???

-- 
View this message in context:
http://www.nabble.com/Bug-in-Nexus-repository--tp16823815s177p16823815.h
tml
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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


Re: Bug in Nexus repository?

Posted by Jason van Zyl <ja...@maven.org>.
Use the Nexus user mailing list for Nexus questions.

nexus-user-subscribe@sonatype.org

On 22-Apr-08, at 4:52 AM, Sench wrote:
>
> Hi
>
> I'm using Nexus 1.0.0-beta-2 version.
> I have mirrored central repository to use Nexus's releases repository.
> I have already deployed there myfaces artifact with his all  
> dependencies and
> allready re-indexed it.
> I have add new index into eclipse's maven indexes view and it works  
> fine!
> But when I'm adding myfaces dependency to my project it downloads some
> dependencies from central repository
>
> 22.04.08 6:33:43 ACT: Downloading central :
> myfaces/myfaces-parent/1.1.1/myfaces-parent-1.1.1.pom
> 22.04.08 6:33:43 ACT: Downloaded [central] ->
> http://repo1.maven.org/maven2/myfaces/myfaces-parent/1.1.1/myfaces-parent-1.1.1.pom
>
> But when I'm disconnecting from internet and trying to do same it  
> downloads
> that POM from releases repository( after waiting some seconds ).
>
> If so why he is trying to download from central when I had mirrored  
> it???
>
> -- 
> View this message in context: http://www.nabble.com/Bug-in-Nexus-repository--tp16823815s177p16823815.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

We all have problems. How we deal with them is a measure of our worth.

-- Unknown 




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