If you have to downgrade Maven version to an older version, you can specify this via using Pin.
Open the maven.pref file within you /etc/apt/preferences.d/ folder and adapt the content depending on your own needs:
Package: maven Pin: version 3.0.5* Pin-Priority: 1001