Hi,
This is one of the cases that the "eclipse.emf" maven repo behaves
unexpectedly to the maven build. It seems that the site reports HTTP 403
instead of HTTP 404 for artifacts not found.
You can work around the problem by overriding the eclipse.emf URL as
decribed at:
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg13175.html
Thanks,
Raymond
----- Original Message -----
From: "Mahi" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, January 22, 2007 2:17 PM
Subject: Unable to build samples in M2 driver (SCA-JAVA)
I started with extacting the SCA JAVA M2 driver for Windows from
http://incubator.apache.org/tuscany/sca_downloads.html.
When I tried to build the samples by running "mvn" command at the root
samples directory, I am getting the following Build Error.. I am seeing
this problem for most of last week.
...
...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Error transferring file
org.apache.ws.commons.axiom:axiom-impl:jar:1.2
from the specified remote repositories:
apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
eclipse.emf (http://download.eclipse.org/tools/emf/maven2),
central (http://repo1.maven.org/maven2),
apache.m1 (http://people.apache.org/repository),
apache.incubator
(http://people.apache.org/repo/m2-incubating-repository/)
Path to dependency:
1)
org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:
1.0-incubator-M2
2) org.apache.tuscany.sca:sca-tools:jar:1.0-incubator-M2
3) org.apache.ws.commons.axiom:axiom-impl:jar:1.2
Caused by I/O exception: Server returned HTTP response code: 403 for
URL: http:/
/download.eclipse.org/tools/emf/maven2/org/apache/ws/commons/axiom/axiom-impl/1.
2/axiom-impl-1.2.jar
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Mon Jan 22 14:00:41 PST 2007
[INFO] Final Memory: 11M/37M
[INFO]
------------------------------------------------------------------------
Result of running "mvn -U" command
...
...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Error transferring file
org.apache.neethi:neethi:jar:2.0
from the specified remote repositories:
apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
eclipse.emf (http://download.eclipse.org/tools/emf/maven2),
central (http://repo1.maven.org/maven2),
apache.m1 (http://people.apache.org/repository),
apache.incubator
(http://people.apache.org/repo/m2-incubating-repository/)
Path to dependency:
1)
org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:
1.0-incubator-M2
2) org.apache.tuscany.sca:sca-tools:jar:1.0-incubator-M2
3) org.apache.neethi:neethi:jar:2.0
Caused by I/O exception: Server returned HTTP response code: 403 for
URL: http:/
/download.eclipse.org/tools/emf/maven2/org/apache/neethi/neethi/2.0/neethi-2.0.j
ar
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 26 seconds
[INFO] Finished at: Mon Jan 22 13:59:48 PST 2007
[INFO] Final Memory: 11M/27M
[INFO] ---------------
"You must be the change you wish to see in the world" -- Mahatma Gandhi.
---------------------------------
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]