Use the information in the dependency list and an ArtifactFactory to create
an Artifact with , then use an ArtifactResolver to resolve them fully.
Afterwards, you can call getFile(), to get the File objet.

Cheers
Jo

On 6/4/07, CasMeiron <[EMAIL PROTECTED]> wrote:

We can retrieve all dependencies in project using el ${
project.dependencies},
but how can we get the full path of each dependency? (for classpath
issues).

On 6/4/07, Mark Hobson <[EMAIL PROTECTED]> wrote:
>
> On 04/06/07, Roland Asmann <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I'm writing a plugin here and want to figure out how to get hold of
the
> > dependencies as defined in the POM for my plugin.
> > I'm currently using the ArtifactCollector, but it resolves transitive
> > dependencies as well... I only want to have the dependencies that are
> > DIRECTLY defined inside the POM-file.
> >
> > Any hints on how to do this?
>
> ${project.dependencies} ?
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Paulo Cesar Silva Reis
-------------------------------
Powered by GMAIL

Reply via email to