Hi all,

With the upgrade of wso2 parent pom version 3, the maven-bundle-plugin
version is upgraded to 3.0.1.

The property annotation inside the Component are not being added to the
Manifest headers with this new version. See the below example.

@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.

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

Also the objectClass is changed to objectClass:List<String>.

Regards,
Aruna
-- 

*Aruna Sujith Karunarathna *
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to