It should work for you as we also faced the same issue and it worked fine with
me if I am getting your question properly:
<dependencies>
<dependency>
<groupId>com.wellmanage.trading.gts</groupId>
<artifactId>jnlp-servlet</artifactId>
<version>Version</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>weblogic</groupId>
<artifactId>weblogic</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
Thanks
Sandeep
-----Original Message-----
From: Comerford, Sean [mailto:[email protected]]
Sent: Monday, August 10, 2009 12:23 PM
To: Maven Users List
Subject: Re: maven-war-plugin - single jar in /WEB-INB/lib?
Sorry. I¹m didn¹t ask the question properly. Let me re-phrase:
Artifact foo has a shade plugin based build that generates a single
³with-dependencies² jar containing all classes and dependent classes.
I want that single jar (foo-2.0-with-dependencies.jar) to be placed in my WAR
artifact¹s WEB-INF/lib folder.
Is that possible (other than doing something manual like unpack)?
Thanks,
Sean
On 8/10/09 12:18 PM, "Heinrich Nirschl" <[email protected]> wrote:
> On Mon, Aug 10, 2009 at 5:01 PM, Comerford,
> Sean<[email protected]> wrote:
>> > I have a Maven 2.0.9 webapp build that uses the WAR plugin.
>> >
>> > Is there a way to have JUST foo-2.0.jar show in WEB-INF/lib instead
>> > of all the other jars?
>
> Yes, have a look at the packagingExclude and packagingInclude
> parameters in
> http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
>
> But I do not understand why you would like to have this.
>
> - Henry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Sean Comerford, Software Engineer
ESPN.com Site Architecture Group
Office: 860.766.6454 Cell: 860.951.6973
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]