I'm not sure what guidelines you are following?
The default setting for maven.war.src is src/webapp. My structure
usually looks like:
src/
-- webapp/
----- sha1.js
----- WEB-INF/
------- web.xml
------- jsp/
--------- something.jsp
classes, lib and tld are populated by the war plugin
On Tue, 26 Oct 2004 17:46:01 +0200, Alessandro Di Bella
<[EMAIL PROTECTED]> wrote:
> Hi,
> I'm new to maven and I'm trying to build a war file with it.
> Following the guidelines my directory structure looks like:
>
> main
> ------src
> ---------java
> ---------jsp
> ---------javascript
> ------resources
> ---------WEB-INF
> -------------web.xml
> ---------META-INF
> ------test
> target
>
> Setting aven.war.src=${maven.src.dir}/resources, I managed to create a basic
> project.xml that builds a war with all the libs and the appropriate
> descriptors. However I cannot manage to add the jsp and javascript folders to
> it. The WAR plugin documentation suggests to use <postGoal
> name="war:webapp">, anybody knows how?
>
> Thanks
>
> Alessandro
>
> ---------------------------------------------------------------------
> 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]