I am building a slimmed down WAR file where I want to exlude a large number files from the archive. This is the behavior that I am seeing when using the WAR plugin.
- WAR plugin always builds the WAR file from default location ‘src.main.webapp’ or the location specified by the variable webAppDirName. All content from these directories are included in the WAR file and any Exclude condition applied against this directory is ignored. 2) If I specify an additional directory to include in the WAR archive (using the FROM tag), any Exclude condition applied against the additional directory is applied
Is this the expected behavior? How can I exclude content from being included in the WAR file the archive is always built from a default directory where all files are included?