You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Snehit Prabhu <sn...@gmail.com> on 2007/02/28 15:20:19 UTC

How do I get the sca/extensions/axis2 branch to build?

Hi Jean-Sebastien and others working on the wsdl2java JIRAs.
Running "mvn" from my sca/extensions directory doesnt work - the build
breaks everytime at the same place - "Apache Tuscany Binding for Axis 2"
Initially it was unable to find a snapshot jar called "
wsdl-0.1-pre-spec-20070206.014758-3.jar" on the public snapshot repo (
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/sca/services/idl/wsdl/0.1-pre-spec-SNAPSHOT/).
So I pulled down one of the present snapshot jar I could find (
wsdl-0.1-pre-spec-20070131.151548-1.jar<http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/sca/services/idl/wsdl/0.1-pre-spec-SNAPSHOT/wsdl-0.1-pre-spec-20070131.151548-1.jar>),
renamed it to xxx-20070206.014758-3.jar, and did an install:install-file.
I'm hoping there wasnt any change to the files in THIS particular jar w.r.t.
the new SNAPSHOT's one.

The hack worked fine, the build proceeds further by two more lines, and
again breaks at a new juncture :

----------------- < start of log> --------------------

Downloading:
http://ws.zones.apache.org/repository/org.apache.tuscany.sca.servic
es.idl/jars/wsdl-0.1-pre-spec-SNAPSHOT.jar
[WARNING] Unable to get resource '
org.apache.tuscany.sca.services.idl:wsdl:jar:0
.1-pre-spec-SNAPSHOT' from repository apache.ws.m1.snapshots (
http://ws.zones.ap
ache.org/repository)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.tuscany.sca.services.idl:wsdl:jar:0.1-pre-spec-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.tuscany.sca.services.idl-Da
rtifactId=wsdl \
          -Dversion=0.1-pre-spec-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1)
org.apache.tuscany.sca.extensions.axis2:tuscany-axis2:jar:1.0-incubat
or-SNAPSHOT
        2)
org.apache.tuscany.sca.services.idl:wsdl:jar:0.1-pre-spec-SNAPSHOT

----------
1 required artifact is missing.

for artifact:

org.apache.tuscany.sca.extensions.axis2:tuscany-axis2:jar:1.0-incubator-SNAPSH
OT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  apache.ws (http://ws.zones.apache.org/repository/),
  sateh (http://maven.sateh.com/maven2//),
  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)

---------------------------- < end of log > --------------------------------


This file I simply cant find! Could someone please point me to this jar? And
perhaps add a little pointer on how I can pull off a clean build of the
extensions directory? :-)
thanks
Snehit

Re: How do I get the sca/extensions/axis2 branch to build?

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Snehit Prabhu wrote:
> Hi Jean-Sebastien and others working on the wsdl2java JIRAs.
> Running "mvn" from my sca/extensions directory doesnt work - the build
> breaks everytime at the same place - "Apache Tuscany Binding for Axis 2"
> Initially it was unable to find a snapshot jar called "
> wsdl-0.1-pre-spec-20070206.014758-3.jar" on the public snapshot repo (
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/sca/services/idl/wsdl/0.1-pre-spec-SNAPSHOT/). 
>
> So I pulled down one of the present snapshot jar I could find (
> wsdl-0.1-pre-spec-20070131.151548-1.jar<http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/sca/services/idl/wsdl/0.1-pre-spec-SNAPSHOT/wsdl-0.1-pre-spec-20070131.151548-1.jar>), 
>
> renamed it to xxx-20070206.014758-3.jar, and did an install:install-file.
> I'm hoping there wasnt any change to the files in THIS particular jar 
> w.r.t.
> the new SNAPSHOT's one.
>
> The hack worked fine, the build proceeds further by two more lines, and
> again breaks at a new juncture :
>
> ----------------- < start of log> --------------------
>
> Downloading:
> http://ws.zones.apache.org/repository/org.apache.tuscany.sca.servic
> es.idl/jars/wsdl-0.1-pre-spec-SNAPSHOT.jar
> [WARNING] Unable to get resource '
> org.apache.tuscany.sca.services.idl:wsdl:jar:0
> .1-pre-spec-SNAPSHOT' from repository apache.ws.m1.snapshots (
> http://ws.zones.ap
> ache.org/repository)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.tuscany.sca.services.idl:wsdl:jar:0.1-pre-spec-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file 
> -DgroupId=org.apache.tuscany.sca.services.idl-Da
> rtifactId=wsdl \
>          -Dversion=0.1-pre-spec-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
>
>  Path to dependency:
>        1)
> org.apache.tuscany.sca.extensions.axis2:tuscany-axis2:jar:1.0-incubat
> or-SNAPSHOT
>        2)
> org.apache.tuscany.sca.services.idl:wsdl:jar:0.1-pre-spec-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>
> org.apache.tuscany.sca.extensions.axis2:tuscany-axis2:jar:1.0-incubator-SNAPSH 
>
> OT
>
> from the specified remote repositories:
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  apache.ws (http://ws.zones.apache.org/repository/),
>  sateh (http://maven.sateh.com/maven2//),
>  apache.ws.m1.snapshots (http://ws.zones.apache.org/repository),
>  central (http://repo1.maven.org/maven2),
>  apache.incubator 
> (http://people.apache.org/repo/m2-incubating-repository/)
>
> ---------------------------- < end of log > 
> --------------------------------
>
>
> This file I simply cant find! Could someone please point me to this 
> jar? And
> perhaps add a little pointer on how I can pull off a clean build of the
> extensions directory? :-)
> thanks
> Snehit
>

Hi,

If that helps, the Axis2 extension builds OK in the 
tuscany/branches/sca-java-integration branch.

To build the whole branch (including the Axis2 extension):
cd tuscany/branches/sca-java-integration
mvn

This top-down build is successful for me with SVN revision r512874.

Some people have observed out-of-memory errors running some of the big 
integration test cases, if you run into this you can just comment out 
the particular test case in 
tuscany/branches/sca-java-integration/testing/sca/itest/pom.xml or 
simpler just run mvn -fn, but the Axis2 extension will have been built 
long before that anyway.

To create Eclipse projects for all the modules in the branch:
cd tuscany/branches/sca-java-integration
mvn -Peclipse eclipse:eclipse

There is an equivalent command to generate projects for IDEA, others in 
the group can probably help with the Maven details if you need that.

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org