You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2020/09/09 02:11:57 UTC

[netbeans] branch master updated: Switch http://repo1.maven.org to HTTPS

This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
     new 813ca7c  Switch http://repo1.maven.org to HTTPS
813ca7c is described below

commit 813ca7c02b8ceb7beca99b49fdf4a489d138e97c
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Fri Aug 14 20:13:52 2020 -0700

    Switch http://repo1.maven.org to HTTPS
---
 .../test/unit/data/projects/completion/ivysettings.xml     |  2 +-
 .../glassfish/tooling/server/config/GlassFishV3.xml        |  2 +-
 .../glassfish/tooling/server/config/GlassFishV4.xml        |  2 +-
 .../glassfish/tooling/server/config/GlassFishV4_1.xml      |  2 +-
 .../glassfish/tooling/server/config/GlassFishV5.xml        |  2 +-
 .../glassfish/tooling/server/config/GlassFishV5_1_0.xml    |  2 +-
 .../modules/payara/tooling/server/config/PayaraV3.xml      |  2 +-
 .../modules/payara/tooling/server/config/PayaraV4.xml      |  2 +-
 .../modules/payara/tooling/server/config/PayaraV5.xml      |  2 +-
 .../modules/payara/tooling/server/config/PayaraV5_192.xml  |  2 +-
 .../external/README-xml-resolver-1.2-netbeans.patch        |  2 +-
 java/maven.indexer/external/indexer-core-6.0.0-license.txt |  2 +-
 .../maven/indexer/api/RepositoryPreferencesTest.java       | 12 ++++++------
 java/maven.model/test/unit/src/sample.pom                  |  4 ++--
 .../src/org/netbeans/modules/maven/api/ModelUtils.java     |  2 +-
 .../src/org/netbeans/modules/maven/api/ModelUtilsTest.java | 14 +++++++-------
 .../netbeans/modules/maven/classpath/CPExtenderTest.java   |  4 ++--
 nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java   |  2 +-
 18 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/contrib/groovy.grailsproject/test/unit/data/projects/completion/ivysettings.xml b/contrib/groovy.grailsproject/test/unit/data/projects/completion/ivysettings.xml
index 4107e65..4320bb0 100644
--- a/contrib/groovy.grailsproject/test/unit/data/projects/completion/ivysettings.xml
+++ b/contrib/groovy.grailsproject/test/unit/data/projects/completion/ivysettings.xml
@@ -8,7 +8,7 @@
     <chain name="codehaus-plus" dual="true">
       <ibiblio name="codehaus-snapshots" root="http://snapshots.repository.codehaus.org" m2compatible="true" changingPattern=".*SNAPSHOT"/>
       <ibiblio name="codehaus" root="http://repository.codehaus.org" m2compatible="true"/>
-      <ibiblio name="javanet" root="http://repo1.maven.org/maven2/" m2compatible="true"/>
+      <ibiblio name="javanet" root="https://repo1.maven.org/maven2/" m2compatible="true"/>
       <resolver ref="public"/>
     </chain>
   </resolvers>
