我在 ivy.xml 中有以下定义
<dependency org="southbeach" name="ego" rev="4.3.1" conf="properties->asterik" >
<artifact name="ego" type="conf" ext="conf" conf="properties->asterik"/>
</dependency>
我在ivysettings.xml中有运行时需要的扩展名conf或属性的文件,我有以下内容:
<filesystem name="privateFSa">
<artifact pattern="${localRepositoryLocation}/[artifact].[ext]" />
</filesystem>
它总是试图寻找 ego.jar 而不是 ego.conf。可以请有人对此有所了解吗?我做错了什么还是常春藤只支持 tar、zip、gz、jar 而不是属性或 conf 文件?
我现在在 ivysettings.xml 中做了解决方法
<filesystem name="privateFSa">
<artifact pattern="${localRepositoryLocation}/[artifact].conf" />
</filesystem>
但这看起来对那里的 conf 进行硬编码并不好。谢谢,
阿尔马斯