|
|
|
Re: IPP Artifactory and Create Maven Project [message #1576973 is a reply to message #1576193] |
Wed, 21 January 2015 11:40   |
Eclipse User |
|
|
|
Hi Suresh,
Based on your comments above, am assuming that you have browser-based access to "ipp-releases".
The maven build process needs credentials for this repository and as described in the documentation, the maven global / user settings file (settings.xml), needs to have the right credentials configured for the repository "ipp-releases".
So, in the maven settings file, in your active profile, under repositories, you should have something like below:
<repository>
<id>ipp-releases</id>
<url>URL TO IPP-RELEASES REPO</url>
</repository>
Also, you should have the credentials for the above repository id configured in the servers element:
<server>
<id>ipp-releases</id>
<username>YOUR USERNAME</username>
<password>YOUR HASHED PASSWORD</password>
</server>
Can you confirm that the above configuration is in place and does not have any typos?
Thanks,
Ragul
ps - my appologies, for some reason, I could not enter non-eclipse.org URLs in this message.
|
|
|
|
|
|
Re: IPP Artifactory and Create Maven Project [message #1587076 is a reply to message #1579869] |
Tue, 27 January 2015 01:07  |
Eclipse User |
|
|
|
Hi Suresh,
Just couple of points which might help you to investigate root cause.
1. re-check if correct "settings.xml" is being used. i mean if this is picking up settings.xml in the ${maven.home}/conf/ folder or in the .m2 folder in the user's $home (on Windows: %homepath%) directory.
2. Is there any proxy configured for your network. If yes then you need to configure same in "settings.xml" like this:
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>PROXY HOST</host>
<port>PROXY PORT</port>
<nonProxyHosts>localhost|......</nonProxyHosts>
</proxy>
<proxy>
<active>true</active>
<protocol>https</protocol>
<host>PROXY HOST</host>
<port>PROXY PORT</port>
<nonProxyHosts>localhost|......</nonProxyHosts>
</proxy>
</proxies>
3. Which maven version are you using if you are using maven 3.0.4 and downloading dependencies behind a proxy , In this case either switch to Maven version 3.0.3 or download the following jar:
http://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-http-lightweight/2.2/wagon-http-lightweight-2.2.jar
and add it to the lib/ext folder in your Maven installation.
I hope above points will help us to find out the issue.
|
|
|
Powered by
FUDForum. Page generated in 0.26826 seconds