M2 Repo contents is not available in artifactory server
Welcome, Vivek 

This is not how it works 

Your local cache (~/.m2) is not transferred to Artifactory if anything the direction is the other way around (in some point of time you'll see files from Artifactory appear in your local cache).

When you run a Maven build, the configuration you provided in Maven (check the Set Me Up button in Artifactory UI) will make Maven searching for dependencies in the following order:


Local cache (~./m2)
Artifactory (first local, then remote caches)
If Artifactory won't find the artifact, whenever willows-remote is pointing to.


After the artifact is found, it will be saved in Artifactory cache and in a local cache on your machine.

The &lt;distributionManagement&gt; tag you used in your pom.xml is for deploying the artifacts you created when you run a mvn deploy command. It will take the artifact produced (one file, not your entire ~/.m2 cache) and upload it to the repo specified in &lt;distributionManagement&gt;.