On 8 Aug 07, at 12:00 PM 8 Aug 07, Jason Dillon wrote:
Would be really nice to have a shared/common module and components
to handle filtering in the same manner as the maven-resources-
plugin, or really, perhaps with even more control over which tokens
are used and which keys are replaced too.
It is a very common need, and some times folks revert to using
Velocity to handle this, which doesn't really perform the same
replacement as Maven would, and can cause other problems.
I'm a big +1 to having a separate shared/common module that
abstracts this functionality for re-use in other plugins.
I think there's a plexus component in JIRA that Brian topping
started. I can't remember the JIRA issue but it's there. Take that
and put it in shared, you can work in the sandbox if you like.
--jason
On Aug 6, 2007, at 2:56 AM, Stephane Nicoll wrote:
Hi,
I'm wondering if anyone was working on sharing the resources
filtering
capabilities. Lots of plugin actually use this (war, ear, assembly,
dependency).
I'd like to know if there is any way to exclude some token explicitly
when filtering. Let's say I have something like ${project.artifactId}
- ${project.version} in some resource that is being filtered. I'd
like
to keep the ${project.artifactId} as is and only replace
${project.version}. Is there any way to do this?
Thanks,
Stéphane
--
Large Systems Suck: This rule is 100% transitive. If you build one,
you suck" -- S.Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]