String (ConvertContext context) { MavenDomRepositoryBase repository = context.getInvocationElement().getParentOfType(MavenDomRepositoryBase.class, false); if (repository != null) return repository.getId().getStringValue(); return null; }