ok, i got one step further.

${executedProject} is injected by plexus and related to the @execute mojo
tag. adding it made the ${executedProject} available.

see also
http://www.docjar.com/docs/api/org/apache/maven/plugin/AbstractMojo.html
under execute entry.


aldana wrote:
> 
> hi,
> 
> i am usingthe mojo-executor extension
> (http://code.google.com/p/mojo-executor/) which i use for my custom plugin
> to call up jetty-maven-plugin.
> 
> problem is that somehow properties are getting overridden, when the jetty
> plugin is called up:
>  org.mortbay.jetty:maven-jetty-plugin. Reason: Invalid or missing
> parameters: [Mojo parameter [name: 'project'; alias: 'null']] for mojo:
> org.mortbay.jetty:maven-jetty-plugin:6.1.16:run
> 
> could it be that mojo-executor isn't passing through the ${project}
> variable to jetty-plugin correctly? the error message tells me that it
> cannot find the ${project} parameter doesn't it?
> 


-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de
-- 
View this message in context: 
http://www.nabble.com/%27Invalid-or-missing-parameters%27-problem-when-running-plugin-tp25933885p25983697.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to