On 2/9/06, Damian Krzeminski <[EMAIL PROTECTED]> wrote:

> What's the recommended way of specifying paths that are always relative to 
> parent pom (regardless if
> I am building from parent directory or from any of the subprojects 
> directories)?
>
> All my subprojects are sharing the same checkstyle.xml file. I am trying to 
> configure my checkstyle
> plugin in parent pom:

We use svn:externals for this, to include a directory with common
build information "under" each sub-project.  With the additional
'current' external that pulls in the trunk of each sub-project, it
looks like this:

struts/current/action
struts/current/action/build
struts/current/build
struts/current/taglib
struts/current/taglib/build

All three of those 'build' directories are really /struts/build/trunk/
in the svn repo.

That won't really help if you're not using Subversion. :)  But I'm
also interested to know if there's a way to do this with just Maven. 
It would seem like that file becomes a dependency... maybe it somehow
needs to be in the Maven repository.

--
Wendy

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

Reply via email to