Use maven repository as local ivy cache

后端 未结 2 1956
伪装坚强ぢ
伪装坚强ぢ 2021-01-31 08:52

Is there any possibility to use local Maven repository (~/.m2) as local Ivy cache (~/.ivy)? They have different layouts.

Sometimes I use Maven and sometimes I use SBT w

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-31 09:49

    You can specify the cache and the layout of the cache by using the

       Tag
    

    .

    I think you will have to alter the patterns for the artifacts/ivy.xml files.
    The Tag is described here: http://ant.apache.org/ivy/history/2.0.0/settings/caches.html.
    It seems that it should work, but I've never tried :).

提交回复
热议问题