IKASAN-721 - Remove casting on flowElementInvoker as its using generics
IKASAN-721 - Fix sample pom to ensure it inherits from the parent build