you can create a maven.xml file with:

<project xmlns:ant="jelly:ant">
  <postGoal name="jar:jar">
    <ant:copy todir="${basedir}/lib"
file="${maven.build.dir}/${maven.final.name}.jar" />
  </postGoal>
</project>

This will work in any situation.

- Brett

On Thu, 17 Feb 2005 16:45:09 -0700, Guy Davis <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I've been asked to use Maven to create our jar file and put it in it's
> historical location {proj.home}/lib/.  Currently, Maven creates it in
> {proj.home}/target/.
> 
> Is there a setting or something else I can set to have the jar placed in
> the lib/ location?  I'd like to keep everything else Maven generates in
> {proj.home}/target/
> 
> Thanks,
> Guy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> 
>

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

Reply via email to