Maven specific version of a snapshot dependency

前端 未结 4 1937
我在风中等你
我在风中等你 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:21

    Use the Versions Maven plugin

    http://mojohaus.org/versions-maven-plugin/examples/lock-snapshots.html

    and

    http://mojohaus.org/versions-maven-plugin/examples/unlock-snapshots.html

提交回复
热议问题