Hi,
You could specify a provided scope for the dependency that you don't want to
package in your WAR. It will use the dependency for the compile phase, but
will not include it in your war.
<dependency>
<groupId>my-jar-group</groupId>
<artifactId>my-jar-artifact</artifactId>
<scope>provided</scope>
</dependency>
On Thu, Jun 19, 2008 at 4:14 PM, prabho <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I am trying to create a WAR file with class files and other jar files. As I
> have conflict with an external jar file, I am supposed to omit my jar file
> while packaging. Can you please let me know how to achieve that?
>
> Any help is greatly appreciated.
>
> Thanks
> Prabhu
> --
> View this message in context:
> http://www.nabble.com/How-to-omit-include-a-jar-file-during-packaging-tp18009940p18009940.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>