Author: dennisl Date: Mon May 24 10:23:06 2010 New Revision: 947589 URL: http://svn.apache.org/viewvc?rev=947589&view=rev Log: [MWAR-212] Allow optional @classifier@ in <outputFileNameMapping>
Add since information in the docs Modified: maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/file-name-mapping.apt Modified: maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/file-name-mapping.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/file-name-mapping.apt?rev=947589&r1=947588&r2=947589&view=diff ============================================================================== --- maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/file-name-mapping.apt (original) +++ maven/plugins/trunk/maven-war-plugin/src/site/apt/examples/file-name-mapping.apt Mon May 24 10:23:06 2010 @@ -43,7 +43,7 @@ Using File Name Mapping The <<<outputFileNameMapping>>> parameter allows you to give a custom pattern. Each token defined in the pattern will be replaced with a value from the current artifact. You can use any property of Artifact and - ArtifactHandler as a token. There is also a special token named <<<dashClassifier?>>> that can be used. + ArtifactHandler as a token. There is also a special token named <<<dashClassifier?>>> that can be used, since 2.1-beta-2. It will add the string "-yourclassifier" if and only if the artifact has a classifier. For instance, to store the libraries and TLDs without version numbers or classifiers, use the following pattern: