public static Properties getPropertiesWithSystemOverrides(MavenProject project) {
        Properties properties = new Properties(project.getProperties());
        properties.putAll(System.getProperties());
        return properties;
    }
public static Properties getPropertiesWithSystemOverrides ( MavenProject project ) { Properties properties = new Properties ( project . getProperties ( ) ) ; properties . putAll ( System . getProperties ( ) ) ; return properties ; }
Return all properties in Maven project, merged with all System properties (-D flags sent to Maven).

System properties always takes precedence.

@param project Project to extract Properties from
@return