Is there any mechanism for loading properties into the POM from a file, in the style of an Ant <property file="foo.properties" /> declaration? I know M2 tries to keep everything in the one file, but the particular issue I'm coming up against is wanting to define the project version based on a properties file, which is needed / used by several other processes, so I can't just move it into the POM.
I looked at profiles, which might be able to help, but I'm not 100%, and I wondered if there was a more direct means, even if it's specifying the file on the commandline. In a related question, can you declare properties in the POM? I've got a few directory references that are crying out for a common prefix variable, but I don't see how to achieve it. Cheers, Nick This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]