I am developing several proxies for an API and I will want to use maven plugin to insert code fragments into my code for the common parts. I am using it for the default fault rule that is the same for all to avoid duplicating code but I cannot make it work. This is the code I am using: <DefaultFaultRule name="Store Locator - Default Always Runs">
#FragmentCode#
</DefaultFaultRule> Then I have a folder in the project with this FragmentCode.flowfrag file I also have policy files to be copied (and they are copied), but this FragmentCode is not inserted when uploaded into Apigee using maven deployment script. I have added the plugin to the pom.xml file too.
Can anyone throw some light on it?