tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant elder <ant.el...@gmail.com>
Subject Re: using binding-ws-calculator example in tuscany 2.0-M2
Date Mon, 22 Jun 2009 06:47:52 GMT
2009/6/22 Renana Heller <renanats@gmail.com>:
> I now get the following error:
>
>
>
> [ERROR]
>
> Transitive dependency resolution for scope: compile has failed for your
> project.
>
>
>
>
>
> Error message: Missing:
>
> ----------
>
> 1) org.apache.tuscany.sca:tuscany-feature-api:pom:2.0-M2
>
> Path to dependency:
>
> 1) org.apache.tuscany.sca:sample-binding-ws-calculator:jar:2.0-M2
>
> 2) org.apache.tuscany.sca:tuscany-feature-api:pom:2.0-M2
>
> 2) org.apache.tuscany.sca:tuscany-feature-core:pom:2.0-M2
>
> Path to dependency:
>
> 1) org.apache.tuscany.sca:sample-binding-ws-calculator:jar:2.0-M2
>
> 2) org.apache.tuscany.sca:tuscany-feature-core:pom:2.0-M2
>
> 3) org.apache.tuscany.sca:tuscany-feature-webservice:pom:2.0-M2
>
> Path to dependency:
>
> 1) org.apache.tuscany.sca:sample-binding-ws-calculator:jar:2.0-M2
>
> 2) org.apache.tuscany.sca:tuscany-feature-webservice:pom:2.0-M2
>
> 4) org.apache.tuscany.sca:tuscany-feature-ejava:pom:2.0-M2
>
> Path to dependency:
>
> 1) org.apache.tuscany.sca:sample-binding-ws-calculator:jar:2.0-M2
>
> 2) org.apache.tuscany.sca:tuscany-feature-ejava:pom:2.0-M2
>
> ----------
>
> 4 required artifacts are missing.
>
> for artifact:
>
> org.apache.tuscany.sca:sample-binding-ws-calculator:jar:2.0-M2
>
> from the specified remote repositories:
>
> indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/),
>
> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>
> tuscany.repo (http://svn.apache.org/repos/asf/tuscany/maven),
>
> apache.ws.zone (http://ws.zones.apache.org/repository2),
>
> osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
>
> central (http://repo1.maven.org/maven2),
>
> apache.incubator (http://people.apache.org/repo/m2-incubating-repository)
>
>
> What should I do?
>
> Renana
>
> 2009/6/22 Raymond Feng <enjoyjava@gmail.com>
>>
>> It seems that we haven't published the M2 poms for these projects. It
>> should have been done as part of M2.
>>
>> I just deployed the artifacts. Can you try again?
>>
>> Thanks,
>> Raymond
>> From: Renana Heller
>> Sent: Sunday, June 21, 2009 3:05 AM
>> To: user@tuscany.apache.org
>> Subject: using binding-ws-calculator example in tuscany 2.0-M2
>>
>> Hi,
>>
>> I uploaded the binding-ws-calculator sample to my eclipse enviroment and I
>> get the following error:
>>
>> 12:52:28 IDT 21/06/09: Missing artifact
>> org.apache.tuscany.sca:tuscany-feature-api:pom:2.0-M2:compile
>>
>> 12:52:28 IDT 21/06/09: Missing artifact
>> org.apache.tuscany.sca:tuscany-feature-core:pom:2.0-M2:compile
>>
>> 12:52:28 IDT 21/06/09: Missing artifact
>> org.apache.tuscany.sca:tuscany-feature-webservice:pom:2.0-M2:compile
>>
>> 12:52:28 IDT 21/06/09: Missing artifact
>> org.apache.tuscany.sca:tuscany-feature-ejava:pom:2.0-M2:compile
>>
>>
>> do you have any idea how to solve it so I can check the sample?
>>
>> --
>> Best,
>> Renana.
>
>
> --
> Best,
> Renana.
>

Could you try replacing in the pom.xml file the <dependecies> section with this:

    <dependencies>
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-binding-ws-axis2</artifactId>
            <version>2.0-M2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-implementation-java-runtime</artifactId>
            <version>2.0-M2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-node-impl</artifactId>
            <version>2.0-M2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-node-launcher-equinox</artifactId>
            <version>2.0-M2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-host-jetty</artifactId>
            <version>2.0-M2</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.5</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

also the unit tests are disabled so you need to re-enable them by
removing the surefire plugin configuration section (just delete the
entire <plugins> section), those changes get it working for me.

   ...ant

Mime
View raw message