The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.2
The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive. http://maven.apache.org/plugins/maven-war-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.2</version> </plugin> Release Notes - Maven 2.x WAR Plugin - Version 2.2 ** Bug * [MWAR-240] - archiveClasses and attachClasses in 2.1 * [MWAR-248] - Plugin warns about missing webxml attribute even if one exists ** Improvement * [MWAR-252] - Missing documentation: Overlay filter * [MWAR-268] - Upgrade plexus dependencies for war plugin * [MWAR-273] - Add Maven version used to Created-By entry in manifest ** Wish * [MWAR-81] - Request enhancement to pattern matching for packagingIncludes/packagingExcludes functionality (regular expressions?) For your convenience, here are some relevant release-notes from selected dependencies of the war-plugin: Release Notes - Maven Shared Components - Version maven-archiver-2.5 ** Bug * [MSHARED-38] - Archiver should be adding "Created-By: Apache Maven _2.0.4_" to the manifest * [MSHARED-134] - Using ${artifcactId}-Extention-Name in MANIFEST file can create invalid MANIFEST files * [MSHARED-182] - manifestEntry seems not to work correctly ** Improvement * [MSHARED-99] - Archiver should validate manifest attribute names. * [MSHARED-221] - maven archiver requires JDK5 Release Notes - Plexus Components - Version plexus-archiver-2.1 ** Bug * [PLXCOMP-39] - better validation of manifest entries in plexus-archiver * [PLXCOMP-47] - Manifest entries containing line feeds are invalid * [PLXCOMP-70] - Embedded error: String index out of range: 70 * [PLXCOMP-155] - writeManifest generates unusable MANIFEST.MF for non-latin chars * [PLXCOMP-177] - JarArchiver generates lines longer than 72 bytes in MANIFEST.MF ** Task * [PLXCOMP-172] - remove Ant's Manifest class: use JDK's class instead Release Notes - Plexus Components - Version plexus-archiver-2.0 ** Bug * [PLXCOMP-163] - ZipFile leaks memory into native heap * [PLXCOMP-175] - Revert to old groupId ** Improvement * [PLXCOMP-129] - Archiver should not print info messages for duplicate directories. * [PLXCOMP-169] - IO & Archiver forget to raise filename in case of an error >From 40,000 feet over France; Enjoy, -The Maven team --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
