Hi Everybody,

I am using a project directory structure different than the one specified by
maven and have updated the basic properties accordingly.

I have

maven.build.dir=${basedir}


And the jar plugin by default would place the generated jar in
maven.build.dir but I want to place that in ${maven.build.dir}/builds

What would be the best way to do that. I have looked into the jelly script
code for the jar plugin:

<ant:jar
      jarfile="${maven.build.dir}/${maven.final.name}.jar"
      basedir="${maven.build.dest}"
      index="${maven.jar.index}"
      compress="${maven.jar.compress}"
      excludes="${maven.jar.excludes}"> 


In the above ant task (and at other places in script) I can use another user
define property like ${maven.jar.dest} instead of ${maven.build.dir}.

But is there another way I can achieve my desired functionality without
modifying the jar plugin ?

Please guide.

Thanks

Vikas
      
[EMAIL PROTECTED]

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

Reply via email to