maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: How to use ArtifactResolver.resovleTransitively ?
Date Fri, 25 May 2007 19:49:11 GMT
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message