You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Redmond <er...@gmail.com> on 2007/06/01 03:34:04 UTC

Re: Plugin acessing list of dependencies in target project

${project.dependencies}

Where did you find "project.artifacts"?

Eric

On 5/31/07, CasMeiron <ca...@gmail.com> wrote:
>
> Hi guys...
> Im trying to acess all dependencies in my target project, look what i did:
>
>     /**
>      * The set of dependencies for the web application being run.
>      *
>      * @parameter default-value = "${project.artifacts}"
>      * @required
>      * @readonly
>      */
>     private Set dependencies;
>
> But the "dependencies" doenst have any entry. (And, of course, my project
> does).
>
> What i need to do? tkz.
> --
> Paulo Cesar Silva Reis
> -------------------------------
> Powered by GMAIL
>



-- 
Eric Redmond
http://www.sonatype.com

Re: Plugin acessing list of dependencies in target project

Posted by CasMeiron <ca...@gmail.com>.
one problem, how can i get the path of each dependency? the method
getSystemPath always return null.

tkz.

On 5/31/07, CasMeiron <ca...@gmail.com> wrote:
>
> i found in tomcat-maven-plugin[codehaus] source.
>
> Edited; it works, tkz!
>
>
> On 5/31/07, Eric Redmond < eric.redmond@gmail.com> wrote:
> >
> > ${project.dependencies}
> >
> > Where did you find " project.artifacts"?
> >
> > Eric
> >
> > On 5/31/07, CasMeiron <ca...@gmail.com> wrote:
> > >
> > > Hi guys...
> > > Im trying to acess all dependencies in my target project, look what i
> > did:
> > >
> > >     /**
> > >      * The set of dependencies for the web application being run.
> > >      *
> > >      * @parameter default-value = "${project.artifacts}"
> > >      * @required
> > >      * @readonly
> > >      */
> > >     private Set dependencies;
> > >
> > > But the "dependencies" doenst have any entry. (And, of course, my
> > project
> > > does).
> > >
> > > What i need to do? tkz.
> > > --
> > > Paulo Cesar Silva Reis
> > > -------------------------------
> > > Powered by GMAIL
> > >
> >
> >
> >
> > --
> > Eric Redmond
> > http://www.sonatype.com
> >
>
>
>
> --
> Paulo Cesar Silva Reis
> -------------------------------
> Powered by GMAIL
>



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

Re: Plugin acessing list of dependencies in target project

Posted by CasMeiron <ca...@gmail.com>.
i found in tomcat-maven-plugin[codehaus] source.

Edited; it works, tkz!


On 5/31/07, Eric Redmond <er...@gmail.com> wrote:
>
> ${project.dependencies}
>
> Where did you find "project.artifacts"?
>
> Eric
>
> On 5/31/07, CasMeiron <ca...@gmail.com> wrote:
> >
> > Hi guys...
> > Im trying to acess all dependencies in my target project, look what i
> did:
> >
> >     /**
> >      * The set of dependencies for the web application being run.
> >      *
> >      * @parameter default-value = "${project.artifacts}"
> >      * @required
> >      * @readonly
> >      */
> >     private Set dependencies;
> >
> > But the "dependencies" doenst have any entry. (And, of course, my
> project
> > does).
> >
> > What i need to do? tkz.
> > --
> > Paulo Cesar Silva Reis
> > -------------------------------
> > Powered by GMAIL
> >
>
>
>
> --
> Eric Redmond
> http://www.sonatype.com
>



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