Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41224

Not able to publish the pom file with maven-publish plugin in gradle

XMLWordPrintable

      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.

            eyalbe Eyal Ben Moshe
            abishek3876 Abishek Manoharan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: