Migrating a project from version 2.0 to 2.1, I encounter this error:
* What went wrong:
A problem occurred evaluating root project 'source'.
> Failed to apply plugin [id 'maven-publish']
> model 'tasks' is finalized
How can I tell which operation performs this finalization of ‘tasks’?