Message () { return new DefaultMessageBuilder() .withTitle(myTitle) .withText(myDescription) // custom model builders failures often not so critical to the import results and reported as warnings to avoid useless distraction .withKind(Message.Kind.WARNING) .withException(myException) .withGroup(myGroup) .withProject(myProject) .build(); }