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.xmllike this:
<build>
...
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
...
- To modify my
switchyard.xmlbelow 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-pluginin mypom.xmlto utilise the bean scanner, and suspect it may be because this plugin takesswitchyard.xmlaway 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
