Add release/snapshot property to repositories in poms 41/2241/2
authorAlissa Bonas <abonas@redhat.com>
Tue, 29 Oct 2013 12:51:24 +0000 (14:51 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 29 Oct 2013 14:46:41 +0000 (14:46 +0000)
Change-Id: I0e9ad0dace5b7c07a41200221fa3b313fcf7653f
Signed-off-by: Alissa Bonas <abonas@redhat.com>
opendaylight/archetypes/odl-model-project/src/main/resources/archetype-resources/pom.xml
opendaylight/commons/opendaylight/pom.xml
opendaylight/config/pom.xml
opendaylight/md-sal/pom.xml
third-party/commons/thirdparty/pom.xml

index 29d37ba..33880da 100644 (file)
       <id>ebr-bundles-release</id>\r
       <name>ebr-bundles-release</name>\r
       <url>${nexusproxy}/repositories/ebr-bundles-release/</url>\r
+      <snapshots>\r
+          <enabled>false</enabled>\r
+      </snapshots>\r
+      <releases>\r
+          <enabled>true</enabled>\r
+      </releases>\r
     </repository>\r
     <!-- EBR external -->\r
     <!-- http://repository.springsource.com/maven/bundles/external -->\r
index 3b76cb5..96c5166 100644 (file)
       <id>ebr-bundles-external</id>
       <name>ebr-bundles-external</name>
       <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
+        <snapshots>
+           <enabled>false</enabled>
+        </snapshots>
+        <releases>
+           <enabled>true</enabled>
+        </releases>
     </repository>
     <repository>
       <id>central</id>
       <id>ops4j-releases</id>
       <name>ops4j-releases</name>
       <url>${nexusproxy}/repositories/ops4j-releases/</url>
+      <snapshots>
+        <enabled>false</enabled>
+      </snapshots>
+      <releases>
+        <enabled>true</enabled>
+      </releases>
     </repository>
     <!-- Third Packages hosted in local maven because not available in other
       places -->
       <id>thirdparty</id>
       <name>thirdparty</name>
       <url>${nexusproxy}/repositories/thirdparty/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+      </releases>
     </repository>
     <!-- Jboss mirror -->
     <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
       <id>opendaylight-release</id>
       <name>opendaylight-release</name>
       <url>${nexusproxy}/repositories/opendaylight.release/</url>
+      <snapshots>
+          <enabled>false</enabled>
+      </snapshots>
+      <releases>
+          <enabled>true</enabled>
+      </releases>
     </repository>
     <!-- OpenDayLight Snapshot artifact -->
     <repository>
       <id>opendaylight-snapshot</id>
       <name>opendaylight-snapshot</name>
       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+      <snapshots>
+          <enabled>true</enabled>
+      </snapshots>
+      <releases>
+          <enabled>false</enabled>
+      </releases>
     </repository>
   </repositories>
   <distributionManagement>
index a16472b..657a57a 100755 (executable)
             <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot</url>
             <snapshots>
                 <updatePolicy>daily</updatePolicy>
+                <enabled>true</enabled>
             </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
         </repository>
     </repositories>
 </project>
index 73b6911..6ffee10 100644 (file)
             <id>opendaylight-release</id>
             <name>opendaylight-release</name>
             <url>${nexusproxy}/repositories/opendaylight.release/</url>
+            <snapshots>
+                 <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                 <enabled>true</enabled>
+            </releases>
         </repository>
         <!-- OpenDayLight Snapshot artifact -->
         <repository>
             <id>opendaylight-snapshot</id>
             <name>opendaylight-snapshot</name>
             <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
         </repository>
         <repository>
             <id>thirdparty</id>
             <name>thirdparty</name>
             <url>${nexusproxy}/repositories/thirdparty/</url>
+            <snapshots>
+                 <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                 <enabled>true</enabled>
+            </releases>
         </repository>
         <repository>
             <id>central</id>
index 5b949ee..370d945 100644 (file)
       <id>central2</id>
       <name>central2</name>
       <url>http://repo2.maven.org/maven2</url>
+      <snapshots>
+           <enabled>false</enabled>
+      </snapshots>
+      <releases>
+           <enabled>true</enabled>
+      </releases>
     </repository>
     <repository>
       <id>central</id>
       <name>central</name>
       <url>http://repo1.maven.org/maven2</url>
+      <snapshots>
+           <enabled>false</enabled>
+      </snapshots>
+      <releases>
+           <enabled>true</enabled>
+      </releases>
     </repository>
     <!-- Third Packages hosted in local maven because not available in
          other places -->

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.