Maven specific version of a snapshot dependency

前端 未结 4 1897
我在风中等你
我在风中等你 2020-12-14 14:22

Is there a way to get Maven to download a specific snapshot version of a dependency? I know that specifying the dependency like this will download the lastest snapshot avail

4条回答
  •  温柔的废话
    2020-12-14 15:22

    AFAIK the SNAPSHOT always refers to the latest build and there is no way to depend on specific version.

    To work around this issue, you could republish the exact version you want to depend on in your own maven repository and assign it a specific version.

提交回复
热议问题