Avoid warning about missing DeltaSpike dependency
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/91d1abee Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/91d1abee Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/91d1abee Branch: refs/heads/master Commit: 91d1abeed333c323a4b38e148559cc8001adc8ca Parents: b7e661f Author: Antonin Stefanutti <anto...@stefanutti.fr> Authored: Tue Feb 23 13:09:05 2016 +0100 Committer: Antonin Stefanutti <anto...@stefanutti.fr> Committed: Tue Feb 23 13:09:05 2016 +0100 ---------------------------------------------------------------------- components/camel-cdi/src/main/resources/META-INF/beans.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/91d1abee/components/camel-cdi/src/main/resources/META-INF/beans.xml ---------------------------------------------------------------------- diff --git a/components/camel-cdi/src/main/resources/META-INF/beans.xml b/components/camel-cdi/src/main/resources/META-INF/beans.xml index dd78a5d..14deb99 100644 --- a/components/camel-cdi/src/main/resources/META-INF/beans.xml +++ b/components/camel-cdi/src/main/resources/META-INF/beans.xml @@ -20,5 +20,9 @@ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/beans_1_0.xsd" version="1.0" bean-discovery-mode="all"> - + + <scan> + <exclude name="org.apache.camel.cdi.Main"/> + </scan> + </beans> \ No newline at end of file