I am using the "maven-publish" plugin to generate poms for the artifacts in my gradle build. But when I use the Artifactory jenkins plugin in my pipeline script, it's only detecting the artifacts, but not the generated pom files.
It gives the following error,
Cannot publish pom for project ':' since it does not contain the Maven plugin install task and task ':artifactoryPublish' does not specify a custom pom path.
Note: I cannot use the "maven" plugin because it's install task conflicts with the android's install task.
I would be happy to have a workaround if this cannot be fixed because it's blocking our builds and we need to find a way to upload the pom files urgently.