Put anything you want in WEB-INF in src/webapp/WEB-INF (assuming a
default maven.war.src).

tlds should probably be used from inside a JAR in a servlet 2.3
container - search the archives for tld :)

As far as renaming the jars: why? They work just the same with the
versions, and make it clearer what is bundled.

Regards,
Brett

On Fri, 15 Oct 2004 10:03:22 -0300, Roberto Castro
<[EMAIL PROTECTED]> wrote:
> Hi, all. I've been facing two problens generating a war file.
> Maven inserts jar files into war files with version number in its name. To avoid 
> this, I created a goal in maven.xml to rename jar file, like this:
> <move 
> file="${maven.build.dir}/web-inf/WEB-INF/lib/commons-beanutils-${siloc_commons_beanutils_version}.jar"
>         tofile="${maven.build.dir}/web-inf/WEB-INF/lib/commons-beanutils.jar" 
> overwrite="true"/>
> Is it the better way to do this?
> Second problem:
> To copy tld and xml files into war file, I do the following:
>         <build>
>                 <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
>                 <sourceDirectory>src</sourceDirectory>
>                 <resources>
>                         <resource>
>                                 <directory>web/config</directory>
>                                 <targetPath></targetPath>
>                                 <includes>
>                                         <include>*.xml</include>
>                                         <include>*.tld</include>
>                                 </includes>
>                         </resource>
>                 </resources>
>         </build>
> 
> But maven copys tld and xml files into "WEB-INF/classes" directory, insted of, 
> "web-inf" directory.
> What can I do to solve this problem?
> Thank you all in advance for the help.
>         Regards,
> 
>      Roberto de Castro
>      Analista de Suporte
>      Cetip - Desus Rio de Janeiro
>      +55 21 2276-7439
>      mailto:[EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> 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