Hi Mick,
camel maven plugin don't support to specify the class path application
context and the file application context at the same time.
Can you try to configure the plugin like this?
<applicationContextUri>META-INF/spring/camel-server-aop.xml;applicationContext-test.xml</applicationContextUri>
You may need to add the test-jar into the plugin's dependency.
Or you specify the exactly application context url files in the
<fileApplicationContextUri></fileApplicationContextUri>
Willem
Mick Knutson wrote:
I have the following declaration:
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<version>${camel.version}</version>
<configuration>
<applicationContextUri>META-INF/spring/camel-server-aop.xml</applicationContextUri>
*
<!--<fileApplicationContextUri>${project.build.directory}/test-classes/applicationContext-test.xml</fileApplicationContextUri>-->
*
</configuration>
</plugin>
The fileApplicationContextUri does not get picked up, thus I commented it
out.
I am trying to have a test version, then be able to switch out a PROD
version in my war.
I also tried:
<applicationContextUri>META-INF/spring/*.xml;*${project.build.directory}/test-classes/applicationContext-test.xml*</applicationContextUri>
But that also did not get picked up.
---
Thank You…
Mick Knutson, President
BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233
Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---