You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Liu, Zhihai" <Zh...@dyncorp.com> on 2004/08/10 22:01:55 UTC
pom.siteDirectory
I wanted to define pom.siteDirectory in build.properties to overwrite
<siteDirectory> in project.xml to deploy to a different location, but it did
not work.
This is what I have in build.properties
...
maven.site.deploy.method=fs
pom.siteDirectory=C:/app/site
...
Maven build always uses the value for <siteDirectory> in project.xml and
ignores my change in build.properties.
Any help is greatly appreciated.
----------------------------------------------------------------------------
------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to bind
CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------
------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: pom.siteDirectory
Posted by Erik Husby <mh...@broad.mit.edu>.
Liu, Zhihai wrote:
>I wanted to define pom.siteDirectory in build.properties to overwrite
><siteDirectory> in project.xml to deploy to a different location, but it did
>not work.
>
>This is what I have in build.properties
>...
>maven.site.deploy.method=fs
>pom.siteDirectory=C:/app/site
>...
>
>Maven build always uses the value for <siteDirectory> in project.xml and
>ignores my change in build.properties.
>
>Any help is greatly appreciated.
>
>
Put in the pom something like
<siteDirectory>${siteDirectory}</siteDirectory>
Then put a default value in project.properties
siteDirectory=defaultSite
Then put in build.properties
siteDirectory=c:/app/site
--
Erik Husby
Team Lead for Software Quality Automation
Broad Institute of MIT and Harvard
Rm. 2192 320 Charles St
Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.258.9227, mhusby@broad.mit.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org