Move to the Maven API 3.1 and higher.
The Maven API from AFC is now incompatible with the previous Maven APIs.