-
1. Re: SwitchYardRunner fails because of unfiltered switchyard.xml
kcbabo Jul 18, 2013 7:32 AM (in response to edevera)Is this for switchyard.xml or for another resource?
-
2. Re: SwitchYardRunner fails because of unfiltered switchyard.xml
edevera Jul 18, 2013 9:41 AM (in response to kcbabo)It is switchyard.xml unfiltered.
-
3. Re: SwitchYardRunner fails because of unfiltered switchyard.xml
kcbabo Jul 18, 2013 9:52 AM (in response to edevera)The switchyard-plugin validates and serializes the config model to target/classes, so it could be that the plugin is picking up from src/main/resources at a time when filters have already created the filtered version in target/classes. The plugin that serializes into target/classes, replacing the filtered resource. Our test runner can be used to use alternate switchyard.xml definitions(you specify the path/name in the test) via the config element. You can try using that to point to something like switchyard-filtered.xml which the SY plugin won't touch. Another option would be to remove the switchyard-plugin and see what happens. :-)
-
4. Re: SwitchYardRunner fails because of unfiltered switchyard.xml
edevera Jul 18, 2013 11:06 AM (in response to kcbabo)Will the switchyard plugin read from the filtered switchyard.xml file at some point? Otherwise I think that using the switchyard plugin might make it impossible to have Maven filtering for switchyard configuration files. Right?
-
5. Re: SwitchYardRunner fails because of unfiltered switchyard.xml
dward Jul 18, 2013 11:12 AM (in response to edevera)You should be able to configure the plugin with different scan directories (and thus find a filtered switchyard.xml), per the mojo here: http://goo.gl/nbz2b
-
6. Re: SwitchYardRunner fails because of unfiltered switchyard.xml
tadayosi Jul 18, 2013 11:31 AM (in response to edevera)Hi Eduardo,
You might find the below forum discussion interesting:
"Maven resource filtering doesn't work in a SwitchYard project"