The Spring framework network sees the high efficiency of creating dependent packages with Maven. Just try it.
The version that is used is eclipse, system windows. It's just a rookie, after all.
First check a lot of information, it is recommended to install MAVEN. See Eclipse Integration. Then do not reinstall the MAVEN environment. Direct use.
Maven project, File-------------then you see the Create a simple project tick box.
This is the branch mission. You can go in and choose the Maven template, which has many project-managed templates such as SPRING STRUTS scale.
Check into the main line task first. Each engagement is meant to be from other blogs
groupId: The project name, since some items are not made of a jar package, but consist of a lot of jar packages. So this groupid is the name of the whole project.
Artifactid: The name of the package.
Version: revision number.
Packaging: The type of package, usually a jar, or a war. If not, the default is the jar.
In this step, the basic configuration has been completed.
Add a project that requires version management to the Pom.xml.
Then you go into the branch task.
I'm going to use MAVEN to manage a WebApp project. The comparison can be found missing WebApp folder!.
Project facets->convert to faceted form ... Tick the Dynamic Web module to see the presence of futher configuration available click the Context root to fill in GroupID
Contentdirectory fill in the file name.
Then the properties->deployment assembly->add, JAVA BUILD PATH ENTRIES, outputs the LIB to the Web-inf/lib directory. Output the previously created folder of project facets to the root directory.
Then there's the exciting MAVEN RUN.
Right-click on the project run Maven INSTALL to finish to the target folder to view it!
Eclipse creates the first Maven project