On Oct 8, 2007, at 1:12 AM, Stephane Nicoll wrote:

On 10/8/07, Jason Dillon <[EMAIL PROTECTED]> wrote:
I'm not sure what you are asking... or why I'm being ping'd :-P

Sounds like you had the same problem before, so I'm just wondering if
you found a solution.

Oh, so that was what you were talking about... ;-)

Nope, I've just moved on for now. The problems I was having was that Groovy code inlined into a pom.xml might not behave as one might expect due to GStrings conflicting with POM variable expansion. The only solution I had for that was to, a) don't use GStrings when inlinng or don't inline, use a file.


Awhile back I was trying to get a plugins params to not be replaced
at all, which I was told was impossible.  I'm not sure that is what
you are looking for here.

Exactly. The weird thing is .... it worked :) I've been using this for
a couple of weeks and suddenly a user reported that the last snapshot
broke that functionnality.

Dunno... :-\


I don't get why it's impossible. Plexus components are responsible to
inject the pom's value into the mojo's field right? What if we provide
a component that does not interpolate the content of the attribute. It
used to be like this at least? (maybe an older version of the plugin
plugin generates different descriptors?)

Ya, it should be possible, but IIUC the current maven plumbing which handles plugins does not allow it. It would sure be nice to get an additional attribute to configuration, like opaque="true" (in addition to implementation) which could signal the contain and glue to leave the configuration element untouched.

--jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to