Saritha SV wrote:
Hi
Inorder to exclude dependencies you can specify scope as provided for the
dependencies .
And to include these dependencies in a different folder please try :
<javaModule>
<groupId>grupid of dependency</groupId>
<artifactId>artifact id of
dependency</artifactId>
<bundleDir>/service(try giving the path where you need
the dependency)</bundleDir>
</javaModule>
Include this in the <modules> tag in maven-war-plugin.
The <modules> parameter exists only on mave-ear-plugin as far as I know.
Thanks
Saritha
On 11/5/07, Saloucious <[EMAIL PROTECTED]> wrote:
Hi,
I'm packaging a war and all dependencies go into WEB-INF/lib, but i would
like to exclude 2 of them and but them into a services dir.
The target layout I'm after is:
WAR root
|
|---WEB-INF
| |---lib (with dependencies)
|
|---services (with my 2 excluded dependencies)
Is it possible to do that ?
Thanks
--
View this message in context:
http://www.nabble.com/War-packaging-and-how-to-change-dependencies-directory-tf4752596s177.html#a13589848
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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]