Hi Peter,
You can use the Maven filter, but it's not really easy as you don't know
all transitive dependencies.
I'm agree with you that we should add a goal configuration to avoid to
resolve the transitive dependencies.
I will raise a Jira for that.
FYI, we are reviewing the Maven plugin and assemblies currently. Any
feedback is welcome !
Thanks !
Regards
JB
On 10/12/2011 03:11 PM, peterg wrote:
Hi,
from my understanding, the features-generate-descriptor goal of the
karaf-maven-plugin (version 3.0.0-SNAPSHOT) pulls in all transitive
dependencies into the created feature.xml file.
I would like it to only include the bundles that I explicitly include in my
dependencies. That is, I would like the plugin to ignore transitive
dependencies. Now, is there a configuration parameter to achieve this? After
reading the plugin documentation (mvn help:describe) I cannot seem to find
such an option.
Currently I'm using a bunch of<excludes> to ignore transitive dependencies
but it's rather tedious and clutters the pom file.
best regards, Peter
--
View this message in context:
http://karaf.922171.n3.nabble.com/Any-way-of-telling-karaf-maven-plugin-features-generate-descriptor-to-ignore-transitive-dependencies-tp3415670p3415670.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com