The program 'mvn' can be found in the following packages:

狂风中的少年 提交于 2019-12-24 03:12:31

问题


I am trying to install dataloader on my Linux machine. https://github.com/forcedotcom/dataloader

There is a command line on third line:

$ mvn clean package -DskipTests

When I typed that in, I got this error:

The program 'mvn' can be found in the following packages:
* maven
* maven2
Try: sudo apt-get install <selected package>

I am not sure what to do.


回答1:


Dataloader needs Maven. It's a dependency manager for Java.

Thus you have to install Maven before being able to use it.

Just run sudo apt-get update && sudo apt-get install maven2 and mvn will be available on your computer.


Maven documentation (for more up to date installation instructions) : https://maven.apache.org/install.html



来源:https://stackoverflow.com/questions/44850105/the-program-mvn-can-be-found-in-the-following-packages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!