pom.xml modules deployment spring

Why is my require-capability in pom.xml not working?


Why is my Require-Capability in pom.xml not working?


When you use the require-capability directly in the instructions in the plugin, you have to use uppercase R and C like:


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:

Osgi Tooling in Jahia

There you should see a full instruction part of the plugin from pom.xml. Usually, all words start with upper case.