Hi Aruna, Let's contact maven-bundle plugin mailing list and bndtools github project and check with them first on this. bndtools is the internal lib used with processing ds_annotations in bundles.
On Tue, Mar 15, 2016 at 10:41 AM, Sameera Jayasoma <[email protected]> wrote: > Yes. Following JIRA is related to this issue. We need to find out why they > have done this change. > > https://wso2.org/jira/browse/CARBON-15810 > > On Tue, Mar 15, 2016 at 5:31 AM, Aruna Karunarathna <[email protected]> > wrote: > >> 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 >> >> > > > > -- > Sameera Jayasoma, > Software Architect, > > WSO2, Inc. (http://wso2.com) > email: [email protected] > blog: http://blog.sameera.org > twitter: https://twitter.com/sameerajayasoma > flickr: http://www.flickr.com/photos/sameera-jayasoma/collections > Mobile: 0094776364456 > > Lean . Enterprise . Middleware > > -- *Kishanthan Thangarajah* Associate Technical Lead, Platform Technologies Team, WSO2, Inc. lean.enterprise.middleware Mobile - +94773426635 Blog - *http://kishanthan.wordpress.com <http://kishanthan.wordpress.com>* Twitter - *http://twitter.com/kishanthan <http://twitter.com/kishanthan>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
