Re: Building a main + test jar from the provisioning model

2020-05-07 Thread Robert Munteanu
Thanks Carsten and Konrad. I hoped there would be a very simple solution that I overlooked. I think we should look into this once we have moved to the feature model, which I guess makes lauching such combinations very easy. Thanks, Robert On Tue, 2020-05-05 at 13:32 +0200, Carsten Ziegeler wrote

Re: Building a main + test jar from the provisioning model

2020-05-05 Thread Carsten Ziegeler
I'm not sure if this works ootb, but you could try creating a model archive out of the testing provisioning model and then at runtime use the osgi installer (with the prov model plugin) to install the testing part. I think the slingfeature maven plugin is flexible enough to do so for feature m

Re: Building a main + test jar from the provisioning model

2020-05-05 Thread Konrad Windszus
Hi Robert, I guess you need some tweaks in https://github.com/apache/sling-slingstart-maven-plugin/blob/5bbdae1d61698ac202845e5f242ecc8b602e7ed6/src/main/java/org/apache/sling/maven/slingstart/run/StartMojo.java#L366. The launchpad to start must consist of the merged 2 provisioning models, so mos

Building a main + test jar from the provisioning model

2020-05-05 Thread Robert Munteanu
Hi, I am trying out moving the launchpad-testing module to the sling starter. This is just an experiment for now, will get back to the list in case I am successful for a proper discussion. The launchpad-testing module has its own limited provisioning model file [1]. I am trying to add it to the s