Hi everyone,

i have some problems generating the MANIFEST.MF with WAR plugin. No
manifest file is generated :(

I have tried following versions of maven-war-plugin: 2.0-beta-2 and 2.0-beta-3.
IDE: IBM RSA.

Any ideas?

Thanks in advance!

Here is my pom:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0";>

        <modelVersion>4.0.0</modelVersion>
        <groupId>myCompany</groupId>
        <artifactId>Communication</artifactId>
        <packaging>war</packaging>
        <name>${pom.groupId}.${pom.artifactId}</name>
        <version>1.0</version>

        <build>
                <sourceDirectory>JavaSource</sourceDirectory>
                <outputDirectory>WebContent/WEB-INF/classes</outputDirectory>
                <finalName>${pom.name}</finalName>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <extensions>true</extensions>
                                <configuration>
                                        <warSourceDirectory>
                                                ${basedir}/WebContent
                                        </warSourceDirectory>
                                        <webXml>
                                                
${basedir}/WebContent/WEB-INF/web.xml
                                        </webXml>
                                        <archive>
                                                <manifest>
                                                        
<addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
                                </configuration>
                        </plugin>
                </plugins>
        </build>

        <dependencies>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.0.4</version>
                </dependency>
        </dependencies>
</project>

Best regards

Bogdan Sulima.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to