Hi Devs,

Recently I've upgraded from maven-bundle-plugin verssion from 2.5.4 to
3.0.1 and I am experiencing the following behavior with the latest version.

I have following section in  Sample class

@Component(
        name =
"org.wso2.carbon.kernel.internal.deployment.DeploymentEngineListenerComponent",
        immediate = true,



*property = {
"capability-name=org.wso2.carbon.kernel.deployment.Deployer",
"component-key=carbon-deployment-service"        }*
)

for the 2.5.4 version's generated MANIFEST.MF I could see the following in
Provide-Capability section.

Provide-Capability: osgi.service;effective:=active;objectClass="org.wso2
 .carbon.kernel.startupresolver.RequiredCapabilityListener";capability-n
 ame="org.wso2.carbon.sample.deployer.mgt.Deployer";component-key=carbon
 -sample-deployment-engine

And for the 3.0.1 version's generated MANIFEST.MF I could see the following
in Provide-Capability section. the property tag inside the Component
annotation is missing. and also the objectClass is changed to
objectClass:List<String>.

Provide-Capability: osgi.service;objectClass:List<String>="org.wso2.carb
 on.kernel.startupresolver.RequiredCapabilityListener"

How do I make the properties inside the Component section available in
MANIFEST.MF in the 3.0.1 version?

Regards,
Aruna

Reply via email to