Maven and Environment Variables

From NovaOrdis Knowledge Base
Jump to: navigation, search



Maven is able to access environment variables in its configuration files by specifying the environment variable using the following format:


Example of specifying a local filesystem repository:


Environment variables specified as such will be de-referenced in pom.xml and settings.xml.