diff --git a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV3.xml b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV3.xml
index 39d6e75..d35f670 100644
--- a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV3.xml
+++ b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV3.xml
@@ -79,7 +79,7 @@
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/com/sun/jersey/glassfish/v32/jersey-gfv3-docs-and-samples/1.13/jersey-gfv3-docs-and-samples-1.13-project.zip"/>
+            <link url="https://repo1.maven.org/maven2/com/sun/jersey/glassfish/v32/jersey-gfv3-docs-and-samples/1.13/jersey-gfv3-docs-and-samples-1.13-project.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4.xml b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4.xml
index 69ecbc4..43fb1e0 100644
--- a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4.xml
+++ b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4.xml
@@ -79,7 +79,7 @@
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4_1.xml b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4_1.xml
index 8ec414c..8caee87 100644
--- a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4_1.xml
+++ b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV4_1.xml
@@ -80,7 +80,7 @@
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5.xml b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5.xml
index bce4c22..8731d53 100644
--- a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5.xml
+++ b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5.xml
@@ -82,7 +82,7 @@
             </fileset>
         </classpath>
         <javadocs>
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5_1_0.xml b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5_1_0.xml
index ea62cd8..b5ff004 100644
--- a/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5_1_0.xml
+++ b/enterprise/glassfish.tooling/src/org/netbeans/modules/glassfish/tooling/server/config/GlassFishV5_1_0.xml
@@ -84,7 +84,7 @@
             </fileset>
         </classpath>
         <javadocs>
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV3.xml b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV3.xml
index a3f35dc..ebaa990 100644
--- a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV3.xml
+++ b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV3.xml
@@ -79,7 +79,7 @@ under the License.
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/com/sun/jersey/glassfish/v32/jersey-gfv3-docs-and-samples/1.13/jersey-gfv3-docs-and-samples-1.13-project.zip"/>
+            <link url="https://repo1.maven.org/maven2/com/sun/jersey/glassfish/v32/jersey-gfv3-docs-and-samples/1.13/jersey-gfv3-docs-and-samples-1.13-project.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV4.xml b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV4.xml
index 1d66175..65fc319 100644
--- a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV4.xml
+++ b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV4.xml
@@ -81,7 +81,7 @@ under the License.
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5.xml b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5.xml
index 3963bb3..f2b41f2 100644
--- a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5.xml
+++ b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5.xml
@@ -82,7 +82,7 @@ under the License.
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.0-m05-2/jersey-documentation-2.0-m05-2-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5_192.xml b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5_192.xml
index 39ab275..6e56655 100644
--- a/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5_192.xml
+++ b/enterprise/payara.tooling/src/org/netbeans/modules/payara/tooling/server/config/PayaraV5_192.xml
@@ -90,7 +90,7 @@ under the License.
             </fileset>
         </classpath>
         <javadocs> 
-            <link url="http://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.9.1/jersey-documentation-2.9.1-docbook.zip"/>
+            <link url="https://repo1.maven.org/maven2/org/glassfish/jersey/jersey-documentation/2.9.1/jersey-documentation-2.9.1-docbook.zip"/>
         </javadocs>
         <sources>
         </sources>
diff --git a/ide/o.apache.xml.resolver/external/README-xml-resolver-1.2-netbeans.patch b/ide/o.apache.xml.resolver/external/README-xml-resolver-1.2-netbeans.patch
index ebf75e4..e9dd002 100644
--- a/ide/o.apache.xml.resolver/external/README-xml-resolver-1.2-netbeans.patch
+++ b/ide/o.apache.xml.resolver/external/README-xml-resolver-1.2-netbeans.patch
@@ -20,7 +20,7 @@ must be preserved.
 
 
 [1] http://mail-archives.apache.org/mod_mbox/incubator-netbeans-dev/201710.mbox/browser
-[2] http://repo1.maven.org/maven2/xml-resolver/xml-resolver/1.2/xml-resolver-1.2-sources.jar
+[2] https://repo1.maven.org/maven2/xml-resolver/xml-resolver/1.2/xml-resolver-1.2-sources.jar
 [3] https://netbeans.org/bugzilla/show_bug.cgi?id=128678#c17
 
 
diff --git a/java/maven.indexer/external/indexer-core-6.0.0-license.txt b/java/maven.indexer/external/indexer-core-6.0.0-license.txt
index 5213744..14131ea 100644
--- a/java/maven.indexer/external/indexer-core-6.0.0-license.txt
+++ b/java/maven.indexer/external/indexer-core-6.0.0-license.txt
@@ -3,7 +3,7 @@ Description: Maven remote repository indexing engine.
 Version: 6.0.0
 Origin: Apache Software Foundation
 License: Apache-2.0
-URL: http://repo1.maven.org/maven2/org/apache/maven/indexer/
+URL: https://repo1.maven.org/maven2/org/apache/maven/indexer/
 
                                  Apache License
                            Version 2.0, January 2004
