views:

354

answers:

2

I have an artifactory within a corporate network. I configured a http proxy for each remote repository. It doesn't work. How could I possibly find out why it doesn't work? Are there any log settings which I could tweak?

Using the same proxy within Firefox works just fine.

A: 

Artifactory 2 uses logback for logging, you can find its configuration in $ARTIFACTORY_HOME/etc/logback.xml

If you can access the repository through the browser, it's likely the problem is in your Maven configuration. If you've a proxy configuration defined, you'll need to ensure the proxy is set to exclude your internal http proxy server.

If you run Maven with the -X switch, it will give you more details on the connection attempts Maven is making.

Rich Seller
A: 

Could you solve it?

It seems that issue comes from the remote repositories (e.g. repo1.maven.org) in combination with proxies. The remote repository server response is an 403 Forbidden, if I connect with wget. A request with Firefox delivers the requested file.

Steffen