[xwiki-devs] Maven Error while building when proxy is used

Jean-Vincent Drean jv at xwiki.com
Wed Apr 30 11:47:33 CEST 2008


On Wed, Apr 30, 2008 at 11:28 AM, malaka ekanayake
<malaka.ekanayake at gmail.com> 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


More information about the devs mailing list