Does the maven-dependency-plugin use some other kind of artifact resolution than the rest of maven?

后端 未结 4 1404
礼貌的吻别
礼貌的吻别 2020-12-29 11:39

If I use the maven-dependency-plugin plugin, than I can\'t use a version range. Also it seems the version of a there defined artifact doesn\'t get updated though a newer ver

4条回答
  •  -上瘾入骨i
    2020-12-29 12:11

    The problem with dependency ranges is that you did not specify one of the versions you used. If you specified the range as [1.0.0,1.1.0-SNAPSHOT) then it may do as you expect. You can't assume 1.0 and 1.1 will resolve to 1.0.* and 1.1.* which is what you seem to imply.

提交回复
热议问题