Hi,

I am looking into SLING-9498 [1] which aims to generate a feature model
on the fly in the Sling Starter. The code is mostly working [2] but
suffers from the fact that the feature files generated by the sling-
feature-sling-feature-converter-maven-plugin and written to disk are
not visible to the slingfeature-maven-plugin in the same build.

They are actually visible in a subsequent build, so `mvn package` would
work starting with the second attempt. Is this something I
misconfigured in the pom, or the code does not support that? If it's a
code problem, is it something that can be changed with reasonable
effort? I familiarised myself a bit with the codebase but I'm not sure
if we should add a mojo to re-read the feature files from disk or maybe
have the converter plugin depend on the main slingfeature plugin and
tell it of the new features.

Thanks,
Robert


[1]: https://issues.apache.org/jira/browse/SLING-9498
[2]: https://github.com/apache/sling-org-apache-sling-starter/pull/9

Reply via email to