Today, I learned Maven, brother sunyi, first google a few articles, talking about the background, the function is mostly, and I see a small demo, I am not cool, I am going to be vigilant, is it my learning ability , Don't impetuous.
Under the plugin of Eclipse - Maven Workshop, um, build some sensual understanding.
Maven's Repository mechanism is very good. It uses a centralized management library. All JAR to reference is uniformly put in a repository, locally or remote, and can implement automatic download, which solves the inter-project sharing third-party dependent package. Question, I can save those third-party JAR when I publish, this is worth reference. The primary repository is located in the Ibiblio site, but you can also create a remote repositories yourself.
Add the following in Bulid.properties, let Maven know which sites get JAR resources.
Maven.repo.remote = http://www.ganet.org/maven/, http://dist.codehaus.org/, http: //public.planetmirror.com/pub/maven/, http: // mirrors .sunsite.dk / maven /
Next, I will see Maven.xml and Project.xml (here there is an important concept POM = Project Object Model), understand its goal, hard work successfully built a simple build and deployment task, YEAH!