Fixed use of pom variables for maven2