From ac8f54900d2e81b52766053a6c873a7dd18e59f2 Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Fri, 17 Sep 2004 15:10:15 +0000 Subject: [PATCH] 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 --- maven-core/src/site/apt/mojos.apt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/maven-core/src/site/apt/mojos.apt b/maven-core/src/site/apt/mojos.apt index 26c23c1f2c..4f8299846c 100644 --- a/maven-core/src/site/apt/mojos.apt +++ b/maven-core/src/site/apt/mojos.apt @@ -33,5 +33,14 @@ public class CompilerMojo } +-----+ -o trying to alleviate the need to log internally by gleaning information - from the response. \ No newline at end of file +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. +*----------*-------------------------------------------------------------------*