How to read an external properties file in Maven

Does anyone know how to read a file in Maven. I know there are ways to use resource filtering to read a properties file and set values from that, but I want a way in my pom.xml like:

<properties file=""> 


There was some discussion about this: Maven External Properties


Try the Properties Maven Plugin

Source: stackoverflow