Re: central repo?

2011-05-18 Thread Brian Fox
I just wanted to close the loop on this, http://search.maven.org is
now updated incrementally in lockstep with the contents of Central.

On Fri, May 6, 2011 at 9:53 AM, Brian Fox bri...@infinity.nu wrote:
 On Fri, May 6, 2011 at 3:54 AM, Nord, James jn...@nds.com wrote:
 Hi Brian,

 we incorporate the feedback we received and ensure the index used to render 
 the browse is completely in lockstep with the contents.

 Interesting...  Are all the mirrors updated atomically with repo1 (I didn't 
 think they where) so the engineering effort in this must be huge :-)

 I won't go and say it's completely atomic but here's what happens:

 All of the inbound syncs run on a staging machine. Some repos are
 pulled hourly (forges), others daily. Once this process is complete,
 the updated contents are indexed and then the staging location is
 pushed out simultaneously to the UK, the live Central machine, and a
 US production failover folder on the staging machine. We will push the
 indexes at the same time to the search server so the window between
 contents arriving on Central and appearing on Search is minimal.


 Just don't want it forgotten that just as it is in repo1.m.o it may not be 
 in uk.m.o  (and if it is in the process of being synced could be only be 
 partially there?)

 Thanks for the quick workaround.

 /James

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: 05 May 2011 17:53
 To: Maven Users List
 Subject: Re: central repo?

 Than you, i'll let the team know.
 http://repo2.maven.org/maven2/org/
 Also, we've adjusted how the redirects work and included a static page so 
 people don't feel like the repo was hijacked:

 Deeper links to artifact folders will show the older index view for now 
 until we incorporate the feedback we received and ensure the index used to 
 render the browse is completely in lockstep with the contents.

 On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey jim.mccas...@pervasive.com 
 wrote:
 So, I'm not sure anyone here will care about this.  But Maven Central does 
 not work with IE9.

 You get an error like this:

 When a website causes a failure or crash, Internet Explorer attempts to 
 restore the site. It stops after two tries to avoid an endless loop.

 And the URL switches to this:

 res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#bro
 wse

 I had a friend try his system with IE8 and it worked fine.  Needless to say 
 Chrome and FF work just fine.

 -Jim

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: Thursday, May 05, 2011 8:50 AM
 To: Maven Users List
 Subject: Re: central repo?

 On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

 3:22 CST daily.

 -
 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



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



 **
 This message is confidential and intended only for the addressee. If you 
 have received this message in error, please immediately notify the 
 postmas...@nds.com and delete it from your system as well as any copies. The 
 content of e-mails as well as traffic data may be monitored by NDS for 
 employment and security purposes. To protect the environment please do not 
 print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 
 4EX, United Kingdom. A company registered in England and Wales. Registered 
 no. 3080780. VAT no. GB 603 8808 40-00
 **

 -
 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



RE: central repo?

2011-05-06 Thread Nord, James
Hi Brian,

we incorporate the feedback we received and ensure the index used to render 
the browse is completely in lockstep with the contents.

Interesting...  Are all the mirrors updated atomically with repo1 (I didn't 
think they where) so the engineering effort in this must be huge :-)

Just don't want it forgotten that just as it is in repo1.m.o it may not be in 
uk.m.o  (and if it is in the process of being synced could be only be partially 
there?)

Thanks for the quick workaround.

/James

-Original Message-
From: Brian Fox [mailto:bri...@infinity.nu]
Sent: 05 May 2011 17:53
To: Maven Users List
Subject: Re: central repo?

Than you, i'll let the team know.
http://repo2.maven.org/maven2/org/
Also, we've adjusted how the redirects work and included a static page so 
people don't feel like the repo was hijacked:

Deeper links to artifact folders will show the older index view for now until 
we incorporate the feedback we received and ensure the index used to render the 
browse is completely in lockstep with the contents.

On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey jim.mccas...@pervasive.com 
wrote:
 So, I'm not sure anyone here will care about this.  But Maven Central does 
 not work with IE9.

 You get an error like this:

 When a website causes a failure or crash, Internet Explorer attempts to 
 restore the site. It stops after two tries to avoid an endless loop.

 And the URL switches to this:

 res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#bro
 wse

 I had a friend try his system with IE8 and it worked fine.  Needless to say 
 Chrome and FF work just fine.

 -Jim

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: Thursday, May 05, 2011 8:50 AM
 To: Maven Users List
 Subject: Re: central repo?

 On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

 3:22 CST daily.

 -
 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



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



**
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**

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



Re: central repo?

2011-05-06 Thread Brian Fox
On Thu, May 5, 2011 at 10:09 PM, Owen Jacobson
owen.jacob...@grimoire.ca wrote:
 Vastly appreciated. The current search page is pretty good from a usability 
 point of view (other than the piss-poor URL structure) but lags too far 
 behind the repository contents to be useful when, e.g., checking that new 
 releases have been copied to central successfully before announcing them.

 Software I released to my own repo two days ago is in central, but still 
 hasn't shown up in search.maven.org.

Yes, we're fixing that, so it should be updated and published
everytime central is updated.


 -o

 On 2011-05-05, at 12:52 PM, Brian Fox wrote:

 Than you, i'll let the team know.

 Also, we've adjusted how the redirects work and included a static page
 so people don't feel like the repo was hijacked:
 http://repo2.maven.org/maven2/org/

 Deeper links to artifact folders will show the older index view for
 now until we incorporate the feedback we received and ensure the index
 used to render the browse is completely in lockstep with the contents.

 On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey
 jim.mccas...@pervasive.com wrote:
 So, I'm not sure anyone here will care about this.  But Maven Central does 
 not work with IE9.

 You get an error like this:

 When a website causes a failure or crash, Internet Explorer attempts to 
 restore the site. It stops after two tries to avoid an endless loop.

 And the URL switches to this:

 res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse

 I had a friend try his system with IE8 and it worked fine.  Needless to say 
 Chrome and FF work just fine.

 -Jim

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: Thursday, May 05, 2011 8:50 AM
 To: Maven Users List
 Subject: Re: central repo?

 On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

 3:22 CST daily.

 -
 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



 -
 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



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



