2.2.1
- Incorrect usage detection: fail if pom or withPomXml closure applied to upper project convention
This could happen in allprojects section when java plugin applied lately (e.g. in subprojects section)
and pom closure applied to root project's convention (that's how conventions work)