It is the first time I am trying to deploy
artifacts using maven, and having some trouble understanding how does maven decide whether the artifact are to be uploaded to Central repository or Snapshot repository?
Is there any tag (or some other indicator) which I can use in pom.xml indicating that the artifact is final or a snapshot ?
Part from pom.xml:
<distributionManagement>
<snapshotRepository>
<id>Mysnapshot</id>
<name>My Snapshot Repository</name>
<url>http://url-to-snapshot-repo</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
<repository>
<id>MyCentralBuild</id>
<name>MyCentralBuild Repository</name>
<url>http://url-to-central-repo</url>
</repository>
</distributionManagement>