Re: central repo?

2011-05-06 Thread Brian Fox
On Fri, May 6, 2011 at 3:54 AM, Nord, James jn...@nds.com wrote:
 Hi Brian,

 we incorporate the feedback we received and ensure the index used to render 
 the browse is completely in lockstep with the contents.

 Interesting...  Are all the mirrors updated atomically with repo1 (I didn't 
 think they where) so the engineering effort in this must be huge :-)

I won't go and say it's completely atomic but here's what happens:

All of the inbound syncs run on a staging machine. Some repos are
pulled hourly (forges), others daily. Once this process is complete,
the updated contents are indexed and then the staging location is
pushed out simultaneously to the UK, the live Central machine, and a
US production failover folder on the staging machine. We will push the
indexes at the same time to the search server so the window between
contents arriving on Central and appearing on Search is minimal.


 Just don't want it forgotten that just as it is in repo1.m.o it may not be in 
 uk.m.o  (and if it is in the process of being synced could be only be 
 partially there?)

 Thanks for the quick workaround.

 /James

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: 05 May 2011 17:53
 To: Maven Users List
 Subject: Re: central repo?

 Than you, i'll let the team know.
 http://repo2.maven.org/maven2/org/
 Also, we've adjusted how the redirects work and included a static page so 
 people don't feel like the repo was hijacked:

 Deeper links to artifact folders will show the older index view for now until 
 we incorporate the feedback we received and ensure the index used to render 
 the browse is completely in lockstep with the contents.

 On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey jim.mccas...@pervasive.com 
 wrote:
 So, I'm not sure anyone here will care about this.  But Maven Central does 
 not work with IE9.

 You get an error like this:

 When a website causes a failure or crash, Internet Explorer attempts to 
 restore the site. It stops after two tries to avoid an endless loop.

 And the URL switches to this:

 res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#bro
 wse

 I had a friend try his system with IE8 and it worked fine.  Needless to say 
 Chrome and FF work just fine.

 -Jim

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: Thursday, May 05, 2011 8:50 AM
 To: Maven Users List
 Subject: Re: central repo?

 On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

 3:22 CST daily.

 -
 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



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



 **
 This message is confidential and intended only for the addressee. If you have 
 received this message in error, please immediately notify the 
 postmas...@nds.com and delete it from your system as well as any copies. The 
 content of e-mails as well as traffic data may be monitored by NDS for 
 employment and security purposes. To protect the environment please do not 
 print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 
 4EX, United Kingdom. A company registered in England and Wales. Registered 
 no. 3080780. VAT no. GB 603 8808 40-00
 **

 -
 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



Re: central repo?

2011-05-05 Thread Karl Heinz Marbaise
Hi,

i would appreciate the old state as well... +1 from me too...

Just accessing http://repo1.maven.org/maven2/org/apache/ to see what 's
there without SEARCH engine...proxy checking etc.

If i like to use it the behavior before was: Just use search.maven.org
...was perfect...

Kind regards
Karl Heinz Marbaise

-
Kind regards
Karl Heinz Marbaise

http://www.soebes.de
http://www.skmwiki.de
http://supose.org/wiki/supose
--
View this message in context: 
http://maven.40175.n5.nabble.com/central-repo-tp4371264p4372291.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: central repo?

2011-05-05 Thread Jörg Schaible
Karl Heinz Marbaise wrote:

 Hi,
 
 i would appreciate the old state as well... +1 from me too...
 
 Just accessing http://repo1.maven.org/maven2/org/apache/ to see what 's
 there without SEARCH engine...proxy checking etc.
 
 If i like to use it the behavior before was: Just use search.maven.org
 ...was perfect...

+1

- Jörg


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



Re: central repo?

2011-05-05 Thread Brian Fox
This was an attempt to block the constant scrapers that are attempting
to crawl the entire repository for no good reason, and the bandwidth
isn't free.

The index used to serve the search is not the same index used by M2e.
Fwiw, the m2e indexes are updated daily now, but I need to see why
this index was out of date.

Regardless, we'll go back to the drawing board and see how to make
this less of a hurdle, while still interrupting the scrapers.

On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote:
 That doesn't browse the repo it browses what it thinks is the repo (or the 
 index...)

 e.g. there is no org.eclipse.tycho but there is

 Also which repo does it think that is - the UK mirror whuch may or may not be 
 updated with the latest deployment??!?

 http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml
  (is ok)

 there is no org/eclipse/tycho according to 
 http://search.maven.org/#browse%7C1428323731

 /James - ie let me see the real think not the index that is wrong most of the 
 time


 -Original Message-
 From: Arnaud Héritier [mailto:aherit...@gmail.com]
 Sent: 04 May 2011 23:24
 To: Maven Users List
 Subject: Re: central repo?

 Hi,

 You can continue to browse the repository from here :
 http://search.maven.org/#browse%7C47

 Is it what you searched ?

 Arnaud

 On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

 Hi all,

 What happened recently to the central repos and their mirrors (uk).

 When I try to browse I now get redirected to search.maven.org which is
 not a good thing when trying to work out why something isn't working
 as expected when proxied via a repo manager.

 Also I guess these searches run of the index - but as far as I have
 always been led to believe the indexes are correct on Sunday only, and
 don't help when the metadata is incorrect.

 How can I get back to the old bog standard directory listings produced
 by the web server?

 /james



 


 **
  This message is confidential and intended only for
 the addressee. If you have received this message in error, please
 immediately notify the postmas...@nds.com and delete it from your
 system as well as any copies.
 The content of e-mails as well as traffic data may be monitored by NDS
 for employment and security purposes. To protect the environment
 please do not print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex,
 TW18 4EX, United Kingdom. A company registered in England and Wales.
 Registered no. 3080780. VAT no. GB 603 8808 40-00

 **
 


 -
 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



