Hi,

WAR POM
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <configuration>
                    <warSourceDirectory>webApplication</warSourceDirectory>
                    <warSourceExcludes>
                        image/**,htmlapp/**,WEB-INF/lib/*.jar
                    </warSourceExcludes>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>

They should generate manifest.mf files for you.
Yes, it generates manifest.mf but it also include all *.jar files which are dependencies of the war project. I checked the sources of the war plugin and it uses excludes only for files copied from src directory, not project dependencies. Why?

Best regards,
Piotrek

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

Reply via email to