Hello Davis

You can use the Maven Properties Plugin
=> http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/


Greetings, Thomas

Davis Ford wrote:
Is it possible to have maven do resource filtering on the fly inside
the pom.xml -- albeit without writing to the file (i.e. in-memory
only)

For example, I might be using maven-sql-plugin:

<configuration>
          <driver>${db.driver}</driver>
          <url>${db.url}</url>
          <username>${db.username}</username>
          <password>${db.password}</password>
</configuration>

I don't want to hard-code these values in the pom.xml.  I want them to
be read from an external properties file.  Is this possible?

Thanks in advance,
Davis

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to