Good day,
If you have a war project and you want some of its dependencies not to be
included in your WEB-INF/lib, add
<project>
...
<dependencies>
...
<dependency>
...
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Cheers,
Franz
Johan Eltes-3 wrote:
>
> Thanks.
> Now that Maven is generating my manifest ClassPath entry for all my
> dependencies - how do I avoid having the dependent jars copied into
> the WEB-INF/lib directory of my war?
>
> Johan Eltes
> Callista Enterprise AB
> Mobil: +46 (0)708-22 41 86
> [EMAIL PROTECTED]
> http://www.callistaenterprise.se
>
>
> On 12 apr 2007, at 17.05, Jerome Lacoste wrote:
>
>> On 4/12/07, Johan Eltes <[EMAIL PROTECTED]> wrote:
>>>
>>> I'd like have all dependent jars of all modules of my enterprise
>>> application bundled in the ear - not in WEB-INF/lib directories of my
>>> war files. Is this possible with maven 2? I would also like maven to
>>> generate the required ClassPath entries in the war manifest file.
>>> I've found out how to accomplish the same tasks for ejb projects, but
>>> haven't found any hints on war projects.
>>
>>
>>
>> Read
>>
>> http://maven.apache.org/plugins/maven-war-plugin/examples/war-
>> manifest-guide.html
>>
>> J
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/ERROR-%22The-plugin-%27org.apache.maven.plugins%3Amaven-resources-plugin%27-does-not-exist%22-tf3564721s177.html#a9962532
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]