Andreas Schaefer created SLING-8587:
---------------------------------------
Summary: Sling Feature Maven Plugin does not work w/o proper FM
setup
Key: SLING-8587
URL: https://issues.apache.org/jira/browse/SLING-8587
Project: Sling
Issue Type: New Feature
Components: Feature Model
Affects Versions: slingfeature-maven-plugin 1.0.4
Reporter: Andreas Schaefer
Assignee: Andreas Schaefer
Fix For: slingfeature-maven-plugin 1.0.6
Because this Maven Plugin does a check after the project is loaded it will fail
if there is no feature files or other issues with the feature files even if
that is resolved along the project's build.
For example if for whatever reason the feature directory is not there or empty
a 'mvn clean' will fail.
Adding the convert content package Mojo to this feature is not working because
there is no feature file at the beginning as they are created by the Mojo.
This tests should be moved to the Mojo that depend on it and it must be
executed on each Mojo as the features can have been changed in the meantime.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)