How do I generate maven-metata.xml with maven-publish and the artifactory-gradle-plugin?
A groupId
had to be added to the publications
section. Once implemented, a maven-metadata.xml
file was published to the artifact repository.
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'com.group'
}
}
}