diff --git a/java/maven.indexer/test/unit/src/org/netbeans/modules/maven/indexer/api/RepositoryPreferencesTest.java b/java/maven.indexer/test/unit/src/org/netbeans/modules/maven/indexer/api/RepositoryPreferencesTest.java
index bc3b8c7..c4f382a 100644
--- a/java/maven.indexer/test/unit/src/org/netbeans/modules/maven/indexer/api/RepositoryPreferencesTest.java
+++ b/java/maven.indexer/test/unit/src/org/netbeans/modules/maven/indexer/api/RepositoryPreferencesTest.java
@@ -129,16 +129,16 @@ public void testNonHttpRepositoryInfos() throws Exception { //#227322
             assertEquals("[eclipselink]", m.getMirroredRepositories().toString());
 
             //add central now.. should have 2 mirrored repositories..
-            rp.addTransientRepository(1, "central", "central", "http://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
+            rp.addTransientRepository(1, "central", "central", "https://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
             assertEquals("[local, mirror]", rp.getRepositoryInfos().toString());
             m = rp.getRepositoryInfoById("mirror");
             assertTrue(m.isMirror());
             assertEquals("[eclipselink, central]", m.getMirroredRepositories().toString());
 
             //add central AGAIN and AGAIN.. should have still just 2 mirrored repositories..
-            rp.addTransientRepository(2, "central", "central", "http://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
-            rp.addTransientRepository(3, "central", "central", "http://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
-            rp.addTransientRepository(4, "central", "central", "http://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
+            rp.addTransientRepository(2, "central", "central", "https://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
+            rp.addTransientRepository(3, "central", "central", "https://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
+            rp.addTransientRepository(4, "central", "central", "https://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
 
             assertEquals("[local, mirror]", rp.getRepositoryInfos().toString());
             m = rp.getRepositoryInfoById("mirror");
@@ -146,8 +146,8 @@ public void testNonHttpRepositoryInfos() throws Exception { //#227322
             assertEquals("[eclipselink, central]", m.getMirroredRepositories().toString());
 
             //try adding slightly modified transient repositories..
-            rp.addTransientRepository(3, "central", "central", "http://repo1.maven.org/maven2/", RepositoryInfo.MirrorStrategy.ALL);
-            rp.addTransientRepository(2, "central", "central rep", "http://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
+            rp.addTransientRepository(3, "central", "central", "https://repo1.maven.org/maven2/", RepositoryInfo.MirrorStrategy.ALL);
+            rp.addTransientRepository(2, "central", "central rep", "https://repo1.maven.org/maven2", RepositoryInfo.MirrorStrategy.ALL);
             rp.addTransientRepository(2, "eclipselink", "Repository for library Library", "http://ftp.ing.umu.se/mirror/eclipse/rt/eclipselink/maven.repo", RepositoryInfo.MirrorStrategy.ALL);
 
             assertEquals("[local, mirror]", rp.getRepositoryInfos().toString());
diff --git a/java/maven.model/test/unit/src/sample.pom b/java/maven.model/test/unit/src/sample.pom
index 36e468d..ee3be82 100644
--- a/java/maven.model/test/unit/src/sample.pom
+++ b/java/maven.model/test/unit/src/sample.pom
@@ -348,7 +348,7 @@
       </snapshots>
       <id>central</id>
       <name>Maven Repository Switchboard</name>
-      <url>http://repo1.maven.org/maven2</url>
+      <url>https://repo1.maven.org/maven2</url>
     </repository>
   </repositories>
   <pluginRepositories>
@@ -369,7 +369,7 @@
       </snapshots>
       <id>central</id>
       <name>Maven Plugin Repository</name>
-      <url>http://repo1.maven.org/maven2</url>
+      <url>https://repo1.maven.org/maven2</url>
     </pluginRepository>
   </pluginRepositories>
   <dependencies>
diff --git a/java/maven/src/org/netbeans/modules/maven/api/ModelUtils.java b/java/maven/src/org/netbeans/modules/maven/api/ModelUtils.java
index a037656..a0cf995 100644
--- a/java/maven/src/org/netbeans/modules/maven/api/ModelUtils.java
+++ b/java/maven/src/org/netbeans/modules/maven/api/ModelUtils.java
@@ -251,7 +251,7 @@ public final class ModelUtils {
      * @return null if repository with given url exists, otherwise a returned newly created item.
      */
     public static Repository addModelRepository(MavenProject project, POMModel mdl, String url) {
-        if (url.contains(RepositorySystem.DEFAULT_REMOTE_REPO_URL) || /* #212336 */url.contains("http://repo1.maven.org/maven2")) {
+        if (url.contains(RepositorySystem.DEFAULT_REMOTE_REPO_URL) || /* #212336 */url.contains("https://repo1.maven.org/maven2")) {
             return null;
         }
         List<Repository> repos = mdl.getProject().getRepositories();
diff --git a/java/maven/test/unit/src/org/netbeans/modules/maven/api/ModelUtilsTest.java b/java/maven/test/unit/src/org/netbeans/modules/maven/api/ModelUtilsTest.java
index d799b94..db2e750 100644
--- a/java/maven/test/unit/src/org/netbeans/modules/maven/api/ModelUtilsTest.java
+++ b/java/maven/test/unit/src/org/netbeans/modules/maven/api/ModelUtilsTest.java
@@ -54,11 +54,11 @@ public class ModelUtilsTest extends NbTestCase {
     }
 
     public void testCheckLibrary() throws MalformedURLException {
-        URL pom = new URL("http://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.pom");
+        URL pom = new URL("https://repo1.maven.org/maven2/junit/junit/3.8.2/junit-3.8.2.pom");
         ModelUtils.LibraryDescriptor result = ModelUtils.checkLibrary(pom);
         assertNotNull(result);
         assertEquals("default", result.getRepoType());
-        assertEquals("http://repo1.maven.org/maven2/", result.getRepoRoot());
+        assertEquals("https://repo1.maven.org/maven2/", result.getRepoRoot());
         assertEquals("junit", result.getGroupId());
         assertEquals("junit", result.getArtifactId());
         assertEquals("3.8.2", result.getVersion());
@@ -81,11 +81,11 @@ public class ModelUtilsTest extends NbTestCase {
         assertEquals("1.0-MR1", result.getVersion());
 
 
-        pom = new URL("http://repo1.maven.org/maven2/org/codehaus/mevenide/netbeans-deploy-plugin/1.2.3/netbeans-deploy-plugin-1.2.3.pom");
+        pom = new URL("https://repo1.maven.org/maven2/org/codehaus/mevenide/netbeans-deploy-plugin/1.2.3/netbeans-deploy-plugin-1.2.3.pom");
         result = ModelUtils.checkLibrary(pom);
         assertNotNull(result);
         assertEquals("default", result.getRepoType());
-        assertEquals("http://repo1.maven.org/maven2/", result.getRepoRoot());
+        assertEquals("https://repo1.maven.org/maven2/", result.getRepoRoot());
         assertEquals("org.codehaus.mevenide", result.getGroupId());
         assertEquals("netbeans-deploy-plugin", result.getArtifactId());
         assertEquals("1.2.3", result.getVersion());
@@ -100,11 +100,11 @@ public class ModelUtilsTest extends NbTestCase {
         assertEquals("3.8.2", result.getVersion());
 
 
-        pom = new URL("http://repo1.maven.org/maven2/org/testng/testng/5.8/testng-5.8.pom#jdk15");
+        pom = new URL("https://repo1.maven.org/maven2/org/testng/testng/5.8/testng-5.8.pom#jdk15");
         result = ModelUtils.checkLibrary(pom);
         assertNotNull(result);
         assertEquals("default", result.getRepoType());
-        assertEquals("http://repo1.maven.org/maven2/", result.getRepoRoot());
+        assertEquals("https://repo1.maven.org/maven2/", result.getRepoRoot());
         assertEquals("org.testng", result.getGroupId());
         assertEquals("testng", result.getArtifactId());
         assertEquals("5.8", result.getVersion());
@@ -160,7 +160,7 @@ public class ModelUtilsTest extends NbTestCase {
         final MavenProject mp = ProjectManager.getDefault().findProject(pom.getParent()).getLookup().lookup(NbMavenProject.class).getMavenProject();
         Utilities.performPOMModelOperations(pom, Collections.singletonList(new ModelOperation<POMModel>() {
             @Override public void performOperation(POMModel model) {
-                Repository added = ModelUtils.addModelRepository(mp, model, "http://repo1.maven.org/maven2/");
+                Repository added = ModelUtils.addModelRepository(mp, model, "https://repo1.maven.org/maven2/");
                 assertNull(added);
                 added = ModelUtils.addModelRepository(mp, model, "http://nowhere.net/maven2/");
                 assertNotNull(added);
diff --git a/java/maven/test/unit/src/org/netbeans/modules/maven/classpath/CPExtenderTest.java b/java/maven/test/unit/src/org/netbeans/modules/maven/classpath/CPExtenderTest.java
index 1ebb567..77eaab0 100644
--- a/java/maven/test/unit/src/org/netbeans/modules/maven/classpath/CPExtenderTest.java
+++ b/java/maven/test/unit/src/org/netbeans/modules/maven/classpath/CPExtenderTest.java
@@ -61,8 +61,8 @@ public class CPExtenderTest extends NbTestCase {
 
     @RandomlyFails // frequently fails in NB-Core-Build; [CPExtender] checkLibraryForPoms on Library[Stuff] -> true and [Utilities] WORKDIR/o.n.m.m.c.C/testAddRemovePomLib/pom.xml@1:2: CHILD_REMOVED:org.netbeans.modules.maven.model.pom.impl.ProjectImpl$PList@4 yet [Utilities] no changes in org.openide.loaders.XMLDataObject@c[WORKDIR/o.n.m.m.c.C/testAddRemovePomLib/pom.xml@1:2] where modified=true
     public void testAddRemovePomLib() throws Exception {
-        Library lib = LibraryManager.getDefault().createLibrary("j2se", "Stuff", Collections.singletonMap("maven-pom", Collections.singletonList(new URL("http://repo1.maven.org/maven2/grp/stuff/1.0/stuff-1.0.pom"))));
-        Library lib2 = LibraryManager.getDefault().createLibrary("j2se", "Stuff2", Collections.singletonMap("maven-pom", Collections.singletonList(new URL("http://repo1.maven.org/maven2/grp/stuff/2.0/stuff-2.0.pom"))));
+        Library lib = LibraryManager.getDefault().createLibrary("j2se", "Stuff", Collections.singletonMap("maven-pom", Collections.singletonList(new URL("https://repo1.maven.org/maven2/grp/stuff/1.0/stuff-1.0.pom"))));
+        Library lib2 = LibraryManager.getDefault().createLibrary("j2se", "Stuff2", Collections.singletonMap("maven-pom", Collections.singletonList(new URL("https://repo1.maven.org/maven2/grp/stuff/2.0/stuff-2.0.pom"))));
         FileObject d = FileUtil.toFileObject(getWorkDir());
         TestFileUtils.writeFile(d, "pom.xml", "<project><modelVersion>4.0.0</modelVersion>"
                 + "<groupId>test</groupId><artifactId>prj</artifactId>"
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java b/nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java
index 4990f4b..d680d04 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java
@@ -1278,7 +1278,7 @@ public final class ParseProjectXml extends Task {
                } else {
                    builder.append("\nYou need to download and install org-netbeans-libs-junit4.nbm into the platform to run tests.");
                    builder.append("\nIf you have Maven and agree to http://www.opensource.org/licenses/cpl1.0.txt it suffices to run:");
-                   builder.append("\nmvn dependency:get -Dartifact=junit:junit:4.8.2 -DrepoUrl=http://repo1.maven.org/maven2/");
+                   builder.append("\nmvn dependency:get -Dartifact=junit:junit:4.8.2 -DrepoUrl=https://repo1.maven.org/maven2/");
                }
            }
            if (!missingEntries.isEmpty()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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