Open arunpatidar02 opened 2 years ago
When context aware configurations are created as java interface, the bnd-maven-plugin is not able to scan the class, hence no context aware configurations are detected. https://github.com/adobe/aem-project-archetype/blob/d02bbda3853a5168c6b95406bb914a544246dbf8/src/main/archetype/pom.xml#L237
java interface context aware configurations must be detected
java interface context aware configurations are not detected hence classes are not available in the bundle.
AEMaaCS
Add multiple plugins as comma separated values i.e. https://bnd.bndtools.org/instructions/plugin.html example -plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin,org.apache.sling.bnd.models.ModelsScannerPlugin
-plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin,org.apache.sling.bnd.models.ModelsScannerPlugin
N/A
This is a duplicate of #971
When context aware configurations are created as java interface, the bnd-maven-plugin is not able to scan the class, hence no context aware configurations are detected. https://github.com/adobe/aem-project-archetype/blob/d02bbda3853a5168c6b95406bb914a544246dbf8/src/main/archetype/pom.xml#L237
Expected Behaviour
java interface context aware configurations must be detected
Actual Behaviour
java interface context aware configurations are not detected hence classes are not available in the bundle.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version
AEMaaCS
Fix
Add multiple plugins as comma separated values i.e. https://bnd.bndtools.org/instructions/plugin.html example
-plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin,org.apache.sling.bnd.models.ModelsScannerPlugin
Sample Code that illustrates the problem
N/A
Logs taken while reproducing problem
N/A