Hi all,
I'm running Maven 2.0.7 and I'm trying to get resource filtering
working with m2's ear plugin. I have a file which I'm trying to get
certain properties replaced on a mvn package.
src/main/application/META-INF/geronimo.xml:
?xml version=1.0 encoding=UTF-8?
application
1. Try ${project.*} instead.
2. Consider writing a geronimo plugin (or patching the existing
maven-ear-plugin), and contributing it back. It would be helpful for
other people who need to generate these geronimo.xml files. And I
think it would be pretty simple.
Wayne
On 8/28/07, Jonathan Chen
You're hacking the ear's plugin own resource directory with a standard
resource. This own resource dir was a design error in the early
days.
Anyway, you might be able to configure a custom execution of the
resource plugin with filtering enabled. But move your files out of
src/main/application
On Tue, Aug 28, 2007 at 05:32:25PM +0200, Stephane Nicoll wrote:
You're hacking the ear's plugin own resource directory with a standard
resource. This own resource dir was a design error in the early
days.
Anyway, you might be able to configure a custom execution of the
resource plugin