bw-maven-plugin/src/main/java/fr/fastconnect/factory/tibco/bw/maven/packaging/ApplicationManagement.java
public Properties getGlobalVariables() {
		SortedProperties result = new SortedProperties();

		NVPairs globalVariablesPairs = getGlobalVariablesPairs();
		
		if (globalVariablesPairs != null) {
			for (JAXBElement<? extends NVPairType> nvPair : globalVariablesPairs.getNVPair()) {
				String key = nvPair.getValue().getName();
				String value = nvPair.getValue().getValue();
				result.setProperty(key, value);
			}
		}
		
		return result;
	}
public Properties getGlobalVariables() {
		SortedProperties result = new SortedProperties();

		NVPairs globalVariablesPairs = getGlobalVariablesPairs();
		
		if (globalVariablesPairs != null) {
			for (JAXBElement<? extends NVPairType> nvPair : globalVariablesPairs.getNVPair()) {
				String key = nvPair.getValue().getName();
				String value = nvPair.getValue().getValue();
				result.setProperty(key, value);
			}
		}
		
		return result;
	}
<p>
The Global Variables are inside the NVPairs element with @name attribute
equals to "Global Variables" at the root level.
</p>

@return The Global Variables of the xmlFile in a {@link SortedProperties}
object.