Use specific versions for odlparent imports 72/53272/3
authorStephen Kitt <skitt@redhat.com>
Tue, 14 Mar 2017 12:21:24 +0000 (13:21 +0100)
committerStephen Kitt <skitt@redhat.com>
Tue, 14 Mar 2017 13:43:19 +0000 (14:43 +0100)
Felix (or something related) doesn't look for snapshots in version
ranges, which breaks integration/distribution, so we can't use version
ranges for feature dependencies (even though they don't currently end
up in the generated features) until we switch to release artifacts.

See
https://jenkins.opendaylight.org/releng/job/netconf-distribution-check-carbon/1468/
for an example of a broken build.

Change-Id: I1c50ba1d05ef1eb8fd06820f5e84c02e3ae43fad
Signed-off-by: Stephen Kitt <skitt@redhat.com>
features/odl-yangtools-common/pom.xml

index c04c84534198f6996a24f57abb6d559bdbf8a066..f159f5412e4e84ab69f4e840f15712de6a9ce789 100644 (file)
 
     <dependencyManagement>
         <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.odlparent</groupId>
+                <artifactId>odlparent-artifacts</artifactId>
+                <version>1.8.0-SNAPSHOT</version>
+                <type>pom</type>
+                <scope>import</scope>
+            </dependency>
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yangtools-artifacts</artifactId>
         <dependency>
             <groupId>org.opendaylight.odlparent</groupId>
             <artifactId>odl4-guava-18</artifactId>
-            <version>[1.7.0,2.0.0)</version>
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.odlparent</groupId>
             <artifactId>odl4-triemap-0.2</artifactId>
-            <version>[1.7.0,2.0.0)</version>
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>