We have a multi module build with modules using different technologies, like Java and Flex. Is it somehow possible to activate different profiles based on the module that is
With regard to file-based activation, you can try removing ${basedir}. We use it like this:
target/jboss/conf/jboss-service.xml