Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
slingfeature-maven-plugin 1.3.2
-
None
-
None
Description
When I have a parent POM (package 'pom') and only have sub modules in there and then a submodule wants to create a Feature Model using 'include-artifact' then the build fails with the message: 'The slingfeature preprocessor did not run'.
Running the build from the child does just fine.
Debugging this yields a strange issue where the ProjectHelper.storeProjectInfo() is using another Maven Project instance (info.project) than the one given to the ProjectHelper.checkProcessorRun() - hence the failure.
This is very irritating because the suggested fix is not fixing it (extensions = true).
My guess is that this is a problem with sub modules where the testing is not done with the same Maven Project instance and hence the stored Context Value is then not found.