Am 10.09.2013 20:27, schrieb Cristiano Gavião:
Hi,

hi,
I faced some like this once.
It seems that maven-bundle-plugin adds an import-package declaration only when there are explicitly references to desired packages. by explicitly I mean, you must have a declaration of a parameter or an attribute.

even if you just add an not used "import org.talend.examples.crmservice.model.Customer;" to the class CRMServiceProxyFactory won't help. but if you declare an attribute, it adds.

as a workaround you will have to add the import statement into your pom. somethink like:
<Import-Package>org.talend.examples.crmservice.model, *</Import-Package>

This is what I am doing right now. It is a bit ugly though. Can this be fixed in an upcoming version?

Christian

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to