Yup but you can also use an EL-similar syntax like
${project.version}... so your Mojo work more in a IoC fashion. But
don't forget get the actual date type for a particular property from
the Project descriptor reference page.
On 2/21/06, dan tran <[EMAIL PROTECTED]> wrote:
> add this to your mojo
add this to your mojo
/**
* @parameter expression="${project}"
* @required
* @readonly
*/
protected MavenProject project;
and project is presentation of your POM.
-D
On 2/21/06, Thanh T. <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I am having a hard time reading POM pr
Hi All,
I am having a hard time reading POM properties can anyone give me an
example of how to read properties in pom.xml?
--
Thanh T.ICQ #: 10381946
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E