What I am trying to do is get a single directory to 'mvn site-deploy' into,
for my top level pom, and all of its modules without hard coding a path (or
url).
Is there a way to use just one target directory then?
here is an example:
toplevel
module1
module2
pom.xml <-- main pom.xml
site <-- directory I would like to 'mvn site-deploy' into
but putting this in my top level pom.xml dosen't seem to work:
. . .
<distributionManagement>
<site>
<id>test.site</id>
<name>Full Website</name>
<url>file:{basedir}\site\${project.version}\</url>
</site>
</distributionManagement>
. . .
So I what I was asking is, if there is something like a ${toplevel.basedir}
or even a ${module1.basedir}?
Thanks - I hope I explained myself better this time;
Fox
jiangshachina wrote:
>
> Sorry, I can't understand you really.
> Why do you want to use the basedir?
> What's your target? For example...
>
>
> foxcoll wrote:
>>
>> I have been doing some searching on this forum, and since there seems to
>> be no way of using a root directory, is there a way to use the basedir of
>> a module, or a specific pom (or any other environmental variables for
>> that matter)?
>>
>> Thanks
>> Fox
>>
>
>
--
View this message in context:
http://www.nabble.com/module.basedir-tf2218159.html#a6145075
Sent from the Maven - Users forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]