... I hope the settings.xml you put is not the one you provided. In fact, I
guess "10..10.136.103" is not a fully compliant IP address for your proxy...

If you plan to redirect all requests though your archiva server, the I'd
advice you not to specify any proxy. If there's a maven repository manager
inside your network, you're more likely going to try to push all requests
though it. Seems better to fail if not, imo.

For your archiva config : you can test it though a classical web browser
first. Did you try it? If you can't download with it, then it won't work
with maven too.

Cheers.

2008/10/14 rohan chauhan <[EMAIL PROTECTED]>

> Hi all
>
> I installl Apache Archiva and configure it as they menstion. and try to
> check on local PC for mvn install command and its working well.
>
> Now thing is when i'm reffering from other PC(within intranet ip is
> 10.20.30.40) it communicate to Maven public repository not to Apache
> Archiva install on ip 10.20.30.40
>
> I want my maven check from ip 10.20.30.40 first. if file is not there then
> it is download and store on ip 10.20.30.40(where Archiva running) and then
> i access it. Do i need Proxy setting for that(as i'm always communicate with
> ip 10.20.30.40 only)?
>
> for that i made changes in settings.xml file
>
> <settings>
> <proxies>
>   <proxy>
>      <active>true</active>
>      <protocol>http</protocol>
>      <host>10..10.136.103</host>
>      <port>8080</port>
>      <username>solusoftindia\vtrivedi</username>
>      <password>pass123</password>
>      <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts>
>    </proxy>
>  </proxies>
>  <mirrors>
>    <mirror>
>      <id>archiva.default</id>
>      <!-- 
> <url>http://repo.mycompany.com:8080/archiva/repository/internal/</url>
> -->
>    <url>http://10.20.30.40:8080/archiva/repository/internal/</url>
>      <mirrorOf>*</mirrorOf>
>    </mirror>
>  </mirrors>
> </settings>
>
>  Is there any more things needed to do my task.
>
>
> ________________________________
> Do not follow where the path may lead. Go instead where there is no path
> and leave a trail ! ! !
>
> ________________________________
>
> ________________________________
> * Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
> something outside of yourself to make you happy in the future.  Think how
> really precious is the time you have to spend, whether it's at work or with
> your family.  Every minute should be enjoyed and savored
> by forgetting problems. * - My Thought
>
> ________________________________
>
>
>      Add more friends to your messenger and enjoy! Go to
> http://messenger.yahoo.com/invite/
>



-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to