You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Angel Todorov <at...@gmail.com> on 2007/10/04 08:45:54 UTC

[Maven2] deploy:deploy-file

Hi guys,

i am executing deploy:deploy-file , but I am doing this from a directory
where there are pom files and so on... Is there any way to tell maven to
disregard the contents of the directory from where I execute
deploy:deploy-file ? I ask this because if i execute deploy:deploy-file from
somewhere that doesn't have any maven2 related things (such as POMs) in it,
it works fine, but when i execute it from a directory that contains a POM,
it fails.

Thanks very much in advance.

Regards,
Angel

Re: [Maven2] deploy:deploy-file

Posted by houzecl <ch...@etat.ge.ch>.
you should be more specific when asking for info: 
just saying "it fails" wont help.
Also you must realize that when you run a maven command, one of the first
thing maven will do is probably look for a pom. therefore even though
deploy:deploy-file can be run independently from any project pom, it still
is a Maven deploy plugin's goal, and I guess the answer is no: you cant tell
maven to disregard its possible pom environment :-)

Christian-Luc


Angel Todorov wrote:
> 
> Hi guys,
> 
> i am executing deploy:deploy-file , but I am doing this from a directory
> where there are pom files and so on... Is there any way to tell maven to
> disregard the contents of the directory from where I execute
> deploy:deploy-file ? I ask this because if i execute deploy:deploy-file
> from
> somewhere that doesn't have any maven2 related things (such as POMs) in
> it,
> it works fine, but when i execute it from a directory that contains a POM,
> it fails.
> 
> Thanks very much in advance.
> 
> Regards,
> Angel
> 
> 

-- 
View this message in context: http://www.nabble.com/-Maven2--deploy%3Adeploy-file-tf4566135s177.html#a13048748
Sent from the Maven - Users mailing list archive at Nabble.com.


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