Resolve compilation and project build issues when using the public aem artifact and repo