On 3/14/07, Thorsten Heit <[EMAIL PROTECTED]> wrote:

To check it I fully removed the local repository cache and created a new empty 
directory that doesn't contain any pom.xml. Now when I start Maven from within 
that directory I'd expect that Maven first downloads the necessary plugins, but 
for some unknown reasons Maven doesn't (correctly?) use my settings - I'm 
always getting a build error message. Example:

~/asd/foo
$ ll
total 0
drwxr-xr-x+ 2 H2841 Kein 0 Mar 14 11:40 ./
drwxr-xr-x+ 5 H2841 Kein 0 Mar 13 10:38 ../

~/asd/foo
$ mvn -e -X package
...
As you can see in that stack trace there are no attempts to contact my proxy 
server...

True, even mvn deploy:deploy-file downloads from central (rather than
my proxy defined in settings.xml) when there are no plugins in my
local repo and no pom.xml present. [1]

But it does "see" settings.xml in order to get the info from <server>.
I wonder whether that's Maven itself, or the deploy plugin.

Any ideas what's wrong here?

Probably http://jira.codehaus.org/browse/MNG-2261

[1] I need webdav for deployment, so I always have a pom.xml present
with the wagon-webdav build extension, and never noticed this.

--
Wendy

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

Reply via email to