Author: vsiveton
Date: Thu Jul 31 03:40:14 2008
New Revision: 681331
URL: http://svn.apache.org/viewvc?rev=681331&view=rev
Log:
o fixed English grammatical rule
Modified:
maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt
maven/sandbox/trunk/shared/maven-filtering/src/site/apt/usage.apt
Modified: maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt
URL:
http://svn.apache.org/viewvc/maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt?rev=681331&r1=681330&r2=681331&view=diff
==============================================================================
--- maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt (original)
+++ maven/sandbox/trunk/shared/maven-filtering/src/site/apt/index.apt Thu Jul
31 03:40:14 2008
@@ -35,12 +35,12 @@
The method without the filterWrappers parameter will interpolate the files
using the default List of FileUtils.FilterWrapper (see above).
- The component will not filtering some predefined file extensions
(jpg,jpeg,gif,bmp,png). Note : you can easily add extra file extensions.
+ The component will not filtering some predefined file extensions
(jpg,jpeg,gif,bmp,png). Note: you can easily add extra file extensions.
* Component MavenFileFilter
This component has a method which returns the default
FileUtils.FilterWrapper.
- This are :
+ This are:
* interpolation with token $\{ \} and values from filters,
project.filters, project.build.filters, pom.properties and
mavenSession.executionProperties
@@ -52,7 +52,7 @@
[]
- The values (Properties object) used for interpolation are loaded with the
following order :
+ The values (Properties object) used for interpolation are loaded with the
following order:
* List of properties file ( the method has a parameter which accept a List
of String -> path properties files )
@@ -66,7 +66,7 @@
[]
- <<NOTE>> : As it's a Properties object, last defined key/value pair wins .
+ <<NOTE>>: As it's a Properties object, last defined key/value pair wins .
- <<NOTE>> : When building the global Properties object and reading the
properties files defined the different filters,
+ <<NOTE>>: When building the global Properties object and reading the
properties files defined the different filters,
interpolation with the token $\{ \} is supported for this filters with a
limited properties values coming from pom.properties and
mavenSession.executionProperties (last wins too)
Modified: maven/sandbox/trunk/shared/maven-filtering/src/site/apt/usage.apt
URL:
http://svn.apache.org/viewvc/maven/sandbox/trunk/shared/maven-filtering/src/site/apt/usage.apt?rev=681331&r1=681330&r2=681331&view=diff
==============================================================================
--- maven/sandbox/trunk/shared/maven-filtering/src/site/apt/usage.apt (original)
+++ maven/sandbox/trunk/shared/maven-filtering/src/site/apt/usage.apt Thu Jul
31 03:40:14 2008
@@ -43,19 +43,19 @@
+-----+
-resources : List of org.apache.maven.model.Resource
+resources: List of org.apache.maven.model.Resource
-outputDirectory : base output directory for Resource.targetPath
+outputDirectory: base output directory for Resource.targetPath
-mavenProject : a mavenProject
+mavenProject: a mavenProject
-encoding : output encoding for filtered files (can be null platform default
will be used)
+encoding: output encoding for filtered files (can be null platform default
will be used)
-filtersFile : List of String pointed to a properties file
+filtersFile: List of String pointed to a properties file
-nonFilteredFileExtensions : is a List of String which file extensions to not
apply filtering (default List contains jpg,jpeg,gif,bmp,png)
+nonFilteredFileExtensions: is a List of String which file extensions to not
apply filtering (default List contains jpg,jpeg,gif,bmp,png)
-mavenSession : executionProperties will be used for file filtering
+mavenSession: executionProperties will be used for file filtering
MavenResourcesExecution mavenResourcesExecution =
new MavenResourcesExecution ( resources, outputDirectory, mavenProject,
encoding, filtersFile, nonFilteredFileExtensions, mavenSession );
@@ -68,7 +68,7 @@
You must use the other methods from the MavenResourcesFiltering component
and construct your own List of FilterWrapper.
The following example add the interpolation for the Token @ @ with using
values coming from reflection with the Maven Project.\
- NOTE : the component maven-filtering use the
{{{http://plexus.codehaus.org/plexus-components/plexus-interpolation/}plexus-interpolation
component}}.
+ NOTE: the component maven-filtering use the
{{{http://plexus.codehaus.org/plexus-components/plexus-interpolation/}plexus-interpolation
component}}.
+-----+
@@ -88,7 +88,7 @@
mavenResourcesExecution.addFilterWrapper( filterWrapper );
-Or with the helper method :
+Or with the helper method:
mavenResourcesExecution.addFilerWrapper( new MavenProjectValueSource(
mavenProject, true ), "\\@", "(.+?)\\@", "@", "@" );