diff --git a/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java b/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java index 55bc157bcb..e78de24e27 100644 --- a/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java +++ b/sandbox/repoclean/src/main/java/org/apache/maven/tools/repoclean/translate/PomV3ToV4Translator.java @@ -169,8 +169,8 @@ public class PomV3ToV4Translator { Notifier notifier = new Notifier(); - notifier.setAddress( nagEmailAddress ); notifier.setType( "mail" ); + notifier.addConfiguration( "address", nagEmailAddress ); ciMgmt = new CiManagement(); ciMgmt.addNotifier( notifier );