Hi Anders,

Thanks for the quick reply. You hit it right on the spot. That setting did
the trick. Now its working fine.
Many thanks.

Ogie

Anders Hammar wrote:
> 
> Could it be that Maven is trying to access the repo hosted on Archiva
> via the proxy that you've defined in your settings.xml? As you've
> defined the repo by an IP address, I would think the proxy is being
> used as it is only skipped for 'local.net' and 'some.host.com' hosts.
> (Downloading through the browser would then work as it would be
> correctly configured with regards to the proxy.)
> 
> /Anders
> 
> On Fri, May 29, 2009 at 05:46, ogieax <o.axa...@weserv.com.ph> wrote:
>>
>> Hi,
>>  I am quite new to maven and currently trying to integrate it with Hudson
>> and Archiva. For the past two days I am trying to figure out why I cannot
>> download artifacts from the internal repository from archiva when it is
>> located in another PC within the intranet. But if I install archiva in
>> the
>> same PC where I execute the build and the settings.xml was set to
>> localhost,
>> it can successfully locate the jars. I just followed the quick start
>> guide
>> in running Archiva standalone with jetty and used default settings and
>> set
>> the proxy settings and was able to download a jar from the maven central
>> site and store it locally.
>>  Note that I can actually access and download the jars from the browser.
>>
>>  When I execute mvn compile on the command line this is what i get...
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Unnamed - TestMaven:TestMaven:jar:0.0.1-SNAPSHOT
>> [INFO]    task-segment: [compile]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [resources:resources]
>> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
>> resources,
>> i.e. build is platform dependent!
>> [INFO] Copying 0 resource
>> Downloading:
>> http://10.164.35.68:9080/archiva/repository/internal//junit/junit/4.4/junit-4.4.pom
>> [WARNING] Unable to get resource 'junit:junit:pom:4.4' from repository
>> internal
>> (http://10.164.35.68:9080/archiva/repository/internal/): Error
>> transferring
>> file
>> : Server returned HTTP response code: 503 for URL:
>> http://10.164.35.68:9080/archiva/repository/internal/junit/junit/4.4/junit-4.4.pom
>>
>> Any ideas on what could be wrong? I am using maven 2.1.0 and archiva 1.2.
>> Attached are the settings.xml and pom.xml for your reference
>> Thanks http://n2.nabble.com/file/n2991861/settings.xml settings.xml
>> http://n2.nabble.com/file/n2991861/pom.xml pom.xml
>> --
>> View this message in context:
>> http://n2.nabble.com/Not-able-to-download-artifacts-from-internal-local-repository-tp2991861p2991861.html
>> Sent from the maven users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Not-able-to-download-artifacts-from-internal-local-repository-tp2991861p2992650.html
Sent from the maven users mailing list archive at Nabble.com.


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

Reply via email to