Hi Colin,

This is a known wanted feature (I also want it dearly). Check JIRA. It's
scheduled for 1.1. If you want it faster, please send a patch and I'll
gladly apply it :-)

As a workaround on my work project, we have a custom maven.xml goal that
copies the top level project.properties to the current project you're
building. That means of course that you have to put all properties at
the top level.

Thanks
-Vincent

> -----Original Message-----
> From: Colin Sampaleanu [mailto:[EMAIL PROTECTED]
> Sent: 19 September 2003 20:30
> To: Maven Users List
> Subject: Any way to have shared properties when extending from a base
> project
> 
> I just realized that while you can extend a project with something
like
>    extend>${basedir}/../master/project.xml</extend>
> maven doesn't seem to read in build.properties (and project.properties
> either I guess) from the master project. This is a real PITA, as I
don't
> want to force people to put identical build.properties files in all
the
> subprojects, and it's not acceptible to have a build.properties file
in
> the user directory, as it will trample the version for other projects.
> 
> I think I'm missing something, as this is a big hole. What are other
> people doing in this situation?
> 
> Regards,
> Colin
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to