Hello List.

I am taking my first tentative steps into using Ivy (2.3.0-rc2) and
want to configure a resolver to access an Amazon Could machine where I
want to store my dependencies. However this does not appear to be
working although the output implies that it should.

This is my ivysettings.xml file :

<?xml version="1.0" encoding="UTF-8"?>
<ivysettings>
        <settings defaultResolver="default-chain"/>
        <resolvers>
                <chain name="default-chain">
                        <ssh keyFile="${user.home}/AmazonLinux.pem" 
host="${HOST}" user="${USER}">
                                <artifact 
pattern="ssh://user:${USER}@${HOST}/var/jars/[artifact]-[revision].[ext]"
/>
                        </ssh>
                        <filesystem name="libraries">
                                <artifact 
pattern="${user.home}/builds/[artifact]-[revision].[ext]"/>
                        </filesystem>
                </chain>
        </resolvers>
</ivysettings>

When I do a build I get :

        ---------------------------------------------------------------------
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          module not found: apache#activemq-all;5.5.1
[ivy:retrieve]  ==== null: tried
[ivy:retrieve]    -- artifact apache#activemq-all;5.5.1!activemq-all.jar:
[ivy:retrieve]  
ssh://user:[email protected]/var/jars/activemq-all-5.5.1.jar
[ivy:retrieve]  ==== libraries: tried
[ivy:retrieve]    -- artifact apache#activemq-all;5.5.1!activemq-all.jar:
[ivy:retrieve]    /home/bill/builds/activemq-all-5.5.1.jar
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: apache#activemq-all;5.5.1: not found
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

It would be fair to say that I don't have a clue as to where to start.
Is this a server Ubuntu (sudo) issue? I can't see what, if anything,
is wrong with my XML, so I would really appreciate your thoughts on
this as I am ver keen to get this to work.

-- 
Bill

Reply via email to