You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@maven.apache.org by Olivier Lamy <ol...@apache.org> on 2008/10/18 00:02:21 UTC

[ANN] Maven Resources Plugin 2.3 Released

The Maven team is pleased to announce the release of the Maven
Resources Plugin, version 2.3.

New features :
- New mojo to copy resources [1]
- escape mechanism for property interpolation [2]
-  configuring file extension to not filtering [3]

http://maven.apache.org/plugins/maven-resources-plugin/

<plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-resources-plugin</artifactId>
 <version>2.3</version>
</plugin>


Release Notes - Maven 2.x Resources Plugin - Version 2.3


** Bug
    * [MRESOURCES-20] - Filtering ${foo.file} evaluates to in full
path to pom.xml
    * [MRESOURCES-21] - when pom specifies multiple resource
directories, the directories should be copied in the order they are in
the pom
    * [MRESOURCES-32] - calls to DirectoryScanner.setBasedir(String)
fail in embedded environment
    * [MRESOURCES-39] - Filtering fails for command line properties
    * [MRESOURCES-42] - Filtering properties that contain ${basedir}
for property files doesn't escape backslashes
    * [MRESOURCES-43] - resources:resources overwrites destination
files when filtering is on, not when filtering is off
    * [MRESOURCES-47] - POM properties cannot be accessed within a filter file
    * [MRESOURCES-52] - Change type of plugin parameter
"outputDirectory" to java.io.File
    * [MRESOURCES-59] - filtering with @property@
    * [MRESOURCES-65] - filtered resources contains incorrect content
    * [MRESOURCES-69] - Filtering with POM.xml elements

** Improvement
    * [MRESOURCES-24] - Force overwrite resources defined in profiles
    * [MRESOURCES-28] - Maven 2.x Resources Plugin is not compliant
with maven's codestyle
    * [MRESOURCES-33] - testResources & testResource were not
mentioned in the docck-acceptable maven-resources-plugin documentation
    * [MRESOURCES-36] - resource copy to target/classes: empty
directories are ignored
    * [MRESOURCES-45] - Abstract resource filtering into Plexus
    * [MRESOURCES-56] - use (and release) the maven-filtering component
    * [MRESOURCES-57] - use ${project.build.sourceEncoding} as default
value for "encoding" parameter
    * [MRESOURCES-62] - instead of "default encoding" message, should
be "platform encoding" and explicit about the actual encoding used

** New Feature
    * [MRESOURCES-8] - maven-resources-plugin ignores
configuration/resources property (add a new mojo to copy resources)
    * [MRESOURCES-29] - An escape mechanism for property interpolation
is missing.
    * [MRESOURCES-74] - configuring file extension to not filtering



** Wish
    * [MRESOURCES-41] - More debug output

Have fun !

-The Maven team


[1] http://maven.apache.org/plugins/maven-resources-plugin/examples/copy-resources.html
[2] http://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html
[3] http://maven.apache.org/plugins/maven-resources-plugin/examples/binaries-filtering.html