Use https to connect ODL Nexus 77/38477/3
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 5 May 2016 20:08:36 +0000 (16:08 -0400)
committerDavid M. Karr <davidmichaelkarr@gmail.com>
Fri, 6 May 2016 21:23:41 +0000 (14:23 -0700)
Added references in YangProjectWizard to the url properties.

Change-Id: Ifd3fd32b57c3c9e047484e604013695517eea79e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: David M. Karr <davidmichaelkarr@gmail.com>
plugins/org.opendaylight.yangide.ui/src/org/opendaylight/yangide/ui/wizards/YangProjectWizard.java
samples/yang-module1/pom.xml
samples/yang-module2/pom.xml

index 8416f02e207b5efdcfb7509383e8afb2ea9f16ba..91b5fc8931731d7efb6e2bb229f86769ce341d96 100644 (file)
@@ -259,14 +259,10 @@ public class YangProjectWizard extends MavenProjectWizard {
 
         plugin.addExecution(pluginExecution);
         model.getBuild().addPlugin(plugin);
-        model.addPluginRepository(createRepoParameter("opendaylight-release",
-                "http://nexus.opendaylight.org/content/repositories/opendaylight.release/"));
-        model.addPluginRepository(createRepoParameter("opendaylight-snapshot",
-                "http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/"));
-        model.addRepository(createRepoParameter("opendaylight-release",
-                "http://nexus.opendaylight.org/content/repositories/opendaylight.release/"));
-        model.addRepository(createRepoParameter("opendaylight-snapshot",
-                "http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/"));
+        model.addPluginRepository(createRepoParameter("opendaylight-release", odlReleaseUrl));
+        model.addPluginRepository(createRepoParameter("opendaylight-snapshot", odlSnapshotUrl));
+        model.addRepository(createRepoParameter("opendaylight-release", odlReleaseUrl));
+        model.addRepository(createRepoParameter("opendaylight-snapshot", odlSnapshotUrl));
 
         model.getProperties().put("maven.compiler.source", "1.8");
         model.getProperties().put("maven.compiler.target", "1.8");
index 754c2981498fa30cd7225a6dc80c842946e4e950..f26076f5de049aed6e45e0b742e9ac6e65b3a0bd 100644 (file)
                <repository>
                        <id>opendaylight-release</id>
                        <name>opendaylight-release</name>
-                       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+                       <url>https://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
                </repository>
                <repository>
                        <id>opendaylight-snapshot</id>
                        <name>opendaylight-snapshot</name>
-                       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+                       <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
                </repository>
        </repositories>
        <pluginRepositories>
                <pluginRepository>
                        <id>opendaylight-release</id>
                        <name>opendaylight-release</name>
-                       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+                       <url>https://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
                </pluginRepository>
                <pluginRepository>
                        <id>opendaylight-snapshot</id>
                        <name>opendaylight-snapshot</name>
-                       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+                       <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
                </pluginRepository>
        </pluginRepositories>
        <build>
index ec18ccffe038dabc5994a2e2349781107117cd08..a3595b1eb20a403a860d083269de58c86caa81fc 100644 (file)
     <repository>
       <id>opendaylight-release</id>
       <name>opendaylight-release</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+      <url>https://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
     </repository>
     <repository>
       <id>opendaylight-snapshot</id>
       <name>opendaylight-snapshot</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+      <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
     </repository>
   </repositories>
   <pluginRepositories>
     <pluginRepository>
       <id>opendaylight-release</id>
       <name>opendaylight-release</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
+      <url>https://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
     </pluginRepository>
     <pluginRepository>
       <id>opendaylight-snapshot</id>
       <name>opendaylight-snapshot</name>
-      <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
+      <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
     </pluginRepository>
   </pluginRepositories>
   <build>