On Monday 28 April 2008 amit kumar wrote:
> Hi Olivier,
> I tried the same thing in the root pom. But at the sub module level it
> was taking ${my.build.directory} as {basedir}/${my.build.directory}, so
> the error that was coming was like could not create *
> D:\myProjects\project1\C:\builds\my-artifact-1.0.jar*
The contents of the variable ${my.build.directory} is probably correct
(verify it by using an antrun echo task). I bet the problem is the plugin
using your variable. This plugin might not accept absolute path but only
relative ones (like most maven-plugins do).
See also this thread and the provided link to Brian's blog:
http://www.nabble.com/Using-a-distribution-built-by-the-assembly-plugin-as-a-dependency...-to16887959s177.html
hth,
- martin
signature.asc
Description: This is a digitally signed message part.