Re: central repo?

2011-05-05 Thread Anders Hammar
Regarding the m2e indexes, at what time are they updated?

/Anders

On Thu, May 5, 2011 at 13:06, Brian Fox bri...@infinity.nu wrote:

 This was an attempt to block the constant scrapers that are attempting
 to crawl the entire repository for no good reason, and the bandwidth
 isn't free.

 The index used to serve the search is not the same index used by M2e.
 Fwiw, the m2e indexes are updated daily now, but I need to see why
 this index was out of date.

 Regardless, we'll go back to the drawing board and see how to make
 this less of a hurdle, while still interrupting the scrapers.

 On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote:
  That doesn't browse the repo it browses what it thinks is the repo (or
 the index...)
 
  e.g. there is no org.eclipse.tycho but there is
 
  Also which repo does it think that is - the UK mirror whuch may or may
 not be updated with the latest deployment??!?
 
 
 http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml(is
  ok)
 
  there is no org/eclipse/tycho according to
 http://search.maven.org/#browse%7C1428323731
 
  /James - ie let me see the real think not the index that is wrong most of
 the time
 
 
  -Original Message-
  From: Arnaud Héritier [mailto:aherit...@gmail.com]
  Sent: 04 May 2011 23:24
  To: Maven Users List
  Subject: Re: central repo?
 
  Hi,
 
  You can continue to browse the repository from here :
  http://search.maven.org/#browse%7C47
 
  Is it what you searched ?
 
  Arnaud
 
  On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:
 
  Hi all,
 
  What happened recently to the central repos and their mirrors (uk).
 
  When I try to browse I now get redirected to search.maven.org which is
  not a good thing when trying to work out why something isn't working
  as expected when proxied via a repo manager.
 
  Also I guess these searches run of the index - but as far as I have
  always been led to believe the indexes are correct on Sunday only, and
  don't help when the metadata is incorrect.
 
  How can I get back to the old bog standard directory listings produced
  by the web server?
 
  /james
 
 
 
  
 
 
  **
   This message is confidential and intended only for
  the addressee. If you have received this message in error, please
  immediately notify the postmas...@nds.com and delete it from your
  system as well as any copies.
  The content of e-mails as well as traffic data may be monitored by NDS
  for employment and security purposes. To protect the environment
  please do not print this e-mail unless necessary.
 
  NDS Limited. Registered Office: One London Road, Staines, Middlesex,
  TW18 4EX, United Kingdom. A company registered in England and Wales.
  Registered no. 3080780. VAT no. GB 603 8808 40-00
 
  **
  
 
 
  -
  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




RE: central repo?

2011-05-05 Thread Nord, James
Hi Brian,

I understand the reasons and I'm all for it - but there needs to be a way to 
easily diagnose issues for people that look after maven proxies (such as a 
corporate nexus instance) when there are issues with artifacts.  The old http 
directory listings enabled just that.

Apart from the above I actually liked search.m.o and was impressed by its speed 
(seemed quicker than nexus when searching!).

OT: when you download an artifact from search.m.o does it give you your local 
mirror (uk in my case) or does it travel across the pond and download from 
repo1.m.o?

Regards,

/james

-Original Message-
From: Brian Fox [mailto:bri...@infinity.nu] 
Sent: 05 May 2011 12:06
To: Maven Users List
Subject: Re: central repo?

This was an attempt to block the constant scrapers that are attempting to crawl 
the entire repository for no good reason, and the bandwidth isn't free.

The index used to serve the search is not the same index used by M2e.
Fwiw, the m2e indexes are updated daily now, but I need to see why this index 
was out of date.

Regardless, we'll go back to the drawing board and see how to make this less of 
a hurdle, while still interrupting the scrapers.

On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote:
 That doesn't browse the repo it browses what it thinks is the repo (or 
 the index...)

 e.g. there is no org.eclipse.tycho but there is

 Also which repo does it think that is - the UK mirror whuch may or may not be 
 updated with the latest deployment??!?

 http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/mav
 en-metadata.xml (is ok)

 there is no org/eclipse/tycho according to 
 http://search.maven.org/#browse%7C1428323731

 /James - ie let me see the real think not the index that is wrong most 
 of the time


 -Original Message-
 From: Arnaud Héritier [mailto:aherit...@gmail.com]
 Sent: 04 May 2011 23:24
 To: Maven Users List
 Subject: Re: central repo?

 Hi,

 You can continue to browse the repository from here :
 http://search.maven.org/#browse%7C47

 Is it what you searched ?

 Arnaud

 On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

 Hi all,

 What happened recently to the central repos and their mirrors (uk).

 When I try to browse I now get redirected to search.maven.org which 
 is not a good thing when trying to work out why something isn't 
 working as expected when proxied via a repo manager.

 Also I guess these searches run of the index - but as far as I have 
 always been led to believe the indexes are correct on Sunday only, 
 and don't help when the metadata is incorrect.

 How can I get back to the old bog standard directory listings 
 produced by the web server?

 /james



 


 *
 *
  This message is confidential and intended only for 
 the addressee. If you have received this message in error, please 
 immediately notify the postmas...@nds.com and delete it from your 
 system as well as any copies.
 The content of e-mails as well as traffic data may be monitored by 
 NDS for employment and security purposes. To protect the environment 
 please do not print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex,
 TW18 4EX, United Kingdom. A company registered in England and Wales.
 Registered no. 3080780. VAT no. GB 603 8808 40-00

 *
 *
 


 -
 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


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



