You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ro...@aciworldwide.com on 2008/02/08 17:13:29 UTC

discuss: module paths

Every example I've seen for multi-module projects uses relative paths. 
What are some of the drawbacks that would make absolute paths a poor 
design choice, as in the following example?

<!-- In the "parent pom" -->
<properties>
   <root.dir>C:/project</root.dir>
</properties>

<!-- In the various child poms -->
<modules>
  <module>${root.dir}/module1/sub-module1/artifact1a</module>
  <module>${root.dir}/module1/sub-module1/artifact1b</module>
</modules>


Thanks
Robert Egan

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.