o start keeping track of what ognl expressions are actually allowed

for mojo parameters. i think the goal is to eliminate the use of
  #basedir and get explicit about everything and only use #project
  and #component for mojo parameters.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-09-17 15:10:15 +00:00
parent f915a32db4
commit ac8f54900d
1 changed files with 11 additions and 2 deletions

View File

@ -33,5 +33,14 @@ public class CompilerMojo
}
+-----+
o trying to alleviate the need to log internally by gleaning information
from the response.
Parameters available to Mojos
*----------*-------------------------------------------------------------------*
#project | The MavenProject object:
| You can use #project itself or any valid OGNL expression to
| extract any part of the MavenProject object graph
*----------*-------------------------------------------------------------------*
#component | Any arbitrary Plexus component:
| By using the role name of the plexus component you can use the
| said component in your mojo. Usage: #component.<role>
*----------*-------------------------------------------------------------------*