Bump versions by x.y.(z+1)
[odlparent.git] / features-parent / pom.xml
index 7d827f69cfaa0eb9ebab0778922bed5493a816f7..131b5d7ce1000246b13e0d9f2a4f2f8089bbcfea 100644 (file)
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent</artifactId>
-        <version>1.7.0-SNAPSHOT</version>
+        <version>1.8.5-SNAPSHOT</version>
         <relativePath>../odlparent</relativePath>
     </parent>
 
                 <plugin>
                     <groupId>org.codehaus.mojo</groupId>
                     <artifactId>build-helper-maven-plugin</artifactId>
-                    <version>1.9.1</version>
+                    <version>1.12</version>
                     <executions>
                         <execution>
                         <phase>generate-resources</phase>
                 </plugin>
                 <plugin>
                     <artifactId>maven-resources-plugin</artifactId>
-                    <version>2.7</version>
+                    <version>3.0.1</version>
                     <executions>
                         <execution>
                             <id>filter</id>
                     <version>${maven.surefire.version}</version>
                     <configuration>
                         <skip>${skip.karaf.featureTest}</skip>
+                        <systemPropertyVariables>
+                            <!-- Remove these properties when a better fix to Bug 6523 appears. -->
+                            <karaf.distro.groupId>org.opendaylight.odlparent</karaf.distro.groupId>
+                            <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
+                            <karaf.distro.version>1.8.5-SNAPSHOT</karaf.distro.version>
+                        </systemPropertyVariables>
                         <dependenciesToScan>
                             <dependency>org.opendaylight.odlparent:features-test</dependency>
                         </dependenciesToScan>
                         </pluginExecution>
                         <pluginExecution>
                           <pluginExecutionFilter>
+                            <groupId>org.apache.maven.plugins</groupId>
                             <artifactId>maven-dependency-plugin</artifactId>
                             <versionRange>[0.0,)</versionRange>
                             <goals>
         </pluginManagement>
 
         <plugins>
+            <plugin>
+                <!-- This generates the META-INF/maven/dependencies.properties file
+                        which is required by the versionAsInProject() used in SingleFeatureTest -->
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>depends-maven-plugin</artifactId>
+            </plugin>
             <plugin>
                 <artifactId>maven-dependency-plugin</artifactId>
             </plugin>
         <dependency>
             <groupId>org.opendaylight.odlparent</groupId>
             <artifactId>features-test</artifactId>
-            <version>1.7.0-SNAPSHOT</version>
+            <version>1.8.5-SNAPSHOT</version>
+            <scope>test</scope>
+        </dependency>
+        <!-- Remove this dependency when a better fix for Bug 6523 appears. -->
+        <dependency>
+            <groupId>org.opendaylight.odlparent</groupId>
+            <artifactId>opendaylight-karaf-empty</artifactId>
+            <version>1.8.5-SNAPSHOT</version>
+            <type>zip</type>
             <scope>test</scope>
         </dependency>
     </dependencies>