Maven实践——创建maven项目

1、环境介绍:maven-3.03 + myEclipse10

2、创建过程:

    2.1、在myeclipse9中,new-》other-》maven project,在界面中选择:

image

next-》输入groupId、artifactId、version,packaging选择war,然后点击“完成”。

image

   

在myeclipse10下,这样即可生成maven项目。

 

补充:我们需要在src/main/webapp/WEB-INF下面创建一个web.xml

 

参考:

http://kb.cnblogs.com/a/2315455/中介绍的方法是否可行。

你可能感兴趣的:(maven)