Learn Maven2

xiaoxiao2021-03-14  180

EXO needs to compile with maven2. I used Maven 1 before, I was afraid that there were compatibility with compatibility after the new version, and later found that there is no relationship. The installation process of Maven2 is simple. You can only need the next compression package. After unlocking, you can add the bin subdirectory of the directory to the system's PATH environment variable. And the Maven2 command is called MVN, and the command of Maven1 is called Maven, so use MAVN XX with MAVEN XX when compiling the previous program.

I saw some information in this area, I feel that Maven2 has great improvements than maven1, there are many default items, JAR's dependence declares that there is a lot of simplicity, and introduced the concept of life cycle, which is very convenient. The information on the Maven2 site is too complete, and it means a little manual. It is not suitable for people who come to the initial contact. It is recommended to see the tutorial on JavaWorld:

An Introduction to Maven 2 http://www.javaworld.com/javaworld/jw-12-2005/jw-1205-maven.html

转载请注明原文地址:https://www.9cbs.com/read-129270.html

New Post(0)