1. Add M2_REPO Manually
Define and add M2_REPO classpath variable manually into Eclipse IDE. Follow below steps :
Eclipse IDE, menu bar
Select Window > Preferences
Select Java > Build Path > Classpath Variables
Click on the new button > defined a new M2_REPO variable and point it to your local Maven repository
Done.
2. Add M2_REPO Automatically – eclipse:configure-workspace
Alternatively, you can define and add M2_REPO via Maven command “eclipse:configure-workspace“.
mvn -Declipse.workspace="your Eclipse Workspace" eclipse:configure-workspace
See an example :
C:\>mvn -Declipse.workspace="C:\Users\mkyong\workspace" eclipse:configure-workspace
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO] task-segment: [eclipse:configure-workspace] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [eclipse:configure-workspace {execution: default-cli}]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Apr 14 20:45:17 SGT 2011
[INFO] Final Memory: 9M/112M
[INFO] ------------------------------------------------------------------------
Done.
Verify M2_REPO is Added
Review classpath variable to verify that the M2_REPOis added into Eclipse IDE.
分享到:
相关推荐
thank you tahnk you sorry very much
ali_repo文件夹下的另一部分ali_repo文件夹下的另一部分
You can also define the M2_REPO classpath variable inside Eclipse. From the menu bar, select Window > Preferences. Select the Java > Build Path > Classpath Variables page. Add a new one with a name ...
这是目前最新版本的xilinx ucos。在2017.4以后的sdk版本中需要它来支持
domagala_pawel_repo_desktopowe
Kaggle-EEG:使用机器学习从EEG数据中预测癫痫发作。 KaggleUni墨尔本癫痫发作预测比赛第三名-源码
DataServices_Repo架构描述DS整个架构的构成,可以让你整体把握DS工具
ucos BSP can be use as the BSP v 1.42
github_repo_windsimulation_windSim_源码.zip
test_second_repo-源码.rar
git_repo_utility 这个项目的想法是制作一个git实用程序,以自动执行将文件从存储库中推入,拉出,还原到存储库的过程。 此外,还可以显示存储库日志并显示本地文件和远程文件之间的差异。 因此,主要是简化git的...
TidyData_Repo-源码.rar
python库,解压后可用。 资源全名:wix_protos_devex_bazel_repo-0.0.1-py3-none-any.whl
资源来自pypi官网。 资源全名:wix_protos_devex_bazel_repo-0.0.1-py3-none-any.whl
to_repo_1
my_repo_files 拉推克隆提交提交添加分支状态工作树(creatig分支) =========================通过URL登录到Github 选择回购并复制回购URL 运行“运行Foolowing”命令以克隆 muthu @ muthu-vbox:〜/ my_repo_...
资源来自pypi官网。 资源全名:edx_repo_tools-0.2.7-py3-none-any.whl