Add maven-paxexam-plugin to features-test, for dependencies.properties
[integration/distribution.git] / features-distribution / pom.xml
index e8a8f57ba6c140a9e14f8d84866873b0aa0183c4..ea14609899bf97df9a3d3abf181b7128deea1189 100644 (file)
             </resource>
         </resources>
         <plugins>
+            <plugin>
+                <!-- This generates the META-INF/maven/dependencies.properties file
+                     which is required by the versionAsInProject() used in SingleFeatureTest -->
+                <groupId>org.ops4j.pax.exam</groupId>
+                <artifactId>maven-paxexam-plugin</artifactId>
+                <executions>
+                  <execution>
+                   <id>generate-dependencies.properties-file</id>
+                   <goals>
+                     <goal>generate-depends-file</goal>
+                   </goals>
+                  </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.karaf.tooling</groupId>
                 <artifactId>karaf-maven-plugin</artifactId>