On 5/17/06, Gustavo Valle <[EMAIL PROTECTED]> wrote:
Hello

I'm new to Maven 2 and I just needed some help setting up my environment.
Basically I want to have an internal remote repository where maven can
download all plugins and artifacts not found in my local repository and to
use it also to upload my project artifact. Simple uh? Well, I haven't been
able to make this setting to work... I've tried setting the
<distributionManagement> tag in the pom and that works for the upload via
the deploy goal and I've set the <repository> and <pluginRepository>
elements also in the pom for the download but when I clean my local
repository, I expect that maven should download everything it needs from
the internal remote repository which doesn't happen! When I manually copy
all contents of my internal remote repository into my local repository,
then maven works hapilly. I just don't get it. I've also tried setting up
a mirror of central in my settings.xml with no better luck.

when you use -X, do you see maven trying to download artifacts from
your internal remote repository?

If not, your POM config must be wrong. Did you define an <id> for your
repository?

http://maven.apache.org/guides/introduction/introduction-to-repositories.html
http://maven.apache.org/guides/mini/guide-multiple-repositories.html
http://maven.apache.org/ref/current/maven-model/maven.html#class_repository

I'm about to giving up on maven 2!

Not sure if that will give you more answers...

Please help. Am I doing something wrong?

Cheers,
Gustavo

J

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to