Maven resource filtering doesn't work in a SwitchYard (SOA-P 6) project
Issue
- I'm trying to use Maven's resource filtering in my project's
pom.xml
like this:
<build>
...
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
...
- To modify my
switchyard.xml
below at build time.
<sca:reference name="routerToFile" promote="FirstServiceESB/FileRouterListener" multiplicity="1..1">
<file:binding.file>
<file:directory>${project.build.directory}/output</file:directory>
<file:autoCreate>true</file:autoCreate>
<file:fileName>results.log</file:fileName>
</file:binding.file>
</sca:reference>
- However, the filtering doesn't happen.
- I'm also using
switchyard-plugin
in mypom.xml
to utilise the bean scanner, and suspect it may be because this plugin takesswitchyard.xml
away before Maven's filtering it during packaging.
Environment
- JBoss Enterprise SOA Platform (SOA-P)
- 6.0.0 Alpha
- SwitchYard 0.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.