Am I misreading the process by which expressions are evaluated?

Consider project A with pom.xml containing

   <properties>
     <target.binary.dir>${basedir}/target/bin</target.binary.dir>
   </properties>

and A's sub-project B with pom.xml containing

   <build>
     <directory>${target.binary.dir}</directory>
     ...
   </build>

Given Table A-6 from "Better Builds with Maven",
[ http://www.mergere.com/m2book_download.jsp ], the description
for ${basedir} says

   The current project's root directory.

The result shows that ${basedir} is being evaluated for B, and not A,
where the expression appears.

Brad



   



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

Reply via email to