Details
Description
Although this may not be a common use-case, the exception thrown is really confusing and does not clarify what the problem is.
The resulting error is: java.lang.ClassCastException: org.codehaus.plexus.DefaultPlexusContainer cannot be cast to org.codehaus.plexus.PlexusContainer
The error occurs because mvn-init target gets called twice.