Re: central repo?

2011-05-05 Thread Anders Hammar
The Browse Remote feature in Nexus still seems to work for central. If
Sonatype hasn't updated that recently it still looks at the actual content
of the remote repo.

/Anders

On Thu, May 5, 2011 at 13:57, Nord, James jn...@nds.com wrote:

 Hi Brian,

 I understand the reasons and I'm all for it - but there needs to be a way
 to easily diagnose issues for people that look after maven proxies (such as
 a corporate nexus instance) when there are issues with artifacts.  The old
 http directory listings enabled just that.

 Apart from the above I actually liked search.m.o and was impressed by its
 speed (seemed quicker than nexus when searching!).

 OT: when you download an artifact from search.m.o does it give you your
 local mirror (uk in my case) or does it travel across the pond and download
 from repo1.m.o?

 Regards,

/james

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: 05 May 2011 12:06
 To: Maven Users List
 Subject: Re: central repo?

 This was an attempt to block the constant scrapers that are attempting to
 crawl the entire repository for no good reason, and the bandwidth isn't
 free.

 The index used to serve the search is not the same index used by M2e.
 Fwiw, the m2e indexes are updated daily now, but I need to see why this
 index was out of date.

 Regardless, we'll go back to the drawing board and see how to make this
 less of a hurdle, while still interrupting the scrapers.

 On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote:
  That doesn't browse the repo it browses what it thinks is the repo (or
  the index...)
 
  e.g. there is no org.eclipse.tycho but there is
 
  Also which repo does it think that is - the UK mirror whuch may or may
 not be updated with the latest deployment??!?
 
  http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/mav
  en-metadata.xml (is ok)
 
  there is no org/eclipse/tycho according to
  http://search.maven.org/#browse%7C1428323731
 
  /James - ie let me see the real think not the index that is wrong most
  of the time
 
 
  -Original Message-
  From: Arnaud Héritier [mailto:aherit...@gmail.com]
  Sent: 04 May 2011 23:24
  To: Maven Users List
  Subject: Re: central repo?
 
  Hi,
 
  You can continue to browse the repository from here :
  http://search.maven.org/#browse%7C47
 
  Is it what you searched ?
 
  Arnaud
 
  On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:
 
  Hi all,
 
  What happened recently to the central repos and their mirrors (uk).
 
  When I try to browse I now get redirected to search.maven.org which
  is not a good thing when trying to work out why something isn't
  working as expected when proxied via a repo manager.
 
  Also I guess these searches run of the index - but as far as I have
  always been led to believe the indexes are correct on Sunday only,
  and don't help when the metadata is incorrect.
 
  How can I get back to the old bog standard directory listings
  produced by the web server?
 
  /james
 
 
 
  
 
 
  *
  *
   This message is confidential and intended only for
  the addressee. If you have received this message in error, please
  immediately notify the postmas...@nds.com and delete it from your
  system as well as any copies.
  The content of e-mails as well as traffic data may be monitored by
  NDS for employment and security purposes. To protect the environment
  please do not print this e-mail unless necessary.
 
  NDS Limited. Registered Office: One London Road, Staines, Middlesex,
  TW18 4EX, United Kingdom. A company registered in England and Wales.
  Registered no. 3080780. VAT no. GB 603 8808 40-00
 
  *
  *
  
 
 
  -
  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


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




Re: central repo?

2011-05-05 Thread Brian Fox
On Thu, May 5, 2011 at 7:57 AM, Nord, James jn...@nds.com wrote:
 Hi Brian,

 I understand the reasons and I'm all for it - but there needs to be a way to 
 easily diagnose issues for people that look after maven proxies (such as a 
 corporate nexus instance) when there are issues with artifacts.  The old http 
 directory listings enabled just that.


Yes, we'll figure out how to get this accomplished asap.

 Apart from the above I actually liked search.m.o and was impressed by its 
 speed (seemed quicker than nexus when searching!).


Thanks. Fwiw, it's built using Solr and Lucene, so most of the credit
goes to those communities.

 OT: when you download an artifact from search.m.o does it give you your local 
 mirror (uk in my case) or does it travel across the pond and download from 
 repo1.m.o?


