You may need to upgrade your scr-plugin version as well. I dont think all version of the bundle plugin and the scr plugin play well together.
Regards, Sander 2016-03-14 13:54 GMT+01:00 Aruna Karunarathna <[email protected]>: > 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 > -- Met vriendelijke groet, *Tricode Professional Services BV* *Sander van Beek* *Teamlead AEM / Teamlead Services* *E* [email protected] | *T* +31 318 559210 <+31%20318%20559210> | *M* +31 6 2724 9560 <+31628395109> (gewijzigd!) | *W* www.tricode.nl *S* linkedin <http://www.linkedin.com/company/tricode> | slideshare <http://www.slideshare.net/Tricode> | twitter <https://twitter.com/Tricode> | google+ <https://plus.google.com/+tricode> | facebook <https://www.facebook.com/Tricode> Tricode Professional Services BV; De Schutterij 12; 3905 PL Veenendaal, Netherlands <http://www.tricode.nl/aem> <http://www.tricode.nl/magnolia> <http://www.tricode.nl/ishop> -- De inhoud van dit emailbericht is strikt vertrouwelijk en uitsluitend bestemd om gelezen te worden door de geadresseerde. Wij verzoeken u derhalve dit bericht direct aan de geadresseerde te overhandigen. Indien deze email per vergissing door u is ontvangen verzoeken wij u contact met ons op te nemen. Iedere openbaarmaking, verspreiding of vermenigvuldiging van dit emailbericht is strikt verboden. Iedere aansprakelijkheid is beperkt tot het bedrag dat in het desbetreffende geval onder onze beroepsaansprakelijkheidsverzekering wordt uitbetaald. The contents of this email is strictly personal and confidential and is only intended for the use by the adressee named above. We request you tot deliver this email immediately to the adressee. If you have received this email in error, please notify us. Publication, circulation, or multiplication of this email is strictly prohibited. Any liability shall be limited to the amount which is paid under the Firm's professional Liability Policy in the matter concerned.

