Try with :

    /**
     * The current project base directory.
     *
     * @parameter expression="${basedir}"
     * @required
     */
    private String basedir;

--
Olivier

2008/11/7 Scott Carter <[EMAIL PROTECTED]>:
> I am writing a Maven2 plugin where I need to be able to determine the
> basedir for the pom that is running.  I know that in a POM you can refer to
> ${basedir} for this value, but how would you access this value at a code
> level in a plugin?  Does someone have a code example of this?
>
> Thanks in advance
>

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

Reply via email to