You need to do it by configuring the appropriate plugin.
So for example for a web-app I have:
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>
${basedir}/war/WEB-INF/web.xml
</webXml>
<warSourceDirectory>
${basedir}/war
</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Karthik Manimaran wrote:
Hi,
How can I specify custom source and webapp directories for Ejb, War and Jar
plugins. I am unable to specify a different one. <sourcedirectory> property
doesnt seem to work.
Thanks and regards,
Karthik.
--
Tim Davies
Analyst Developer
KTS PLC: Service you can bank on
8th Floor, Finsbury Tower,
103-105 Bunhill Row,
London EC1Y 8LZ
tel: +44 (0)20 7256 2300
fax: +44 (0)20 7256 2301
email: [EMAIL PROTECTED]
web: http://www.ktsplc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]