maven相关
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 修改: http://repository.sonatype.org/content/groups/public/
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
因篇幅问题不能全部显示,请点此查看更多更全内容