Passing deploy.bsp.root.dir to mmm

Hello,

I am trying to define the property deploy.bsp.root.dir dynamically
and pass it to mmm

mmm publish
-Ddeploy.bsp.root.dir=microej/nxpvee-mimxrt1170-prj/nxpvee-mimxrt1170-evk/nxpvee-mimxrt1170-evk-bsp

but this is not taken into account

Is there an error with this approach?
How can I dynamically change this property?

Thanks

g.

Hello @guido.roncarolo,

Adding the prefix platform-launcher.inject. should fix your issue:

mmm publish -Dplatform-launcher.inject.deploy.bsp.root.dir=microej/nxpvee-mimxrt1170-prj/nxpvee-mimxrt1170-evk/nxpvee-mimxrt1170-evk-bsp

Regards,
Alexis

Thank you!

regards

g.