private <T> T loadRequiredModel(Class<T> clzz, String location) throws MojoExecutionException {
        return ModelLoaderUtils.loadModel(clzz, getResourceLocation(location));
    }
Load required model from the project resources.
aws-java-sdk-codegen-maven-plugin/src/main/java/com/amazonaws/codegen/maven/plugin/GenerationMojo.java