Sorry Ant, I am away on vacation, I do apologize if I am a bit late in responding to emails.

Anyway, to answer your question ...

The artifact repository is defined in webapp.scdl in webapp host,

<component name="artifactRepository">
<system:implementation.system class="org.apache.tuscany.services.maven.MavenArtifactRepository"/> <property name="remoteRepoUrl">http://repo1.maven.org/maven2/,http://people.apache.org/repo/m2-snapshot-repository,http://people.apache.org/repo/m2-incubating-repository/,http://people.apache.org/repo/m1-snapshot-repository/</property>
   </component>

We will have to define the same for the standalone launcher and inject that to the ImplementationCompositeLoader. However, MavenArtifactRepository class currently assumes the presence of dependency.metadata added by the WAR plugin, which may not be available in a standalone environment. This file holds the dependency graph for all the dependencies loaded by the plugin during build.

hth
Meeraj


From: "ant elder" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Question on the Tuscany <dependency> extension in SCDL
Date: Fri, 13 Oct 2006 13:33:51 +0100

On 10/12/06, Meeraj Kunnumpurath <[EMAIL PROTECTED]> wrote:

If you want to use transitive resolution you can use
org.apache.tuscany.services.maven.MavenArtifactRepository. However, it has
only been tested in a webapp host.


Could you give a few details about about how to do this?

  ...ant

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to