Currently no, but we didn't anticipate huge numbers of downloads
through the search system.

 Regards,

        /james

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: 05 May 2011 12:06
 To: Maven Users List
 Subject: Re: central repo?

 This was an attempt to block the constant scrapers that are attempting to 
 crawl the entire repository for no good reason, and the bandwidth isn't free.

 The index used to serve the search is not the same index used by M2e.
 Fwiw, the m2e indexes are updated daily now, but I need to see why this index 
 was out of date.

 Regardless, we'll go back to the drawing board and see how to make this less 
 of a hurdle, while still interrupting the scrapers.

 On Wed, May 4, 2011 at 6:27 PM, Nord, James jn...@nds.com wrote:
 That doesn't browse the repo it browses what it thinks is the repo (or
 the index...)

 e.g. there is no org.eclipse.tycho but there is

 Also which repo does it think that is - the UK mirror whuch may or may not 
 be updated with the latest deployment??!?

 http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/mav
 en-metadata.xml (is ok)

 there is no org/eclipse/tycho according to
 http://search.maven.org/#browse%7C1428323731

 /James - ie let me see the real think not the index that is wrong most
 of the time


 -Original Message-
 From: Arnaud Héritier [mailto:aherit...@gmail.com]
 Sent: 04 May 2011 23:24
 To: Maven Users List
 Subject: Re: central repo?

 Hi,

 You can continue to browse the repository from here :
 http://search.maven.org/#browse%7C47

 Is it what you searched ?

 Arnaud

 On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

 Hi all,

 What happened recently to the central repos and their mirrors (uk).

 When I try to browse I now get redirected to search.maven.org which
 is not a good thing when trying to work out why something isn't
 working as expected when proxied via a repo manager.

 Also I guess these searches run of the index - but as far as I have
 always been led to believe the indexes are correct on Sunday only,
 and don't help when the metadata is incorrect.

 How can I get back to the old bog standard directory listings
 produced by the web server?

 /james



 


 *
 *
  This message is confidential and intended only for
 the addressee. If you have received this message in error, please
 immediately notify the postmas...@nds.com and delete it from your
 system as well as any copies.
 The content of e-mails as well as traffic data may be monitored by
 NDS for employment and security purposes. To protect the environment
 please do not print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex,
 TW18 4EX, United Kingdom. A company registered in England and Wales.
 Registered no. 3080780. VAT no. GB 603 8808 40-00

 *
 *
 


 -
 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


 -
 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



Re: central repo?

2011-05-05 Thread Brian Fox
On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

3:22 CST daily.

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



RE: central repo?

2011-05-05 Thread Jim McCaskey
So, I'm not sure anyone here will care about this.  But Maven Central does not 
work with IE9.

You get an error like this:

When a website causes a failure or crash, Internet Explorer attempts to restore 
the site. It stops after two tries to avoid an endless loop.

And the URL switches to this:

res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse

I had a friend try his system with IE8 and it worked fine.  Needless to say 
Chrome and FF work just fine.

-Jim

-Original Message-
From: Brian Fox [mailto:bri...@infinity.nu] 
Sent: Thursday, May 05, 2011 8:50 AM
To: Maven Users List
Subject: Re: central repo?

On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

3:22 CST daily.

-
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



Re: central repo?

2011-05-05 Thread Brian Fox
Than you, i'll let the team know.

Also, we've adjusted how the redirects work and included a static page
so people don't feel like the repo was hijacked:
http://repo2.maven.org/maven2/org/

Deeper links to artifact folders will show the older index view for
now until we incorporate the feedback we received and ensure the index
used to render the browse is completely in lockstep with the contents.

On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey
jim.mccas...@pervasive.com wrote:
 So, I'm not sure anyone here will care about this.  But Maven Central does 
 not work with IE9.

 You get an error like this:

 When a website causes a failure or crash, Internet Explorer attempts to 
 restore the site. It stops after two tries to avoid an endless loop.

 And the URL switches to this:

 res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse

 I had a friend try his system with IE8 and it worked fine.  Needless to say 
 Chrome and FF work just fine.

 -Jim

 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: Thursday, May 05, 2011 8:50 AM
 To: Maven Users List
 Subject: Re: central repo?

 On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?

 3:22 CST daily.

 -
 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



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



Re: central repo?

2011-05-05 Thread Owen Jacobson
Vastly appreciated. The current search page is pretty good from a usability 
point of view (other than the piss-poor URL structure) but lags too far behind 
the repository contents to be useful when, e.g., checking that new releases 
have been copied to central successfully before announcing them.

Software I released to my own repo two days ago is in central, but still hasn't 
shown up in search.maven.org.

-o

On 2011-05-05, at 12:52 PM, Brian Fox wrote:

 Than you, i'll let the team know.
 
 Also, we've adjusted how the redirects work and included a static page
 so people don't feel like the repo was hijacked:
 http://repo2.maven.org/maven2/org/
 
 Deeper links to artifact folders will show the older index view for
 now until we incorporate the feedback we received and ensure the index
 used to render the browse is completely in lockstep with the contents.
 
 On Thu, May 5, 2011 at 12:17 PM, Jim McCaskey
 jim.mccas...@pervasive.com wrote:
 So, I'm not sure anyone here will care about this.  But Maven Central does 
 not work with IE9.
 
 You get an error like this:
 
 When a website causes a failure or crash, Internet Explorer attempts to 
 restore the site. It stops after two tries to avoid an endless loop.
 
 And the URL switches to this:
 
 res://ieframe.dll/acr_error.htm#maven.org,http://search.maven.org/#browse
 
 I had a friend try his system with IE8 and it worked fine.  Needless to say 
 Chrome and FF work just fine.
 
 -Jim
 
 -Original Message-
 From: Brian Fox [mailto:bri...@infinity.nu]
 Sent: Thursday, May 05, 2011 8:50 AM
 To: Maven Users List
 Subject: Re: central repo?
 
 On Thu, May 5, 2011 at 7:09 AM, Anders Hammar and...@hammar.net wrote:
 Regarding the m2e indexes, at what time are they updated?
 
 3:22 CST daily.
 
 -
 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
 
 
 
 -
 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



Re: central repo?

2011-05-04 Thread Arnaud Héritier
Hi,

You can continue to browse the repository from here :
http://search.maven.org/#browse%7C47

Is it what you searched ?

Arnaud

On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

 Hi all,

 What happened recently to the central repos and their mirrors (uk).

 When I try to browse I now get redirected to search.maven.org which is not
 a good thing when trying to work out why something isn't working as expected
 when proxied via a repo manager.

 Also I guess these searches run of the index - but as far as I have always
 been led to believe the indexes are correct on Sunday only, and don't help
 when the metadata is incorrect.

 How can I get back to the old bog standard directory listings produced by
 the web server?

 /james



 


 **
 This message is confidential and intended only for the addressee. If you
 have received this message in error, please immediately notify the
 postmas...@nds.com and delete it from your system as well as any copies.
 The content of e-mails as well as traffic data may be monitored by NDS for
 employment and security purposes. To protect the environment please do not
 print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18
 4EX, United Kingdom. A company registered in England and Wales. Registered
 no. 3080780. VAT no. GB 603 8808 40-00

 **



