Search This Blog

About Me

Highly experienced in implementation and customization of Alfresco. More than 11 years of experience working on Alfresco, versions ranging from 2.x to 5.x. Successfully processed innovative and tailored CMS solutions to meet ever-changing business requirements for multiple clients. Role Includes : Experience in Alfresco Upgrades, SOLR migration, Proposals, Team Handling, Delivery, Content Migration, POC's etc.. Extensive experience in client co ordination, working on offshore-onshore model and project take over. Technical Expertise Includes : Java, JSP, Servlet, JSF, JavaScript, AJAX, Spring, SQL, Hibernate, Web Services(REST). Specialities Includes : Content Migration, Product Customization, Business CMS Solutions, Workflow, Project Transition.

Monday, January 16, 2017

Setting Up Maven Proxy

When you are working behind a firewall, you can get connection refused error while downloading dependencies from maven repository.

You can fix it by setting up proxy in your maven's settings.xml

1. Open your maven installation directory.
2. Go to conf/settings.xml
3. Look for <proxies> tag.
4. Add below proxy profile

 <proxy>
      <id>optional</id>
      <active>true</active>
      <protocol>http</protocol>
      <username>YOUR DOMAIN USERNAME</username>
      <password>ACTUAL PASSWORD</password>
      <host>PROXY YOU ARE WORKING BEHIND</host> <!-- You can get this from internet explorer                                                                                                       - internet options - connections - LAN                                                                                                            settings -->
      <port>PROXY PORT (Can get same from above)</port>
      <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
 </proxy> 


5. Save settings.xml
6. Try downloading dependencies again.

No comments: