RE: Modifying jar plugin

2003-11-07 Thread Michal Maczka


> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 07, 2003 7:50 PM
> To: 'Maven Users List'
> Subject: Modifying jar plugin
>
>
> 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:
>
>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.
>
You can write your own script which will replace jar plugin.


Michal



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



Modifying jar plugin

2003-11-07 Thread Vikas Phonsa
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:

 


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]