Maven change to java progect

来源:互联网 发布:怎么看淘宝店铺的类目 编辑:程序博客网 时间:2024/06/14 09:36

在mvn的项目中 pom.xml 文件所在目录, 运行 eclipse:clean eclipse:eclipse ,会自动将mvn工程转成eclipse工程

[INFO] Scanning for projects...
2012-05-04 09:54:04.000:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog
.......

11 KB downloaded at 22.7 KB/sec
Downloading: .....

11 KB downloaded at 25.3 KB/sec
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Zeus Core 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-eclipse-plugin:2.9:clean (default-cli) @ ZeusCore ---
Downloading: ....

15 KB downloaded at 24.8 KB/sec
Downloading: ...

13 KB downloaded at 5.3 KB/sec
Downloading: .......

26 KB downloaded at 21.4 KB/sec
Downloading:.............

15 KB downloaded at 4.0 KB/sec
Downloading: .............................

2 KB downloaded at 4.2 KB/sec
Downloading: .........................

16 KB downloaded at 4.2 KB/sec
Downloading:........................

4 KB downloaded at 9.8 KB/sec
Downloading:................................

9 KB downloaded at 18.7 KB/sec
Downloading: .....................

2 KB downloaded at 3.1 KB/sec
Downloading: .......................

6 KB downloaded at 13.0 KB/sec
Downloading: .....................

17 KB downloaded at 27.8 KB/sec
Downloading:....................

2 KB downloaded at 4.4 KB/sec
Downloading: ..........................

886 B downloaded at 2.1 KB/sec
Downloading:.........................

2 KB downloaded at 2.6 KB/sec
Downloading: ......................

Downloading: .........................

Downloading: .........................

Downloading: .......................

Downloading:...........................

10 KB downloaded at 9.2 KB/sec
10 KB downloaded at 7.5 KB/sec
Downloading: ..........................

13 KB downloaded at 7.0 KB/sec
46 KB downloaded at 6.0 KB/sec
23 KB downloaded at 1.1 KB/sec
663 KB downloaded at 9.6 KB/sec
[INFO] Deleting file: .project
[INFO] Deleting file: .classpath
[INFO] Deleting file: .wtpmodules
[INFO]
[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ ZeusCore ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to ..................

\Zeus_backup\Zeus_backup\Zeus_xingxing\code\ZeusCore\.settings\org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for...............................

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:40.671s
[INFO] Finished at: Fri May 04 09:55:44 CST 2012
[INFO] Final Memory: 6M/12M
[INFO] ------------------------------------------------------------------------

 

if your code like this. you are success