sdedic commented on code in PR #6766:
URL: https://github.com/apache/netbeans/pull/6766#discussion_r1419965487


##########
java/maven.grammar/src/org/netbeans/modules/maven/codegen/NewMirrorPanel.java:
##########
@@ -179,21 +174,18 @@ private void checkCentral() {
         String sel = (String)comMirrorOf.getSelectedItem();
         urlmodel.removeAllElements();
         if (RepositorySystem.DEFAULT_REMOTE_REPO_ID.equals(sel)) {
-            //see 
http://docs.codehaus.org/display/MAVENUSER/Mirrors+Repositories
-            // for a list of central mirrors.
-            //TODO might be worth to externalize somehow.
-            
urlmodel.addElement("http://mirrors.ibiblio.org/pub/mirrors/maven2";); //NOI18N
-            
urlmodel.addElement("http://www.ibiblio.net/pub/packages/maven2";);//NOI18N
-            urlmodel.addElement("http://ftp.cica.es/mirrors/maven2";);//NOI18N
-            urlmodel.addElement("http://repo1.sonatype.net/maven2";);//NOI18N
-            urlmodel.addElement("http://repo.exist.com/maven2";);//NOI18N
-            urlmodel.addElement("http://mirrors.redv.com/maven2";);//NOI18N
-            urlmodel.addElement("http://mirrors.dotsrc.org/maven2";);//NOI18N
+            // according to devs involved with maven and maven central, these 
are the only public mirrors left for central at this time

Review Comment:
   I'd just add the link to the ultimate source of truth 
(https://repo.maven.apache.org/maven2/.meta/repository-metadata.xml) in the 
comments for future reference



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to