Due to a bug in Maven 2.2.0, I am not able to add a 3rd-party-dependency to my local repository. I’m running Windows 7 with the Windows PowerShell/CMD and it does not recognize the parameter -Dversion=4.0.1, obviously because of some escape problems with the dot.

That is quite annoying because it’s only able to read -Dversion=4 => not the point of a dependency management tool :-)

I filed a bug to the Apache JIRA bugtracker and hope I’ll get an answer soon.

UPDATE: The “=” seems to be a special/reserved character in Windows PowerShell, we have to put the parameters containing “=” in quotes, ie. “-Dversion=4.0.0″.