Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread franz see
right if they do indeed come from different sources, although > which components get put into the expression properties? Maybe a dev > could advise when the different syntaxes should be used. > > Mark > > ------------

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Mark Hobson
On 10/11/06, franz see <[EMAIL PROTECTED]> wrote: Good day to you, Mark, Curious, which docs are you referring to? I was looking at: http://maven.apache.org/developers/mojo-api-specification.html#The Descriptor and Annotations See the third table in that section, the @component annotation:

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread franz see
> if it do the job yet... > > Strange, the docs seem to imply they are equivalent..? > > Mark > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot <[EMAIL PROTECTED]> wrote: I tried it the first time but it throws an exception and indicates it can't find org.apache.maven.project.MavenProjectBuilder in "the component repository". Using @component instead of @parameters raises no errors. I don't know if it do t

RE: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
al Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 2:03 PM To: Maven Users List Subject: Re: MavenProjectBuilder injection in a Mojo On 10/11/06, Sebastien Brunot <[EMAIL PROTECTED]> wrote: > what is the expressi

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot <[EMAIL PROTECTED]> wrote: what is the expression to use for injection of an org.apache.maven.project.DefaultMavenProjectBuilder instance as the value of a pojo parameter: Use: /** * @parameter expression="${component.org.apache.maven.project.MavenProjectBuilder}

RE: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
injection in a Mojo Hi all, what is the expression to use for injection of an org.apache.maven.project.DefaultMavenProjectBuilder instance as the value of a pojo parameter: /** * A MavenProjectBuilder instance * * @parameter expression="" * @readonly * @required *

MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
Hi all, what is the expression to use for injection of an org.apache.maven.project.DefaultMavenProjectBuilder instance as the value of a pojo parameter: /** * A MavenProjectBuilder instance * * @parameter expression="" * @readonly * @required */ private MavenProjectBuilder projectBu