常春藤配置为springource repo

时间:2010-03-16 13:05:45

标签: repository ivy springsource

我正试图建立常春藤来从泉源回购中获取罐子。 到目前为止,我有我的ivy.xml: -

    

<dependencies>
    <dependency org="org.springframework" name="org.springframework.core" rev="3.0.1.RELEASE"/>
    <dependency org="org.springframework" name="org.springframework.aop" rev="3.0.1.RELEASE" />
    <dependency org="com.adobe.flex" name="com.springsource.flex.messaging.common" rev="3.2.0.3978"/>
    <dependency org="com.adobe.flex" name="com.springsource.flex.messaging" rev="3.2.0.3978" />
</dependencies>

和我的ivysettings.xml: -

<ivysettings>
<settings defaultresolver="spring.chain" deafultcache="C:/repo" />
<resolvers>
    <chain name="spring.chain">
         <url name="com.springsource.repository.bundles.release">
            <ivy pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
            <artifact pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
        </url>
        <url name="com.springsource.repository.bundles.external">
            <ivy pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
            <artifact pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
        </url>
        <ibiblio name="ibiblio" m2compatible="true"/>
   </chain>
</resolvers>

但我不断收到错误: -

未知的解析器null   找不到org.springframework#org.springframework.core的解析器:检查您的配置   未知的解析器null   找不到org.springframework#org.springframework.aop的解析器:检查您的配置   未知的解析器null   找不到com.adobe.flex的解析器#com.springsource.flex.messaging.common:检查你的配置   未知的解析器null   没有为com.adobe.flex找到解析器#com.springsource.flex.messaging:检查您的配置

关于旋转变压器,我是否错过了一些问题?

1 个答案:

答案 0 :(得分:1)

由于错字defaultresolver =“spring.chain”应该是defaultResolver =“spring.chain”