Gurus I am trying to use the maven ant task behind the proxy but couldn't
make it work. I am bit confuse that what if we already have a proxy setting
in ./conf/settings.xml, will it work or not. In my case it is not working. I
have looked into the maven ant task documentation
(http://maven.apache.org/ant-tasks/reference.html#remoteRepository) but
couldn't detect how to make it work. Do we have to override it in the ant
task if yes, is there any example of doing it. 

Besides this I have couple of other questions

1. Can we have more then 1 remote repository in ant build file e.g 

<artifact:remoteRepository id="maven2-repository.java.net"
url="http://download.java.net/maven/2/";>
</artifact:remoteRepository>
                
<artifact:remoteRepository id="jboss"
url="http://repository.jboss.com/maven2";>
</artifact:remoteRepository>

2. in the case above do I still have the default repository 
<artifact:remoteRepository id="MavenCentral"
url="http://repo1.maven.org/maven2";>    
</artifact:remoteRepository> or the default will be override by the above 2
repositories

Thanks,
RJ.

--
View this message in context: 
http://maven.40175.n5.nabble.com/uisng-maven-ant-task-behind-proxy-tp4365527p4365527.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to