以下のようにローカルキャッシュを定義しました:
<caches defaultCacheDir="${user.home}/.ivy2/local"
ivyPattern="[organization]/[module]/[module]-[revision]/[module]-[revision]-ivy.xml"
artifactPattern="[organization]/[module]/[module]-[revision]/[artifact].[ext]"/>
リゾルバーを使用してデータをフェッチしようとしています
<resolvers>
<chain name="chain1" changingPattern=".*SNAPSHOT" returnFirst="true">
<resolver ref="local"/>
<ibiblio name="maven-repo1"
私はすでにローカルにすべての瓶を持っています。しかし、多くの jar ファイルについては、IVY が以下のように別のパスで検索しているため、それらを見つけることができません。
[ivy:resolve] module not found: org.apache.cxf#cxf-rt-core;2.2.+
[ivy:resolve] ==== local: tried
[ivy:resolve] C:\Users\psaha\.ivy2/local/org.apache.cxf/cxf-rt- core/[revision]/ivys/ivy.xml
[ivy:resolve] [ivydata-2.2.12.properties, ivydata-2.2.+.properties, cxf-rt-core-2.2.12]
[ivy:resolve] -- artifact org.apache.cxf#cxf-rt-core;2.2.+!cxf-rt-core.jar:
[ivy:resolve] C:\Users\psaha\.ivy2/local/org.apache.cxf/cxf-rt-core/[revision]/jars/cxf-rt-core.jar
[ivy:resolve] [ivydata-2.2.12.properties, ivydata-2.2.+.properties, cxf-rt-core-2.2.12]
[ivy:resolve] module not found: org.apache.cxf#cxf-rt-frontend-simple;2.2.+
[ivy:resolve] ==== local: tried
[ivy:resolve] C:\Users\psaha\.ivy2/local/org.apache.cxf/cxf-rt-frontend-simple/[revision]/ivys/ivy.xml
[ivy:resolve] [ivydata-2.2.12.properties, ivydata-2.2.+.properties, cxf-rt-frontend-simple-2.2.12]
[ivy:resolve] -- artifact org.apache.cxf#cxf-rt-frontend-simple;2.2.+!cxf-rt-frontend-simple.jar:
[ivy:resolve] C:\Users\psaha\.ivy2/local/org.apache.cxf/cxf-rt-frontend-simple/[revision]/jars/cxf-rt-frontend-simple.jar
[ivy:resolve] [ivydata-2.2.12.properties, ivydata-2.2.+.properties, cxf-rt-frontend-simple-2.2.12]
[ivy:resolve] module not found: org.apache.cxf#cxf-rt-frontend-jaxws;2.2.+
そして理想的には、アイビーが ../ivys/.. や ../jars/.. のような場所を調べたくない. この問題を解決するにはどうすればよいですか?