You're missing the <archive> inside <configuration> which contains <manifest>.
Wayne
On 4/18/06, Janos Mucsi <[EMAIL PROTECTED]> wrote:
> Wayne
> Thanks for replying, but it does not work. Here is your advice:
>
> I think you're looking for...
>
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> </manifest>
> </archive>
> </configuration>
> </plugin>
>
> HTH.
> Wayne
>
>
> Here is my POM:
>
> <dependency>
> <groupId>springframework</groupId>
> <artifactId>spring</artifactId>
> <version>1.2.6</version>
> <scope>runtime</scope>
> </dependency>
> </dependencies>
> <build>
> <plugins>
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <manifest> <addClasspath>true</addClasspath> </manifest>
>
> <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
> <webXml>${basedir}/WebContent/WEB-INF/web.xml</webXml>
> <!-- <excludes>**/*.jar</excludes> -->
> </configuration>
> </plugin>
> </plugins>
>
>
> ---------------------------------
> Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
>