thank you for the replies from all of you. I have also checked the docs of
the war plugin and will try it.

Because my project uses Ant at the begining, and now, I make both Ant and
Maven to be able to build the project. If possible, I would prefer to have a
build.xml to do the war task. (and for me to use my IDE to build the
project) I wonder whether the ant:generate-build goal can generate the
script of the war plugin goal?

regards,
mingfai

> -----Original Message-----
> From: Michal Maczka [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 24, 2003 10:23 PM
> To: 'Turbine Maven Users List'
> Subject: RE: copy jars to web-inf/lib best practice
>
>
>
>
> > -----Original Message-----
> > From: Lester Ward [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 24, 2003 3:04 PM
> > To: 'Turbine Maven Users List'
> > Subject: RE: copy jars to web-inf/lib best practice
> >
> >
> > >> Mark your dependiencise like this:
> > >>
> > >>  <dependency>
> > >>        <groupId>fop</groupId>
> > >>        <artifactId>fop</artifactId>
> > >>        <version>0.20.3</version>
> > >>        <properties>
> > >>          <war.bundle.jar>true</war.bundle.jar>
> > >>        </properties>
> > >>      </dependency>
> >
> > > We never got this to work - I am guessing because we're using
> > > b7 rather than the latest version.
> >
> > I use b7 and this works fine for me. Make sure your maven.repo.local
> > property is setup correctly so the war plugin can find your jars.
>
> In  beta7
>
> this should do (sorry for unnecessarily using 'artifactid' &
> 'groupId' in my
> example)
>
> <dependency>
>   <id>fop</id>
>   <version>0.20.3</version>
>   <properties>
>     <war.bundle.jar>true</war.bundle.jar>
>   </properties>
> </dependency>
>
>
>
>
> Michal
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to