I have all my projects as siblings in the file system. My checkstyle xml file is in the same folder as all those folders which means that its path in all the POMs (which they inheirit from the parent) is ../chk.xml.
That same folder is the root of the project in svn. That seems to work. On 2/9/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > 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] > > -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]
