我正在尝试在 Cruise Control 中设置一些群组电子邮件通知,并且我一直在遵循我发现的许多示例的模式:
<htmlemail mailhost="${mail.host}" subjectprefix="${mail.subject.prefix}" returnaddress="${mail.address.return}"
buildresultsurl="${build.url}/${project.name}" css="${css.location}" xsldir="${xsl.dir}"
xslfilelist="header.xsl,buildresults.xsl" returnname="${return.name}" skipusers="false" spamwhilebroken="false"
username="${cc.mail.username}" password="${cc.mail.password}" usessl="true" mailport="465" >
<users>
<user name="svnUser" group="buildmaster" address="${mail.address.buildmanager}"/>
</users>
<groups>
<group name="buildmaster" >
<notifications>
<notificationType>Always</notificationType>
</notifications>
</group>
</groups>
</htmlemail>
当我启动 CC 时,出现以下异常:
....
Caused by: net.sourceforge.cruisecontrol.CruiseControlException: Unknown plugin for: <users>
at net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:106)
....
我认为去年有人遇到了同样的问题,但没有解决该错误:
这似乎是一件如此简单的事情,有人知道为什么会发生这种异常吗?