Garima Bathla escribió: > I think vfs ( virtual FileSystem resolver) resolver should work if you can > validate that the url you are providing does works > > http://username:[email protected]:8083/nexus/content/groups/example-mirror/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]<http://username:[email protected]:8083/nexus/content/groups/example-mirror/%5Borganisation%5D/%5Bmodule%5D/%5Brevision%5D/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D> > >>From - http://commons.apache.org/vfs/filesystems.html#HTTP%20and%20HTTPS > http://[ *username* [: *password* ]...@] *hostname* [: *port* ][ > *absolute-path > * ] Yes, i can access and download using url in firefox or using wget command from my unix machine. :( > > If you are accessing a public repository - do you really need a username and > password? this is optional Look at common VFS documentation ( link above) > I think that it's public repository because it's a private mirror of various public repositories. But i could be confused.
> Anyways if you want to use other resolvers: > URL: http is also an option if you are using a webserver to access a > repository location > > e.g > <url name="two-patterns-example" m2compatible="true"> > <ivy pattern=" > http://ivyrep.mycompany.com/[module]/[revision]/ivy-[revision].xml" /> > <artifact pattern=" > http://ivyrep.mycompany.com/[module]/[revision]/[artifact]-[revision].[ext]" > /> > <artifact pattern=" > http://ivyrep.mycompany.com/[module]/[revision]/[artifact].[ext]" /> > </url> > > Also I will like to disclaim that I am any expert, I am only trying to share > my knowlege. Please feel free to correct me if it happens to be wrong. Thanks for share. > Regards, > Garima. Regards
