Maven resource filtering doesn't work in a SwitchYard (SOA-P 6) project

Solution Verified - Updated -


  • I'm trying to use Maven's resource filtering in my project's pom.xml like this:
  • To modify my switchyard.xml below at build time.
         <sca:reference name="routerToFile" promote="FirstServiceESB/FileRouterListener" multiplicity="1..1">
  • However, the filtering doesn't happen.
  • I'm also using switchyard-plugin in my pom.xml to utilise the bean scanner, and suspect it may be because this plugin takes switchyard.xml away before Maven's filtering it during packaging.


  • 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.

Current Customers and Partners

Log in for full access

Log In