Skip navigation
Home
Alfresco Forums
Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Connect
Find People
Leaderboard
Announcements & Opportunities
Collaborate
DevCon2019
Global Hack-a-thon
News
Alfresco Ambassador Program
Language Groups
French
Portuguese
Spanish
Italian
German
Japanese
Swedish
Forum Help
Try Alfresco
Log in
Register
0
Search
Search
Search
Cancel
Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.
All Places
>
Alfresco Process Services & Activiti (BPM)
>
Questions
Log in
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
Join Now!
Answered
Assumed Answered
Download Lib Dependencies Behind Proxy
Question asked by
wtw
on Nov 10, 2010
Latest reply
on Nov 11, 2010 by jcosano
Like
•
Show 0 Likes
0
Comment
•
3
Any tips on running demo.setup ant target from behind a proxy server?
Thank you.
Outcomes
This content has been marked as final.
Show 3 comments
3 Replies
Name
Email Address
Website Address
Name
(Required)
Email Address
(Required, will not be published)
Website Address
jcosano
Nov 10, 2010 5:29 PM
Mark Correct
Correct Answer
modify build.xml add:
<setproxy proxyhost="xx.xx.xx.xx" proxyport="xx" proxyuser="xxxxx" proxypassword="xxxxx"/>
modify setting.xml from maven
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>xxx</username>
<password>xxxxxx</password>
<host>xx.xx.xx.xx</host>
<port>xxx</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
</proxies>
wtw
Nov 10, 2010 5:43 PM
Mark Correct
Correct Answer
Thank you. The <setproxy/> entry in build.xml fixed my issue.
jcosano
Nov 11, 2010 7:57 AM
Mark Correct
Correct Answer
If you don't change settings.xml (activiti\apps\apache-maven-2.2.1\conf)
maven can't download others sources needed.
then… In my case.. I need to change both sites.
<setproxy proxyhost="xx.xx.xx.xx" proxyport="xx" proxyuser="xxxxx" proxypassword="xxxxx"/>
modify setting.xml from maven
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>xxx</username>
<password>xxxxxx</password>
<host>xx.xx.xx.xx</host>
<port>xxx</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
</proxies>