SOLVED: maven access archetype repository at app.camunda.com via proxy

191 views
Skip to first unread message

Andrii Stesin

unread,
Sep 30, 2014, 7:26:37 AM9/30/14
to camunda-...@googlegroups.com
There is a well-known problem with Eclipse m2e maven plugin - it neither uses Eclipse' proxy settings nor system proxy settings. Well-known solution is to put correct proxy definitions BOTH in system's mvn config (mine is at /usr/share/maven/settings.xml) AND in user's local mvn config (mine is at /home/myname/.m2/settings.xml)

Then in Eclipse Window-Preferences-Maven-User Settings you need to specify correct paths to both those settings.xml configs and it works - with one critical exception.

Maven fails to access the remote archetype repository - neither system's mvn (mine is Apache Maven 3.0.5) nor Eclipse m2e plugin (mine is 3.2.3/1.6.0.20140823-0915 but earlier one didn't work either).

After 1,5 days of attempts, it turned out that while Maven correctly uses proxy (if correctly configured) for ALMOST everything with a single exception - archetype access.

Both system mvn and m2e plugin started working with archetypes only after
  1. I forced sysadmins to create a "hole" in the proxy for site app.camunda.org,
  2. added app.camunda.com to "no proxy hosts" lists in 3 configs: system's mvn, my local mvn config and eclipse preferences.
Hope this will save someone (who apparently is the same proxy victim as me) some time and effort.

WBR,
Andrii

Andrii Stesin

unread,
Sep 30, 2014, 7:28:38 AM9/30/14
to camunda-...@googlegroups.com
  1. I forced sysadmins to create a "hole" in the proxy for site app.camunda.org,
A misprint, sorry: app.camunda.COM of course.

Christian Lipphardt

unread,
Sep 30, 2014, 7:32:45 AM9/30/14
to camunda-...@googlegroups.com
Hi Andril,

Thanks for your reponse and hints!
The archetypes are also available on Maven Central since version 7.1.1, so maybe this would have been another solution?

Cheers,
Christian

On 30 September 2014 13:28, Andrii Stesin <ste...@gmail.com> wrote:
  1. I forced sysadmins to create a "hole" in the proxy for site app.camunda.org,
A misprint, sorry: app.camunda.COM of course.

--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/0626bde4-c459-4b08-9422-653167adcbc9%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Andrii Stesin

unread,
Sep 30, 2014, 7:54:41 AM9/30/14
to camunda-...@googlegroups.com
Dear Christian,

maven's inability to access archetypes (only archetypes have this problem, sources plugins etc. are Ok) through proxy applies to any archetype repository - not only to app.camunda.com

my colleagues observed this problem earlier with other archetype repositories, I was just the first stubborn here who had enough patience to find the root cause.

WBR,
Andrii

Christian Lipphardt

unread,
Sep 30, 2014, 10:05:13 AM9/30/14
to camunda-...@googlegroups.com
Thanks Andril for clarification! I would have thought Maven Central would work out of the box.

Cheers,
Chrisitan

--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages