Handling variable while getting the source directory form pom