Hi Yes see and read our documentation http://camel.apache.org/camel-maven-plugin.html
On Fri, Jan 25, 2013 at 12:19 PM, sammm <martin.s...@gmail.com> wrote: > i've got a question about building production releases when the content XML > file is setup for the Eclipse. I have (in my POM) moved the 'camel-eclipse' > plugin to a separate profile which i only reference in an Eclipse run > configuration. > The trouble is, however, that i therefore need a way to [conditionally] > exclude this bean: > > <bean id="eclipseResolver" > class="org.apache.camel.component.eclipse.EclipsePackageScanClassResolver"/> > > i.e., if i'm running in eclipse i want the bean but if i'm building a > production release then i dont want that bean in the XML as it causes class > errors when deployed to ServiceMix. > > Is there a way when running using the 'camel:run' mvn target to specify a > different XML file to use? > > Martin > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Eclipse-Plugin-Production-Build-tp5726247.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen