maven:检测依赖关系
maven: Detecting dependencies
关于 maven 和 java!
的新手问题
我有一个依赖 itextpdf (com.itextpdf) 5.5.4 版的简单项目。我希望 maven 识别该库的所有依赖项并 "automatically" 下载依赖库或至少指出依赖库及其版本。
这可能吗?
例如:在 node.js 中,我只需要说 "npm install [@version]" 即可安装该模块以及所有相关模块。我不需要做任何其他事情。选项“--save”会自动更新我的 packages.json.
要下载所有依赖项,请使用:
dependency:copy-dependencies takes the list of project direct dependencies and optionally transitive dependencies and copies them to a specified location, stripping the version if desired. This goal can also be run from the command line.
要列出所有依赖项,请使用:
dependency:list alias for resolve that lists the dependencies for this project.
关于 maven 和 java!
的新手问题我有一个依赖 itextpdf (com.itextpdf) 5.5.4 版的简单项目。我希望 maven 识别该库的所有依赖项并 "automatically" 下载依赖库或至少指出依赖库及其版本。
这可能吗?
例如:在 node.js 中,我只需要说 "npm install [@version]" 即可安装该模块以及所有相关模块。我不需要做任何其他事情。选项“--save”会自动更新我的 packages.json.
要下载所有依赖项,请使用:
dependency:copy-dependencies takes the list of project direct dependencies and optionally transitive dependencies and copies them to a specified location, stripping the version if desired. This goal can also be run from the command line.
要列出所有依赖项,请使用:
dependency:list alias for resolve that lists the dependencies for this project.