basedir is always the location of the POM file, it can't be changed.
You can do something using custom properties in the POM. Note however
that using relative paths including .. is discouraged as it prevents
the subprojects from being checked out and built in isolation.
- Brett
On 10/31/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> I have build files in a separate directory structure from the actual project
> files, so I have relative paths such as:
> <sourceDirectory>../../core-library/src/java</sourceDirectory>
>
> In m1, I could set arbitrary properties in project.properties and then use
> those in the build files.
>
> With m2, I see that ${basedir} is referred to in the defaults for plugins,
> such as for maven-site-plugin, siteDirectory as ${basedir}/src/site.
>
> How do I set ${basedir} in m2 so I don't have to keep repeating the same
> relative path?
>
> Thanks,
> --
> Wendy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]