Hi!
In the Maven2 documentation (http://maven.apache.org/pom.html#Properties) I
read that properties can come from

  1. env.X: Prefixing a variable with "env." will return the shell’s
     environment variable. For example, ${env.PATH} contains the $path
     environment variable (%PATH% in Windows).
  2. project.x: A dot (.) notated path in the POM will contain the
     corresponding element’s value. For example:
     <project><version>1.0</version></project> is accessible via
     ${project.version}.
  3. settings.x: A dot (.) notated path in the settings.xml will
     contain the corresponding element’s value. For example:
     <settings><offline>false</offline></settings> is accessible via
     ${settings.offline}.
  4. Java System Properties: All properties accessible via
     java.lang.System.getProperties() are available as POM properties,
     such as ${java.home}.
  5. x: Set within a <properties /> element or an external files, the
     value may be used as ${someVar}.

but I could not find any reference on how to read properties from an
external file (as it is mentioned in item 5) and avoid putting them in the
POM <properties> section.

Is there any way to do that like it was possible with Maven 1.x
(build.properties and project.properties files)?
Thanks for any help!
Carlo


-- 
View this message in context: 
http://www.nabble.com/External-Property-files-tf4150588s177.html#a11807493
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to