【发布时间】:2014-10-20 16:50:44
【问题描述】:
在 ivyconf.xml 中,我有 pattern='${ivy.settings.dir}/../../lib/Google Guava/[artifact].[ext]' />。如您所见,我在模式中写了Google Guava。但是,我在 Google Guava 文件夹的同一级别的另一个文件夹中存储了多个 jar 文件。
我尝试用** 代替Google Guava,但我认为ivyconf.xml 不支持它。我应该写什么而不是 Google Guava 以便它搜索所有文件夹以解决依赖关系?
ivyconf.xml
<resolvers>
<filesystem name="local">
<artifact
pattern='${ivy.settings.dir}/../../lib/Google Guava/[artifact].[ext]' />
</filesystem>
</resolvers>
<modules>
<module organisation='FS' resolver='local' />
</modules>
项目结构
project
| - - - src
...
| - - - lib
| - - Google Guava
| - - guava.jar
| - - Folee
| - - folee-1.4.0.jar
【问题讨论】: