add bnd-run configuration
Signed-off-by: Raymond Augé <rotty3000@apache.org>
diff --git a/cdi-executable/pom.xml b/cdi-executable/pom.xml
index 5f9120e..79d6e8e 100644
--- a/cdi-executable/pom.xml
+++ b/cdi-executable/pom.xml
@@ -94,6 +94,21 @@
<includeDependencyManagement>true</includeDependencyManagement>
</configuration>
</plugin>
+ <plugin>
+ <groupId>biz.aQute.bnd</groupId>
+ <artifactId>bnd-run-maven-plugin</artifactId>
+ <configuration>
+ <bndrun>executable.bndrun</bndrun>
+ </configuration>
+ <executions>
+ <execution>
+ <id>executable</id>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
diff --git a/pom.xml b/pom.xml
index ebc6612..8f29352 100644
--- a/pom.xml
+++ b/pom.xml
@@ -346,6 +346,15 @@
</executions>
</plugin>
<plugin>
+ <groupId>biz.aQute.bnd</groupId>
+ <artifactId>bnd-run-maven-plugin</artifactId>
+ <version>${bnd.version}</version>
+ <configuration>
+ <failOnChanges>false</failOnChanges>
+ <includeDependencyManagement>true</includeDependencyManagement>
+ </configuration>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
@@ -397,6 +406,12 @@
</plugin>
</plugins>
</pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>biz.aQute.bnd</groupId>
+ <artifactId>bnd-run-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
</build>
<reporting>