Search code examples
jenkinsmaven-3artifactory

Deploying the root pom.xml to artifactory via jenkins?


I'm uploading from jenkins to artifactory and my whole maven project is built with:

mvn clean install

The project has

enter image description here

Result of the Deploy to Artifactory:

enter image description here enter image description here

How do I get the root pom.xml to the artifactory? I reference this from other project and it does not build because of it. All the other modules are deployed and their POMs as well.


Solution

  • It seems that the reason that it did not work was that I had included an include pattern in the deploy maven artifacts, I removed the ".xml, *.jar" and it deployed correctly.

    enter image description here