Hi,

use
  <properties>
    <myProperty>myValue</myProperty>
  </properties>
if you want to set fixed properties for the build process.

You may also want to have a look at how to use profiles.

regards,

Stefan

[EMAIL PROTECTED] wrote:
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]


--
best regards,

Stefan Seidel
software developer
________________________
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.    +49 (341) 9 60 50 07
fax.    +49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.    www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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

Reply via email to