RE: central repo?

2011-05-04 Thread Nord, James
That doesn't browse the repo it browses what it thinks is the repo (or the 
index...)

e.g. there is no org.eclipse.tycho but there is

Also which repo does it think that is - the UK mirror whuch may or may not be 
updated with the latest deployment??!?

http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml
 (is ok)

there is no org/eclipse/tycho according to 
http://search.maven.org/#browse%7C1428323731

/James - ie let me see the real think not the index that is wrong most of the 
time


-Original Message-
From: Arnaud Héritier [mailto:aherit...@gmail.com] 
Sent: 04 May 2011 23:24
To: Maven Users List
Subject: Re: central repo?

Hi,

You can continue to browse the repository from here :
http://search.maven.org/#browse%7C47

Is it what you searched ?

Arnaud

On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

 Hi all,

 What happened recently to the central repos and their mirrors (uk).

 When I try to browse I now get redirected to search.maven.org which is 
 not a good thing when trying to work out why something isn't working 
 as expected when proxied via a repo manager.

 Also I guess these searches run of the index - but as far as I have 
 always been led to believe the indexes are correct on Sunday only, and 
 don't help when the metadata is incorrect.

 How can I get back to the old bog standard directory listings produced 
 by the web server?

 /james



 


 **
  This message is confidential and intended only for 
 the addressee. If you have received this message in error, please 
 immediately notify the postmas...@nds.com and delete it from your 
 system as well as any copies.
 The content of e-mails as well as traffic data may be monitored by NDS 
 for employment and security purposes. To protect the environment 
 please do not print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, 
 TW18 4EX, United Kingdom. A company registered in England and Wales. 
 Registered no. 3080780. VAT no. GB 603 8808 40-00

 **
 


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



RE: central repo?

2011-05-04 Thread Jim McCaskey
I just got hit by this as well.  Thought central had been hijacked.  Is there 
any way to get the full URL back?  That has been so helpful just to be able to 
copy/paste/send to others.  Needless to say, the url itself contains valuable 
information about the artifact in question.  Now you have that short thing that 
has no information what so ever.

I like the search feature, but maybe it could be off to the side?

-Jim

-Original Message-
From: Nord, James [mailto:jn...@nds.com] 
Sent: Wednesday, May 04, 2011 5:28 PM
To: Maven Users List
Subject: RE: central repo?

That doesn't browse the repo it browses what it thinks is the repo (or the 
index...)

e.g. there is no org.eclipse.tycho but there is

Also which repo does it think that is - the UK mirror whuch may or may not be 
updated with the latest deployment??!?

http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml
 (is ok)

there is no org/eclipse/tycho according to 
http://search.maven.org/#browse%7C1428323731

/James - ie let me see the real think not the index that is wrong most of the 
time


-Original Message-
From: Arnaud Héritier [mailto:aherit...@gmail.com] 
Sent: 04 May 2011 23:24
To: Maven Users List
Subject: Re: central repo?

Hi,

You can continue to browse the repository from here :
http://search.maven.org/#browse%7C47

Is it what you searched ?

Arnaud

On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

 Hi all,

 What happened recently to the central repos and their mirrors (uk).

 When I try to browse I now get redirected to search.maven.org which is 
 not a good thing when trying to work out why something isn't working 
 as expected when proxied via a repo manager.

 Also I guess these searches run of the index - but as far as I have 
 always been led to believe the indexes are correct on Sunday only, and 
 don't help when the metadata is incorrect.

 How can I get back to the old bog standard directory listings produced 
 by the web server?

 /james



 


 **
  This message is confidential and intended only for 
 the addressee. If you have received this message in error, please 
 immediately notify the postmas...@nds.com and delete it from your 
 system as well as any copies.
 The content of e-mails as well as traffic data may be monitored by NDS 
 for employment and security purposes. To protect the environment 
 please do not print this e-mail unless necessary.

 NDS Limited. Registered Office: One London Road, Staines, Middlesex, 
 TW18 4EX, United Kingdom. A company registered in England and Wales. 
 Registered no. 3080780. VAT no. GB 603 8808 40-00

 **
 


-
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



Re: central repo?

2011-05-04 Thread Mark Derricutt
+1 to this as well.

I was just trying to diagnose why a new artifact I released via
oss.sonatype.org wasn't appearing in central ( I'm sure it was last night ),
but not now - and now I just get this search engine which seems very
inconsistent in its redirect behaviour.

-- 
Great artists are extremely selfish and arrogant things — Steven Wilson,
Porcupine Tree


