Mails in the text format makes the stuff unreadable, so that I attach a diff file to this mail about what I've added to the camel-elasticsearch feature to make the validation pass again.
Babak Am 21.10.12 21:35 schrieb "Babak Vahdat" unter <babak.vah...@swissonline.ch>: >Hi > >After the following dependency upgrades, the karaf features.xml does not >validate anymore: > >http://svn.apache.org/viewvc?view=revision&revision=1396866 > >The validation fails by camel-elasticsearch: > >~/dev/workspace/camel/platforms/karaf/features>mvn clean install >-Pvalidate >... >[WARNING] Failed to validate feature camel-elasticsearch >[WARNING] No export found to match com.fasterxml.jackson.core.format >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core.json >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core.sym >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match org.apache.regexp (imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.dataformat.smile >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core.type >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core.base >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core (imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core.util >(imported by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[WARNING] No export found to match com.fasterxml.jackson.core.io (imported >by >mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsea >r >ch/0.19.10_1) >[INFO] >------------------------------------------------------------------------ >[INFO] BUILD FAILURE >[INFO] >------------------------------------------------------------------------ >[INFO] Total time: 4.307s >[INFO] Finished at: Sun Oct 21 21:25:36 CEST 2012 >[INFO] Final Memory: 29M/1011M >[INFO] >------------------------------------------------------------------------ >[ERROR] Failed to execute goal >org.apache.karaf.tooling:features-maven-plugin:2.2.9:validate (validate) >on project apache-camel: Unable to validate >/Users/bvahdat/dev/workspace/camel/platforms/karaf/features/target/classes >/ >features.xml: 10 unresolved imports in feature camel-elasticsearch -> >[Help 1] >? > >On my workspace I could fix the validation errors above by adding the >following 3 bundle dependencies, however this was just a quick & dirty >attempt to fix the problem locally (I did *not* commit this fix). > > ><feature name="camel-elasticsearch" version="${project.version}" >resolver="(obr)" start-level="50"> >... > > <bundle >dependency='true'>mvn:com.fasterxml.jackson.core/jackson-core/2.1.0</bundl >e >> > <bundle >dependency='true'>mvn:com.fasterxml.jackson.dataformat/jackson-dataformat- >s >mile/2.1.0</bundle> > <bundle >dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix. >b >undles.regexp/1.3_3</bundle> ></feature> > >Any OSGi expert advices would be appreciated. > >Babak > > >