On Thu, Apr 5, 2012 at 10:11 AM, NunoM <nunowas...@hotmail.com> wrote:
> Hello,
>
> Yes. I already spent some time reading the documentation.
>
> And I thought I had understood it well.
>
> I've already added the server tag and necessary permissions that are located
> in the readme.txt on the website.
>
> Which is:  http://maven.40175.n5.nabble.com/file/n5619282/settings.xml
> settings.xml
>
> I'm not trying to look for a shortcut, just for a little help. :)
>
> These are all new concepts to me, I'm getting there little by little.

Its good that you are the docs, the books will be your best source of
understanding, followed by some experimentation.

> But then one doubt came to my mind.
>
> 1. Do I need to create a profile tag in my settings. xml and then create the
> repository inside?

You will find the more repository definitions you have the slower your
Maven build will become, because Maven needs to check EVERY repository
to see if there is a newer version of the artifact.

So its often better to put repository definitions inside a profile so
that you can turn on just the ones you need, when you need them.

The next best thing is to your a Repository Manager, this way you
define a mirror that points everything at your Repository Manager.
This way you no longer need to define extra repositories in Maven and
now there is only one network call to make to your Repository Manager.
The other benefit is that if you are working with others locally they
can share the Repository Manager to speed up downloading artifacts.
Its still a good idea to install one, even if you work by yourself,
because Maven only connects once to the Repository Manager, but also
if you are on a laptop you can work disconnected from the internet
much more easily.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to