
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
behind a firewall / proxy
|
|
|
The "parent pom" in Shale has an "abuse" of <repositories/>. It
specifies two repositories inside the <repositories/> xml element. IMO
this should be handled by the user's settings.xml file and not by a
lib.
So, if you are behind a proxy, a corp.-m2-mirrow and a
corp-own-m2-repo, you can't build stuff which uses Shale. (This
envoironment is sorta production like.)
Why can't you build the stuff?
Because maven sees only (to fetch Shale dependencies) these two repos:
-Apache M2 Snapshot
-Java.net
So it tries to download apache2-pom from these... it doesn't look in
other repos.
(currently the apache m2 snapshot repo is down... so it doesn't get
Shale-master too,
which is! available within a regular m2 repo)
Our work around, we changed the shale-parent-pom in our corp. m2 repo
and commented those repositories out. That works.
|
|
Description
|
The "parent pom" in Shale has an "abuse" of <repositories/>. It
specifies two repositories inside the <repositories/> xml element. IMO
this should be handled by the user's settings.xml file and not by a
lib.
So, if you are behind a proxy, a corp.-m2-mirrow and a
corp-own-m2-repo, you can't build stuff which uses Shale. (This
envoironment is sorta production like.)
Why can't you build the stuff?
Because maven sees only (to fetch Shale dependencies) these two repos:
-Apache M2 Snapshot
-Java.net
So it tries to download apache2-pom from these... it doesn't look in
other repos.
(currently the apache m2 snapshot repo is down... so it doesn't get
Shale-master too,
which is! available within a regular m2 repo)
Our work around, we changed the shale-parent-pom in our corp. m2 repo
and commented those repositories out. That works.
|
Show » |
| Repository |
Revision |
Date |
User |
Message |
| ASF |
#468275 |
Fri Oct 27 05:09:29 UTC 2006 |
wsmoak |
Adding apache.snapshots back to the shale-parent pom, so that it can find its parent, shale-master, in the snapshot repository.
Releases are disabled to keep Maven from searching the snapshot repo for non-snapshot versions.
SHALE-319
|
| Files Changed |
MODIFY
/shale/framework/trunk/pom.xml
|
| Repository |
Revision |
Date |
User |
Message |
| ASF |
#493901 |
Mon Jan 08 01:53:27 UTC 2007 |
craigmcc |
The changes made for SHALE-319 included removing the java.net repository,
based on the assumption that this was being mirrorred to central. This
assumption turns out to be incorrect, so the changes I recently made in
shale-test will break the build for you unless you have happened to download
javax.faces:jsf-impl:1.2_02 yourself, and manually installed it.
To rectify this issue, I am re-adding the java.net Maven1 repository -- but
using a mirror available via http instead of https to avoid problems with
broken corporate firewalls and flaky Maven2 support for https proxying in
versions <= 2.0.4.
|
| Files Changed |
MODIFY
/shale/framework/trunk/pom.xml
|
|