...
Code Block |
---|
|
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<configuration>
<applicationContextUri>META-INF/spring/*.xml;YOUR_FILE_NAME_IN_THE_CLASS_PATH.xml</applicationContextUri>
</configuration>
</plugin>
|
File based spring configuration files
In Camel 1.4 loading file based spring context files is also supported. You configure this with the new option fileApplicationContextUri. Paths may be split using a semi-colon (;). This is usable for projects that is web applications and you store spring configuration files in WEB-INF.
Code Block |
---|
|
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<configuration>
<fileApplicationContextUri>src/main/webapp/WEB-INF/camel*.xml</fileApplicationContextUri>
</configuration>
</plugin>
|
Integration into Maven Reports
...