Add generics during invocation to work around JavaC bug on Jenkins

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>
Issue #SMARTCMS-56 - Workspace ID must be overrideable