From bb1def0c06ac20be3861ea476cd38d2ddfa3d743 Mon Sep 17 00:00:00 2001 From: Gwendal Roulleau Date: Tue, 24 Dec 2024 15:51:19 +0100 Subject: [PATCH] Add bnd-run target (#1707) This allows running the demo project from the command line, using the bnd maven plugin. mvn bnd-run:run You can also add an agent to remote debug openHAB, and even hotswap : mvn -D-runjdb=10001 package bnd-run:run This is very useful when using Intellij IDEA or IDEs other than Eclipse. Signed-off-by: Gwendal Roulleau --- launch/app/pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/launch/app/pom.xml b/launch/app/pom.xml index b2dc149bbc..4551cd9dcf 100644 --- a/launch/app/pom.xml +++ b/launch/app/pom.xml @@ -186,6 +186,17 @@ + + + biz.aQute.bnd + bnd-run-maven-plugin + ${bnd.version} + + true + app.bndrun + + + org.apache.maven.plugins maven-clean-plugin @@ -301,6 +312,10 @@ + + biz.aQute.bnd + bnd-run-maven-plugin + biz.aQute.bnd bnd-maven-plugin