[xwiki-devs] Maven Error while building when proxy is used
Hi all, Resonantly I check out the source from * http://svn.xwiki.org/svnroot/xwiki/trunks* .Then I try to build the project using "mvn install" but initially it failed. Then I found out that it is because we connect to the Internet to proxy.To fix this problem you need to add the following to the ~/.m2/settings.xml inside the settings tag <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>cache.mrt.ac.lk</host> <port>3128</port> <username></username <password></password> </proxy> </proxies> do we need to add this to the "Building XWiki from sources" article? regards Malaka Ekanayake CSE UOM
On Wed, Apr 30, 2008 at 11:28 AM, malaka ekanayake <[email protected]> wrote:
Hi all,
Resonantly I check out the source from * http://svn.xwiki.org/svnroot/xwiki/trunks* .Then I try to build the project using "mvn install" but initially it failed. Then I found out that it is because we connect to the Internet to proxy.To fix this problem you need to add the following to the ~/.m2/settings.xml
inside the settings tag
<proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>cache.mrt.ac.lk</host> <port>3128</port> <username></username <password></password> </proxy> </proxies>
do we need to add this to the "Building XWiki from sources" article?
Sure! thanks in advance :) -- Jean-Vincent Drean
On Apr 30, 2008, at 11:47 AM, Jean-Vincent Drean wrote:
On Wed, Apr 30, 2008 at 11:28 AM, malaka ekanayake <[email protected]> wrote:
Hi all,
Resonantly I check out the source from * http://svn.xwiki.org/svnroot/xwiki/trunks* .Then I try to build the project using "mvn install" but initially it failed. Then I found out that it is because we connect to the Internet to proxy.To fix this problem you need to add the following to the ~/.m2/settings.xml
inside the settings tag
<proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>cache.mrt.ac.lk</host> <port>3128</port> <username></username <password></password> </proxy> </proxies>
do we need to add this to the "Building XWiki from sources" article?
Sure! thanks in advance :)
A good place would be in the troubleshooting section: http://dev.xwiki.org/xwiki/bin/view/Community/Building#HTroubleshooting Thanks -Vincent
using m2eclipse, I have also discovered that if, in the preferences/maven config, I only set the local settings.xml without setting any global settings.xml, maven refuses to see my proxy. Then I put the same file in the global settings.xml and it works... concerning proxy config, I had about the same issue with subclipse... Pascal On Wed, Apr 30, 2008 at 11:52 AM, Vincent Massol <[email protected]> wrote:
On Apr 30, 2008, at 11:47 AM, Jean-Vincent Drean wrote:
On Wed, Apr 30, 2008 at 11:28 AM, malaka ekanayake <[email protected]> wrote:
Hi all,
Resonantly I check out the source from * http://svn.xwiki.org/svnroot/xwiki/trunks* .Then I try to build the project using "mvn install" but initially it failed. Then I found out that it is because we connect to the Internet to proxy.To fix this problem you need to add the following to the ~/.m2/settings.xml
inside the settings tag
<proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>cache.mrt.ac.lk</host> <port>3128</port> <username></username <password></password> </proxy> </proxies>
do we need to add this to the "Building XWiki from sources" article?
Sure! thanks in advance :)
A good place would be in the troubleshooting section: http://dev.xwiki.org/xwiki/bin/view/Community/Building#HTroubleshooting
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Jean-Vincent Drean -
malaka ekanayake -
Pascal Voitot -
Vincent Massol