On Tue, 2026-01-27 at 13:42 +0000, Stefan Seifert wrote: > with the recent fixes to the sling feature launcher plugin, i was > able to complete the PR which moves the models Its inteo the impl > project: > https://github.com/apache/sling-org-apache-sling-models-impl/pull/75 > > it works nicely, also it requires a quite complex setup in the pom. > > the magic code that creates the bundle with the test models on the > fly is this: > https://github.com/apache/sling-org-apache-sling-models-impl/blob/feature/SLING-13050-integration-tests-single-pom/src/test/java/org/apache/sling/models/it/GenerateTestBundle.java > currently executed with exec-maven-plugin. > > we could make a custom maven module out of it without much effort to > reduce the boilerplate code between modules applying this approach. > WDYT?
Reducing boilerplate when running ITs in a module is a very good goal IMO. I see that besides the models you are also looking into the Jackson exporter. The OAuth client bundle [1] has a simpler way of running ITs but also has a lot a boilerplate. It would be good to see what can be extracted and reused. Thanks, Robert [1]: https://github.com/apache/sling-org-apache-sling-auth-oauth-client
