您好,欢迎来到锐游网。
搜索
您的当前位置:首页maven相关

maven相关

来源:锐游网
1 打开eclipse

2 Help – Install New Software Add m2e

http://m2eclipse.sonatype.org/sites/m2e 此路径已改为以下路径

http://download.eclipse.org/technology/m2e/releases

Eclipse -> Help -> Install New Software Add a new software site: Name: slf4j

Url: http://www.fuin.org/p2-repository/

Expand \"Maven osgi-bundles\" and select \"slf4j-api\" Click \"Next\" and follow the installation.

Conf/setting.xml 修改:

sonatype.org sonatype Mirror

http://repository.sonatype.org/content/groups/public/

http://repository.sonatype.org/content/groups/public central

proxy

true

http

014686 dzxw!58 168.1.6.142 9999

168.*.*.*

of

eclipse中构建

mvn eclipse:clean

mvn eclipse:eclipse -DdownloadSource=true -Dwtpversion=1.0

myeclipse中配置

1.myeclipse创建maven项目

2.myeclipse从svn同步maven项目

Cmd执行到项目所在目录:mvn eclipse:eclipse -DdownloadSource=true -Dwtpversion=1.0

设置build path:

设置

3. Eclipse同步maven工程 Cmd执行:mvn -Dwtpversion=1.0

eclipse:eclipse -DdownloadSource=true

将maven工程转换为web工程 设置deployment assembly

因篇幅问题不能全部显示,请点此查看更多更全内容

Top