What's the rest of your mojo look like?

Are you using @execute phase="something"?

Jason.

On 16 Feb 07, at 4:43 PM 16 Feb 07, David Jackman wrote:

I'm trying to write a mojo that accesses the properties section of the
project pom.  I declared a member variable like this
    /**
     * Project properties.
     *
     * @parameter default-value="${project.properties}"
     * @required
     * @readonly
     */
    private Properties properties;
When my mojo runs, it gets a Properties object okay, but it's always
empty, even if I have declared properties in the project POM.

Am I doing something wrong? How do I access the project properties (not
plugin configuration properties)?

..David..





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to