summaryrefslogtreecommitdiffstats
path: root/jdisc_core_test/test_bundles/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'jdisc_core_test/test_bundles/pom.xml')
-rw-r--r--jdisc_core_test/test_bundles/pom.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/jdisc_core_test/test_bundles/pom.xml b/jdisc_core_test/test_bundles/pom.xml
index a8713fb4e41..c11a94eacc5 100644
--- a/jdisc_core_test/test_bundles/pom.xml
+++ b/jdisc_core_test/test_bundles/pom.xml
@@ -28,6 +28,20 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
+ <plugin>
+ <!-- Trick to package bundles before test phase to allow running 'mvn test' -->
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>package-test-bundles</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>bundle</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<modules>