Details
Description
Hello !
I'm using a sftp repository. Let's say there is a module called foo, revsions 1.2.3 and 1.2.4 are present.
I add : <dependency org="org.my" name="foo" rev="1.2.+"/>
Resolve is unsucessful if I declare my repository as an full URL :
<resolvers> <sftp name="public" user="rep.user" userPassword="rep.password" > <ivy pattern="sftp://rep.host/home/ivy/repository/[organisation]/[module]/[revision]/ivys/ivy.xml"/> <artifact pattern="sftp://rep.host/home/ivy/repository/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"/> </sftp> </resolvers>
But everything works if I declare my repository using attributes :
<resolvers> <sftp name="public" host="rep.host" user="rep.user" userPassword="rep.password" > <ivy pattern="/home/ivy/repository/[organisation]/[module]/[revision]/ivys/ivy.xml"/> <artifact pattern="/home/ivy/repository/[organisation]/[module]/[revision]/[type]s/[artifact].[ext]"/> </sftp> </resolvers>
In fact, the list method use the pattern as a path, and don't remove the sftp://<host> .