I'm building a Flex application with Maven and the Flex Mojos plugin. I now want to compile an alternative version of the application with some extra libraries to enable automated functional testing. For this I need to change 2 things in the pom:
- extra dependencies
- extra configuration of the Flex Mojos plugin in the build section
I created a profile in the pom targetted at building the alternative version and added the extra dependencies. I'm wondering however how I can specify the extra configuration of the Flex Mojos plugin in the build section.
Should I just redefine (copy and modify) the complete plugin configuration from the build section into my profile, or is there another way to do this?