Hi,

If you look at <dependencies> Maven Ant Task, you'll see this API at work.


Hervé

Le vendredi 25 mai 2007, Kevin Stembridge a écrit :
> Hi folks,
> I'm writing a patch for the webstart-maven-plugin and I'm having some
> trouble trying to use ArtifactResolver to resovle transitive
> dependencies.
>
> I've been trying to use one of the ArtifactResolver.resolveTransitively
> methods, but I keep bumping into problems. These methods are not
> javadoc'ed at all and I'm getting lost in the source code so I'm hoping
> someone can give me a bit of guidance.
>
> So, for this method signature:
>
> public ArtifactResolutionResult resolveTransitively(Set artifacts,
>
>                                                     Artifact
> originatingArtifact, ArtifactRepository localRepository, List
> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter)
> throws ArtifactResolutionException, ArtifactNotFoundException
>
>
> ... what do I put in the artifacts set, what is originatingArtifact and
> where do I get the ArtifactMetaDataSource from?
>
> Any help appreciated.
>
> Cheers,
> Kevin



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

Reply via email to