Merge pull request #292 from 0lejk4/make_developer_email_optional

make Developer email optional as it is not obligatory and some people…
This commit is contained in:
eugene yokota 2019-03-22 15:08:18 -04:00 committed by GitHub
commit f6c267a208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -206,8 +206,13 @@ class MakePom(val log: Logger) {
<developer>
<id>{ developer.id }</id>
<name>{ developer.name }</name>
<email>{ developer.email }</email>
<url>{ developer.url }</url>
{
developer.email match {
case "" | null => NodeSeq.Empty
case e => <email>{ e }</email>
}
}
</developer>
}
}