You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by jv...@apache.org on 2004/09/17 17:10:15 UTC
cvs commit: maven-components/maven-core/docs/apt mojos.apt
jvanzyl 2004/09/17 08:10:15
Modified: maven-core/docs/apt mojos.apt
Log:
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.
Revision Changes Path
1.2 +11 -2 maven-components/maven-core/docs/apt/mojos.apt
Index: mojos.apt
===================================================================
RCS file: /home/cvs/maven-components/maven-core/docs/apt/mojos.apt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mojos.apt 9 Aug 2004 19:02:34 -0000 1.1
+++ mojos.apt 17 Sep 2004 15:10:15 -0000 1.2
@@ -33,5 +33,14 @@
}
+-----+
-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.<role>
+*----------*-------------------------------------------------------------------*