As far as replacing variables, are you talking about being able to use
environment variables - something like this:
<property name="FLEX_HOME" value="${env.FLEX_HOME}"/>
Then use the property name throughout your pom.
Or am I completely missing your question?
-------------------------------------------------------
Cynthia Libby
Senior SCM Engineer
5601 Headquarters Drive
Plano, TX 75024-2262
214-387-2573
x72573
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 15, 2008 4:12 AM
To: [email protected]
Subject: Executing a hook before reading a POM
Hi to all,
I am trying to find out how I can get maven to execute a hook before it
reads the POM file. But it seems that unless you go in and modify the
maven source code, at a user level, there is nothing to be done. I am
trying to execute the hook since maven doesn't replace variables within
the POM. And I need this information to be statically available within
our internal repositories.
1. Is there a "smart" way to get maven to execute hooks?
2. Am I a little far fetched for trying to implement a hook to do
something that Ant could do to pre-process the POM file?
Thanks in advance,
Fernando
---------------------------------------------------------------------
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]