I'm doing that right now.  I am using sftp with a username/password.
You can have that in an external configuration file in defining the url.

Example:

repositories.release_to = 'sftp://
someuser:[email protected]/usr/share/maven2/'
and do the upload target in the artifact-creating build.

And then
repositories.remote << 'sftp://
someuser:[email protected]/usr/share/maven2/'
in the artifact-consuming build.


2010/11/10 Luis Pérez <[email protected]>

> Hi,
>
> I'm trying to use buildr to build a project, but I have come up with
> one limitation:
>
> Is there a way (or is planned to be) to define a maven server which
> requires authentication to download artifacts?
> repositories.remote is just an array of URLs, so though i can define a
> server to release artifacts to using authentication credentials, i
> can't authenticate to download them.
>
> Thanks,
>
> Luis
>

Reply via email to