Somehow that doc is a bit out of data, you should use something like
Thank you ffang!
Are you also come from china?
After executing your command, following error occurs:
java.lang.RuntimeException: URL mvn:org.ops4j.base/ops4j-base-net/1.2.2 could not be resolved.
It seems the 1.2.2 does not exist in the central repository.
have you tested the commands?
Yes, I'm from China.
is in the maven central repo
Ensure your machine has internet connection and the firewall/proxy stuff configuraion is correct for you to access the internet.