/中文/
/多国语言[中文]/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
/中文/
软件Tags: maveneclipse
maven3 eclipse是专门为eclipse安卓配置maven3的电脑插件,用户可以使用这款插件将不支持外部SNAPSHOT的maven使用其他的,安全放心,使用简单,需要的用户快来绿色资源网下载吧!
Maven本身提倡的一个原则是,不要使用任何外部的SNAPSHOT依赖,这里我却在使用SNAPSHOT的Maven,未免有些讽刺的意味,因此难免有些担心。不过,build完Nexus之后,我的担心就消除了,使用maven3 build Nexus没有出现任何问题。而且从build输出我就发现maven3的一大优点,build输出更加明了!
[INFO] Building Nexus (API) 1.4.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.2:clean (default-clean) @ nexus-api ---
[INFO] Deleting directory /home/juven/workspaces/ws-nexus/nexus/nexus-api/target
[INFO]
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ nexus-api ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/juven/workspaces/ws-nexus/nexus/nexus-api/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ nexus-api ---
[INFO] Compiling 191 source files to /home/juven/workspaces/ws-nexus/nexus/nexus-api/target/classes
[INFO]
[INFO] --- plexus-component-metadata:1.2.1:generate-metadata (process-classes) @ nexus-api ---
[INFO] Discovered 1 component descriptors(s)
[INFO]
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ nexus-api ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/juven/workspaces/ws-nexus/nexus/nexus-api/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ nexus-api ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- plexus-component-metadata:1.2.1:generate-test-metadata (process-test-classes) @ nexus-api ---
1、在eclipse目录下的dropins目录下新建一个maven.link文件,文件名不受限制
2、在maven.link文件中指向maven插件:path=../myplugin/maven3
3、从新启动eclipse,window->首选项,找到maven标签进行设置