You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Александр Случик <a....@gmail.com> on 2007/10/01 12:43:45 UTC

UNRESOLVED DEPENDENCIES in stacktrace

Hi,
I've met some difficulties while trying to bind ivy 1.4.1 to current
project. Would you help me with it?

Here is ivy config

<ivyconf>
<conf defaultResolver="sftp-resolver" />
<resolvers>
    <chain name="sftp-resolver">
        <sftp user="ivyrepo" userPassword="0000" host="127.0.0.1">
            <artifact
pattern="[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
        </sftp>
    </chain>
</resolvers>
</ivyconf>





<ivy-module version="1.0">
    <info organisation="sm org"
           module="ivy"
           type="jar"
           status="integration"
    />

    <dependencies>
        <dependency org="apache" name="commons-cli" rev="2.1"/>
    </dependencies>
</ivy-module>

run it from console
                    java -cp ivy-1.4.1.jar;.\lib\commons-cli-1.0.jar
;.\lib\jsch-0.1.25.jar fr.jayasoft.ivy.Main -conf ivyconfig.xml -ivy
ivy.xmlpublish sftp-resolver

as result

 java -cp ivy-1.4.1.jar;.\lib\commons-cli-1.0.jar;.\lib\jsch-0.1.25.jar f
r.jayasoft.ivy.Main -conf ivyconfig.xml -ivy ivy.xml publish sftp-resolver
:: Ivy 1.4.1 - 20061109165313 :: http://ivy.jayasoft.org/ ::
:: configuring :: file = ivyconfig.xml
WARNING: problem while setting JAXP validating property on SAXParser... XML
vali
dation will not be done: Property:
http://java.sun.com/xml/jaxp/properties/schem
aLanguage
:: resolving dependencies :: [ sm org| ivy | working@MCC ]
        confs: [default]
:: resolution report ::

---------------------------------------------------------------------
        |                  |            modules            ||   artifacts
|
        |       conf       | number| search|dwnlded|evicted||
number|dwnlded|

---------------------------------------------------------------------
        |      default     |   1   |   0   |   0   |   0   ||   0   |   0
|

---------------------------------------------------------------------

:: problems summary ::
:::: WARNINGS
                module not found: [ apache | commons-cli | 2.1 ]

                        null: tried no ivy pattern => no attempt to find
module
descriptor file for [ apache | commons-cli | 2.1 ]

                        null: tried artifact [ apache | commons-cli | 2.1]/comm
ons-cli.jar[jar]:

                                apache/commons-cli/jars/commons-cli-2.1.jar

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: [ apache | commons-cli | 2.1 ]: not found

                ::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
NMAKE : fatal error U1077: 'java' : return code '0x1'
Stop.