2 answers

The other method that I use is to first clone, edit and build your project (in this case, DLUX) repo. That will put it's
build artifacts in your local .m2 repo.

Next clone and build the integration-distribution repo. This will use any artifacts from your local .m2 repo first and
then from nexus next. So, the resulting "full" distribution .zip in distribution-karaf/target/ will also have your dlux
changes.

This will be automatically done if you have the exact matching version of DLUX in ODL.

EX. suppose you cloned 0.3.3-SNAPSHOT DLUX version , make sure the same version is mentioned in ODL pom.xml file .
Once you build your ODL it will take the modified DLUX from .m2 .
Simply putting take stable/beryllium version of DLUX and ODL . Then modify the DLUX , build the both projects. install dlux. you can see Your modifications ! here ODL i mean Integration -distribution of ODL