'Maven Error Resolving version for plugin

I am trying to run a kurento-java client hello world example as given in this link http://doc-kurento.readthedocs.io/en/stable/tutorials/java/tutorial-helloworld.html

I am providing a kurento media server url while compiling the code as

mvn compile exec:java -Dkms.url=ws://kms_host:kms_port/kurento

I keep getting error as:

Error resolving version for plugin '.url=ws://kms_host:kms_port' from the repositories



Solution 1:[1]

Are you using PowerShell ?

PowerShell does not recognize line parameter as follow

-Dname.of.myparameter=somting

Use "old" windows command prompt instead.

Solution 2:[2]

This error will be thrown if you have a space before the dot in -Dkms.url. Please make sure to run the command exactly as in the documentation you are referring to.

Solution 3:[3]

Change to regular windows command prompt

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Zou
Solution 2 vempo
Solution 3 Jay Morelli