You can check if your "%userprofile%\.buildr\buildr.rb" profile is picked
up by adding something like:

puts "i'm loading!!!"

in it.    Secondly, I think "http://www.ibiblio.org/maven2/"; is always
added by default to new projects.  Additional repositories defined in your
profile should be used as well.

alex


On Tue, Jan 10, 2012 at 2:07 PM, Khristian <der.ko...@gmail.com> wrote:

> Hi,
> I'm trying to start a small project to test buildr, but I need to add
> some repositories to the remote repositories list. Both the local and
> remote repositories work with maven.
> I've added my repositories like this:
>
> repositories.remote <<
> URI.parse("user:pass@http://local.repo/nexus/content/groups/public";)
> repositories.local = 'f:\buildr-repo'
>
> As per the instructions on buildr's manual, I've tried adding the
> above lines to the "%userprofile%\.buildr\settings.yaml" (I'm on
> Windows), "%userprofile%\.buildr\buildr.rb" and
> "project_folder\buildr.rb" files.
>
> Now, when I invoke "buildr --generate pom.xml", it tries to download
> the project's dependencies from "http://www.ibiblio.org/maven2/";. What
> am I doing wrong?
>
> Thanks,
>
> --
> Khristian Alexander Schönrock
>

Reply via email to