maven基本知识:
groupid
artifactid
version
eclipse的maven插件为:m2eclipse
安装地址: http://download.eclipse.org/technology/m2e/releases
安装好后设置maven地址
maven常用插件:
maven-compiler-plugin 编译
maven-shade-plugin 打包
web工程调试:
<plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.9</version> <configuration> <scanIntervalSeconds>10</scanIntervalSeconds> <webAppConfig> <contextPath>/test</contextPath> </webAppConfig> </configuration> </plugin>