Specifically, I use maven -f project.xml a lot, and the <directory> reference is not being resolved properly.
Originally, I had something like this:
<resources> <resource> <directory>src/java/foo/bar</directory> ...
...but if I run maven -f project.xml from somewhere deep inside my project, that relative path is now relative to my current directory, not the directory containing project.xml.
So I tried to absolutize this path, like this:
<directory>${maven.src.dir}/src/java/foo/bar</directory>
...which didn't work, and then like this:
<directory>${pom.sourceDirectory}/foo/bar</directory>
...which didn't work either. Ideas?
Laird
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
