Hello Raymond,

Inline answer

2006/4/6, Raymond Domingo <[EMAIL PROTECTED]>:
>
>
>
> Hello Mang Jun Lau,
>
> Thank you for responsing, but it still isn't working :(
>
> Currently I have this in my pom.xml:
>            <plugin>
>                <artifactId>maven-war-plugin</artifactId>
>                <configuration>
>                    <warSourceDirectory>web</warSourceDirectory>
>                       <warName>spg</warName>
>                    <webXml>web/WEB-INF/web.xml</webXml>
>                </configuration>
>            </plugin>
>
> I also tried:
>            <plugin>
>                <artifactId>maven-war-plugin</artifactId>
>                <configuration>
>                    <webXml>web/WEB-INF/web.xml</webXml>
>                </configuration>
>            </plugin>
>
> I even upgraded from maven 2.0.2 to 2.0.3
>
> But I still get this error:
>
> Embedded error: webxml attribute is required (or pre-existing
> WEB-INF/web.xml
> if executing in update mode)
>
> NOTE
> Some time ago we used this configuration to create a valid war file using:
> mvn package
>
> But we need to move the stuff in WEB-INF/classes to WEB-INF/lib/spg.jar


Why don't you create an spg project with the jar packaging on which
your war project depends ?

If you want some sample, checkout the axis-archetype code at mojo.
http://mojo.codehaus.org/ (it is in the sandbox)

Hope this helps.

Raphaël


That is why we are looking in to assembly's.
>
> Can you think of anything else that might solve this problem ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to