On Thu, May 5, 2011 at 11:09 AM, Jim McCaskey jim.mccas...@pervasive.comwrote:

 I just got hit by this as well.  Thought central had been hijacked.  Is
 there any way to get the full URL back?  That has been so helpful just to be
 able to copy/paste/send to others.  Needless to say, the url itself contains
 valuable information about the artifact in question.  Now you have that
 short thing that has no information what so ever.

 I like the search feature, but maybe it could be off to the side?

 -Jim

 -Original Message-
 From: Nord, James [mailto:jn...@nds.com]
 Sent: Wednesday, May 04, 2011 5:28 PM
 To: Maven Users List
 Subject: RE: central repo?

 That doesn't browse the repo it browses what it thinks is the repo (or the
 index...)

 e.g. there is no org.eclipse.tycho but there is

 Also which repo does it think that is - the UK mirror whuch may or may not
 be updated with the latest deployment??!?


 http://repo1.maven.org/maven2/org/eclipse/tycho/tycho-maven-plugin/maven-metadata.xml(is
  ok)

 there is no org/eclipse/tycho according to
 http://search.maven.org/#browse%7C1428323731

 /James - ie let me see the real think not the index that is wrong most of
 the time


 -Original Message-
 From: Arnaud Héritier [mailto:aherit...@gmail.com]
 Sent: 04 May 2011 23:24
 To: Maven Users List
 Subject: Re: central repo?

 Hi,

 You can continue to browse the repository from here :
 http://search.maven.org/#browse%7C47

 Is it what you searched ?

 Arnaud

 On Thu, May 5, 2011 at 12:09 AM, Nord, James jn...@nds.com wrote:

  Hi all,
 
  What happened recently to the central repos and their mirrors (uk).
 
  When I try to browse I now get redirected to search.maven.org which is
  not a good thing when trying to work out why something isn't working
  as expected when proxied via a repo manager.
 
  Also I guess these searches run of the index - but as far as I have
  always been led to believe the indexes are correct on Sunday only, and
  don't help when the metadata is incorrect.
 
  How can I get back to the old bog standard directory listings produced
  by the web server?
 
  /james
 
 
 
  
 
 
  **
   This message is confidential and intended only for
  the addressee. If you have received this message in error, please
  immediately notify the postmas...@nds.com and delete it from your
  system as well as any copies.
  The content of e-mails as well as traffic data may be monitored by NDS
  for employment and security purposes. To protect the environment
  please do not print this e-mail unless necessary.
 
  NDS Limited. Registered Office: One London Road, Staines, Middlesex,
  TW18 4EX, United Kingdom. A company registered in England and Wales.
  Registered no. 3080780. VAT no. GB 603 8808 40-00
 
  **
  
 

 -
 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




Re: central repo, snapshots and releases

2010-08-23 Thread Ron Wheeler

 Your nexus is a proxy for releases from central
Your Nexus has a place to host third party libraries that can not be 
distributed from Central due to licensing issues.

Your Nexus is a host for your releases
Your Nexus is a host for your SNAPSHOTs
When deploying you only deploy to the last 2

When getting releases, you want to set up Nexus to give you both your 
own stuff and the other sites that it hosts or proxies

When getting SNAPSHOTS you usually want your own snapshots
When deploying the client needs to tell the IDE where the releases go 
and where the SNAPSHOTS go.


So the client needs to configure 2 repositories- one for all the 
releases and one for all the SNAPSHOTS.


Nexus will respond to your requests for whichever sort of artifact that 
you want but it does need to keep separate lists of configured places on 
its side to keep things straight so the client needs 2 places to get 
things and to deploy things.



Ron


On 23/08/2010 12:45 PM, ChadDavis wrote:

I'm reading the Nexus book.  It describes how a given repository is
either for releases or snapshots.  It says that the central maven repo
is a release repository.  But then in the example for how to configure
a profile that will use the nexus served repository instead of
central, it shows configuring the central repo to lookup both
snapshots and releases.

This is a bit confusing . . . can someone elaborate.  First, is it
true that central repo only serves releases?  Second, what's going on
with the example configuration that turns on both releases and
snapshots for the central repo?

Thanks!

-
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



Re: central repo, snapshots and releases

2010-08-23 Thread Wendy Smoak
On Mon, Aug 23, 2010 at 1:09 PM, Ron Wheeler
rwhee...@artifact-software.com wrote:
 So the client needs to configure 2 repositories- one for all the releases
 and one for all the SNAPSHOTS.

You should be able to use a single repo url from the client -- the
repo managers have the concept of a 'virtual repository' or a
'repository group'.

-- 
Wendy

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



Re: central repo, snapshots and releases

2010-08-23 Thread Ron Wheeler

 On 23/08/2010 1:15 PM, Wendy Smoak wrote:

On Mon, Aug 23, 2010 at 1:09 PM, Ron Wheeler
rwhee...@artifact-software.com  wrote:

So the client needs to configure 2 repositories- one for all the releases
and one for all the SNAPSHOTS.

You should be able to use a single repo url from the client -- the
repo managers have the concept of a 'virtual repository' or a
'repository group'.



Wendy is right.

Here is my slightly modified.settings.xml
to give a concrete example of a working configuration.

A lot of the configuration and brains on on the Nexus side.
It knows how to deploy a SNAPSHOT that gets sent its way regardless of 
what I call it on the client side.



settings xmlns=http://maven.apache.org/SETTINGS/1.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.0.0
  http://maven.apache.org/xsd/settings-1.0.0.xsd;
servers
server
idnexus/id
usernameme_me_me/username
passwordsecret/password
/server
server
idnexus-snapshots/id
usernameme_me_me/username
passwordsecret/password
/server
/servers

localRepositoryc:\maven_repository//localRepository
mirrors
mirror
!--This sends everything else to /public --
idnexus/id
mirrorOf*/mirrorOf
urlhttp://repo.xxx.ccc:8081/nexus/content/groups/public/url
/mirror
/mirrors
profiles
profile
idnexus/id
!--Enable snapshots for the built in central repo to direct --
!--all requests to nexus via the mirror --
repositories
repository
idcentral/id
urlhttp://central/url
releasesenabledtrue/enabled/releases
snapshotsenabledtrue/enabled/snapshots
/repository
/repositories
pluginRepositories
pluginRepository
idcentral/id
urlhttp://central/url
releasesenabledtrue/enabled/releases
snapshotsenabledtrue/enabled/snapshots
/pluginRepository
/pluginRepositories
/profile
/profiles
activeProfiles
!--make the profile active all the time --
activeProfilenexus/activeProfile
/activeProfiles
/settings


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



