Then the stacktrace gone and I can use jenkins now. Should maven and maven-plugin be shipped by default? If not, at least catch the exception for avoid the stacktrace and show a graceful warning message instead. That helps to the new users to have a best experience at install.
I found the workaround fix based in your comment. I did the following:
$ sudo apt-get install maven localhost: 8080 install-plugin maven-plugin localhost: 8080 safe-restart
$ jenkins-cli -s http://
$ jenkins-cli -s http://
Then the stacktrace gone and I can use jenkins now. Should maven and maven-plugin be shipped by default? If not, at least catch the exception for avoid the stacktrace and show a graceful warning message instead. That helps to the new users to have a best experience at install.