简体   繁体   English

从闪存驱动器运行带有m2eclipse(Maven)的Eclipse

[英]Running Eclipse with m2eclipse (maven) from flash drive

Hello I am trying to run my Eclipse + Maven from a flash drive. 您好,我正在尝试从闪存驱动器运行Eclipse + Maven。 Basically, I am able to load my eclipse and JDK from the flash drive. 基本上,我可以从闪存驱动器中加载Eclipse和JDK。 My eclipse is using m2eclipse plugin (Embedded versions 3.0.2) 我的日食使用m2eclipse插件(嵌入式版本3.0.2)

Eclipse and Java projects works fine except for Maven, which I have set the repository path relative to the eclipse path ie: Eclipse和Java项目工作正常,但Maven除外,我已将存储库路径设置为相对于Eclipse路径,即:

./m2repo ./m2repo

And also pointed settings.xml to a relative location ./settings.xml: 并且还将settings.xml指向相对位置./settings.xml:

Window -> Preferences -> Maven -> Installations 窗口->首选项-> Maven->安装

I have working maven projects which I opened in my "portable" Eclipse that was executed from flash drive, which did get some errors: 我有一些正在工作的Maven项目,这些项目是在从闪存驱动器执行的“便携式” Eclipse中打开的,但确实出现了一些错误:

Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:2.4.3 目标org.apache.maven.plugins的执行默认资源:maven-resources-plugin:2.4.3

What could be the reason why I'm getting this error? 出现此错误的原因可能是什么?

使用绝对路径对我有用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM