On Thu, Feb 10, 2011 at 1:48 PM, Richard Yao <[email protected]> wrote:

>  *Thanks Simon.*
>
> * *
>
> *I added “**tuscany*-binding-*ws*-runtime-axis2*” into pom.xml*
>
> * *
>
>         <dependency>
>
>             <groupId>org.apache.tuscany.sca</groupId>
>
>             <artifactId>*tuscany*-binding-*ws*-runtime-axis2</artifactId>
>
>             <version>2.0-Beta1</version>
>
>             <scope>runtime</scope>
>
>         </dependency>
>
> * *
>
> *But got the errors:*
>
> * *
>
> [INFO]
> ------------------------------------------------------------------------
>
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>
> Downloading:
> http://ws.zones.apache.org/repository2/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>
> Downloading:
> http://ws.zones.apache.org/repository2/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>
> Downloading:
> http://ws.zones.apache.org/repository2/org/apache/santuario/xmlsec/1.4.1/xmlsec-1.4.1.pom
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 3.328s
>
> [INFO] Finished at: Thu Feb 10 08:39:07 EST 2011
>
> [INFO] Final Memory: 4M/10M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal on project helloworld: Could not resolve
> dependencies for project ca.teranet.ras:helloworld:jar:0.0.1-SNAPSHOT:
> Failed to collect dependencies for
> [org.apache.tuscany.sca:tuscany-sca-api:jar:2.0-Beta1 (provided),
> org.apache.tuscany.sca:tuscany-base-runtime-pom:pom:2.0-Beta1 (compile),
> junit:junit:jar:4.5 (test),
> org.apache.tuscany.sca:tuscany-feature-api:pom:2.0-Beta1 (compile),
> org.apache.tuscany.sca:tuscany-binding-rmi-runtime:jar:2.0-Beta1 (runtime),
> org.apache.tuscany.sca:tuscany-binding-ws-runtime-axis2:jar:2.0-Beta1
> (runtime)]: Failed to read artifact descriptor for
> org.apache.santuario:xmlsec:jar:1.4.1: *Could not transfer artifact
> org.apache.santuario:xmlsec:pom:1.4.1 from java.net (
> http://download.java.net/maven/1)*: No connector available to access
> repository java.net (http://download.java.net/maven/1) of type legacy
> using the available factories AsyncRepositoryConnectorFactory,
> WagonRepositoryConnectorFactory -> [Help 1]
>
>
>
> *Is this caused by the argument between Apache and Oracle? **J***
>
>
>

Heh, i don't think so, it looks more something like a time out or network
issue, the java.net repo's can be really slow. If you try building again a
few times does it work or always fail with the same message?

   ...ant

Reply via email to