Ah, I see where you're going. I did actually try that, unfortunately, it would either pipe through null (because the expression value did not resolve to anything), or the default value, itself (if that was what I was trying to parse). Never did it actually read the pom file.
Anyway, thanks, as you may see from another of my posts, I have found a (sort of) fix. > -----Original Message----- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 4 November 2008 5:23 PM > To: Maven Users List > Subject: Re: Mojo fails to read parameters fed via plugin config > > > But I thought expression="" was used to put vm args and other > > environmental values into a parameter. In fact, this is > what I do for > > I won't claim to be a Plexus expert. In the plugins I have > developed, I have used expression with no default-value and > default-value with no expression, depending on what I am > looking to do with a particular parameter. The expressions do > not necessarily involve system properties but rather simply > pom configuration elements. > > I'm simply suggesting that you try adding > expression="${ingestorContainerBinaryDirectory}" in the > proper place and see if that resolves the issue. If so, you > know the documentation is either wrong, incomplete, out of > date, or you've stumbled across some bug. At that point, you > can decide how best to proceed. > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > The information contained in this e-mail message and any accompanying files is or may be confidential. If you are not the intended recipient, any use, dissemination, reliance, forwarding, printing or copying of this e-mail or any attached files is unauthorised. This e-mail is subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. If you have received this e-mail in error please advise the sender immediately by return e-mail or telephone and delete all copies. Fairfax does not guarantee the accuracy or completeness of any information contained in this e-mail or attached files. Internet communications are not secure, therefore Fairfax does not accept legal responsibility for the contents of this message or attached files. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
