maven

来源:互联网 发布:手机压力测试软件 编辑:程序博客网 时间:2024/06/17 11:51

1. In myeclipse,  your coding is diff from deploying, coding needs many jars such as struts, spring, hibernate. And total is very big. But deploying only deploy the classes used in jar (not the whole jar) into war files. And war file is very small. the same as maven or ant, depend package is big, but war is small.

2. maven is dealing with many dependent proj, (A, B). Modify proj B, ">b: mvn install" and update B.jar, then A can use the B.jar's new methods.

That's finished by maven but not manual.

3. learn maven: see apache website , very good.

4. mvn command (you can use mvn in eclipse or dos)

"mvn install -o" means: don't update( please make sure repo has all jar, or failure)