Hmm, for the java source it should just be as simple as setting
sourceDirectory in the build tag.
<build>
<sourceDirectory>Dev/Web/WEB-INF/src</sourceDirectory>
<outputDirectory>Dev/Web/WEB-INF/classes</outputDirectory>
</build>
If thats not working Im not really sure. It works okay on mine.
Karthik Manimaran wrote:
Thanks Tim. ($basedir) solves half of my problem. But I still cant find
enough info in the plugin goal parameters page.
Looks like warSourceDirectory> corresponds to /src/main/webapp directory.
What is the parameter name(s) for ejb, jar and war plugins corresponding to
/src/main/java directory ?
Thanks and regards,
Karthik.
On 2/15/06, Tim Davies <[EMAIL PROTECTED]> wrote:
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]
--
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]