Maven - How to Install/Deploy timestamped SNAPSHOTS
<p>Env : <code>Maven 3.3.9</code></p>

<p>Hi,</p>

<p>I have a maven jar module with version as 1.0-SNAPSHOT. When i do <code>mvn install</code>, the jar installed into local repository (<code>~/.m2/repository</code>) does not have timestamp. I agree that its not a common scenario where you would like to have timestamped jars in your <code>~/.m2/repository</code> repo. But still couple of questions:</p>

<ol>
<li>Does <code>mvn install</code> append timestamp automatically? Looking for some
configuration way rather than use <code>${timestamp}</code> in final name.</li>
<li>Does automatic timestamp mechanism applies to <code>mvn deploy</code>? </li>
<li>Is there a way to tell maven to use <code>~/.m2/repository</code>
itself for <code>mvn deploy</code>?</li>
</ol>

<p>Thanks,</p>

<p>Rakesh</p>