Added hardcoded URLs back for repository section 49/10649/1
authorDevin Avery <devin.avery@brocade.com>
Tue, 2 Sep 2014 19:29:34 +0000 (15:29 -0400)
committerDevin Avery <devin.avery@brocade.com>
Tue, 2 Sep 2014 19:31:49 +0000 (15:31 -0400)
Because the odlparent pom file lives in a different project
it needs to be downloaded from the repository when you build
yangtools along for example.

Therefore we need to hardcode the repository portion of the URLs.

Added note about how to override repository section if needed.

Change-Id: I9ce2455b07f95be6ee2fed45f8a19d37681ff19f
Signed-off-by: Devin Avery <devin.avery@brocade.com>
common/parent/pom.xml

index 15e887eb44655c77b23cda83d934afe5e5c1bc10..950a6ba9cb0cb81f5e9539f867650389824d9481 100644 (file)
             </plugin>
         </plugins>
     </reporting>
+
+
+    <!-- Note: we can not use variables for these URLs because we need to
+         be able to download the parent pom from the repository the first 
+         time we go to use it (since it is in a different project).
+         To override the settings, use the "mirror" section of the
+         settings.xml. See http://maven.apache.org/settings.html -->
     <repositories>
         <!-- OpenDayLight Repo Mirror -->
         <repository>
             <id>opendaylight-mirror</id>
             <name>opendaylight-mirror</name>
-            <url>${nexusproxy}/groups/public/</url>
+            <url>http://nexus.opendaylight.org/content/groups/public/</url>
             <snapshots>
                 <enabled>false</enabled>
             </snapshots>
         <repository>
             <id>opendaylight-snapshot</id>
             <name>opendaylight-snapshot</name>
-            <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+            <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
             <snapshots>
                 <enabled>true</enabled>
             </snapshots>