Re: central repo, snapshots and releases

2010-08-23 Thread ChadDavis
 profiles
 profile
 idnexus/id
 !--Enable snapshots for the built in central repo to direct --
 !--all requests to nexus via the mirror --
 repositories
 repository
 idcentral/id
 urlhttp://central/url
 releasesenabledtrue/enabled/releases
 snapshotsenabledtrue/enabled/snapshots
 /repository
 /repositories
 pluginRepositories
 pluginRepository
 idcentral/id
 urlhttp://central/url
 releasesenabledtrue/enabled/releases
 snapshotsenabledtrue/enabled/snapshots
 /pluginRepository
 /pluginRepositories
 /profile
 /profiles
 activeProfiles
 !--make the profile active all the time --
 activeProfilenexus/activeProfile
 /activeProfiles
 /settings


Thanks for the responses.  I'm still confused about the logic of
that profile element in the settings.xml.  It sets up a mock central
repo, for both plugins and artifacts, and enables snapshots and
releases on this central mock.  Can someone illuminate what is going
on there?

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



Re: central repo, snapshots and releases

2010-08-23 Thread Brian Fox
The reason is simple:

Maven needs at least one snapshot repo configured, or it won't even
attempt to ask anyone (specifically Nexus via the mirrorOf * setting)
for any snapshots. Maven has built in an existing repository with the
ID central but it is enabled only for releases. We must do either: 1)
define another repo as snapshot only, or 2) enable snapshots for the
built in central id. The example chooses 2. We could have used 1, but
since I put in the example from years of habit, that's what stuck ;-)

You'll also note that I like to redefine the url as well so that when
maven spits out what it's doing, it's immediately apparent if my
settings are ignored or not.

On Mon, Aug 23, 2010 at 2:36 PM, ChadDavis chadmichaelda...@gmail.com wrote:
 profiles
 profile
 idnexus/id
 !--Enable snapshots for the built in central repo to direct --
 !--all requests to nexus via the mirror --
 repositories
 repository
 idcentral/id
 urlhttp://central/url
 releasesenabledtrue/enabled/releases
 snapshotsenabledtrue/enabled/snapshots
 /repository
 /repositories
 pluginRepositories
 pluginRepository
 idcentral/id
 urlhttp://central/url
 releasesenabledtrue/enabled/releases
 snapshotsenabledtrue/enabled/snapshots
 /pluginRepository
 /pluginRepositories
 /profile
 /profiles
 activeProfiles
 !--make the profile active all the time --
 activeProfilenexus/activeProfile
 /activeProfiles
 /settings


 Thanks for the responses.  I'm still confused about the logic of
 that profile element in the settings.xml.  It sets up a mock central
 repo, for both plugins and artifacts, and enables snapshots and
 releases on this central mock.  Can someone illuminate what is going
 on there?

 -
 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



Re: central repo, snapshots and releases

2010-08-23 Thread ChadDavis
On Mon, Aug 23, 2010 at 3:24 PM, Brian Fox bri...@infinity.nu wrote:
 The reason is simple:

Simple, but not obvious ;)


 Maven needs at least one snapshot repo configured, or it won't even
 attempt to ask anyone (specifically Nexus via the mirrorOf * setting)
 for any snapshots. Maven has built in an existing repository with the
 ID central but it is enabled only for releases. We must do either: 1)

I was kind of guessing that.  So, Maven, by default has the actual
Maven Central Repo defined under the id central . . . I didn't quite
realize that before.

 define another repo as snapshot only, or 2) enable snapshots for the
 built in central id. The example chooses 2. We could have used 1, but
 since I put in the example from years of habit, that's what stuck ;-)


So, in a nutshell, you've redefined the repo with id of central to
point somewhere else, the bogus URL, and then mirrored it with the
wildcard.


 You'll also note that I like to redefine the url as well so that when
 maven spits out what it's doing, it's immediately apparent if my
 settings are ignored or not.

Makes perfect sense.  Thanks for the explanation.

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



Re: Central Repo Issues?

2008-05-04 Thread Brett Porter
I can't see any issues. Perhaps it was metadata in your local
repository that got corrupted?

- Brett

2008/5/2 Randall Fidler [EMAIL PROTECTED]:
 Hello,



 Has something occurred recently (past few days) with the
  maven central server?  Project was working fine then it starting
  complaining that it couldn't check meta-data for maven-clean-plugin from
  the central maven repository.  To get around the issue, I temporary
  locked down the version in my pom to the current version I already have
  (so it won't check for an update) but I'd like to know if something is
  hosed with the repo or it's on my end.



  Regards,



  Randall





-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Central repo slow -- hangs often

2006-05-17 Thread Brett Porter

We don't currently have any resume support, unfortunately.

I'd suggest trying the default repository (repo1.maven.org), as right
now it is the fastest.

- Brett

On 5/17/06, Davis Ford [EMAIL PROTECTED] wrote:

Hi, it seems getting to the central repo and downloading dependencies
often hangs for me, and i have to restart the process again and again.

I understand the intermittency of network issues, but is there any
recommended solution for this?

I added:

mirrors
  mirroretc./mirror
/mirrors

a whole bunch of mirrors to my settings.xml, but that does not seem to
alleviate the problem.

Concrete example.  I've tried to d/l

http://www.ibiblio.net/pub/packages/maven2/pcj/pcj/1.2/pcj-1.2.jar

about 5 times now.  Each time it gets to 480/2699K and hangs -- I've
left it hanging for about 10 min. now.

Any ideas?

Thanks in advance,
Davis

-
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]