How to differentiate between deploying releases vs snapshots

前端 未结 3 984
囚心锁ツ
囚心锁ツ 2021-01-30 15:54

I may be missing something extremely obvious, but I need some clarification regardless. I am about to begin development using maven and archiva. I added both servers + settings

3条回答
  •  旧时难觅i
    2021-01-30 16:35

    If your project.version contains SNAPSHOT (f.e., 1.2-SNAPSHOT) and you execute mvn deploy, artifacts will be deployed to your snapshot repository. If it doesn't (f.e., 1.2) - they will be deployed to your release repository.

提交回复
热议问题