Use maven or maven-publish plugin?

Hi,

I’m a newbie in gradle, I want to migrate from maven, I just want to know which plugin I should use between maven or maven-publish?
What are the main differences?
Now, I just need to publish artifacts, the other tasks are done by some other plugins.

Thanks in advance,

Hi,

maven-publish is the future. Its principal issue for now is that it does not allow signing your publications. However that’s going to be lifted with Gradle 4.8.

In short: if signing is a requirement and you know upgrading soon to 4.8 is going to be hard, use maven.
Otherwise, prefer maven-publish.

Totally clear, thanks for the quick answer.