pom.xml
modules
deployment
spring
Why is my require-capability in pom.xml not working?
Question
Why is my Require-Capability in pom.xml not working?
Answer
When you use the require-capability directly in the instructions in the plugin, you have to use uppercase R and C like:
<Require-Capability>osgi.extender;filter:="(osgi.extender=org.jahia.bundles.blueprint.extender.config)"</Require-Capability>
When you use it in the properties section, you can use lower case values.
The problem, it is case-sensitive in the MANIFEST.MF in the module.
Perhaps you could have the same problem for jahia-module-type and import-package (should be Jahia-Module-Type and Import-Package).
For a full example, you can have a look to:
There you should see a full instruction part of the plugin from pom.xml. Usually, all words start with upper case.