In addition to ant, Maven is the most common project management tool, which is invisible in daily project development. Below is a brief introduction to Maven installation and basic commands.
1.download the maveninstallation file a
First, the goalIn this post. I'm going to show you how to create your first Java EE application using Spring frameworks and Maven build . Second, informationMaven is a Building tool for a Java project (or self-building tools). It 's very much wanted with Ant or Gradle . Maven can proactively download components that
The first Spring mvc project created using Spring Tool Suite (STS) and Maven
I. Objectives
In this article, I will show you how to use Spring Frameworks and Maven build to create your first J2ee application.
II. Information
Maven is a java
, we need some time to download the related jar package. ^_^! Use Maven for the first time to learn to be calm.
The project is compiled, but the directory structure of the project is not the project structure of the eclipse we want to import into eclipse. So, you also need to execute a command:mvn eclipse:eclipse
Aft
Some people think that Maven is a dependency management tool, of course the idea is wrong (specifically, MAVEN is a project management tool that runs through the lifecycle of the
①eclipse under Maven plugin installation. after the local MAVEN installation, environment variable configuration is complete, open Eclipse, click the Eclipse menu bar help->eclipse Marketplace search keyword maven, find the plugin maven integration for Eclipse and click Install. You will need to restart eclipse after t
Maven is a Apache one of the most successful open source projects in the organization , The main service is based on Java Project Building of the platform , Dependency Management and project information management .in theItooDuring the p
Atitit Project Management (5)---------- Logistics Management and tool chain support management1.1. keyword11.2. 1 additional software 1.3. Management of public modules (2 )1.4. Third- Party Class libraries table 21.5. Project
package is only src. class files and some configuration files. So how to include pages and other files in it?Very simply, you just tell Maven where your JSP is located and configure it as follows:Build> Finalname>ProjectNameFinalname> Plugins> plugin> groupId>Org.apache.maven.pluginsgroupId> Artifactid>Maven-war-pluginArtifactid> version>2.4version>
MAVEN is a software project management tool that enables you to manage project builds, reports, and documents through a small section of information that is based on the Project object Model (POM).
The most commonly used compilation tool in Java projects is the Ant,ant parsing XML configuration file, that is, Build.xml, which executes target to achieve the compilation of user goals. Maven is also a very useful compilation tool, and Maven is similar to Ant also has a configuration file to configure compilation inf
package is only src. class files and some configuration files. So how to include pages and other files in it? Very simply, you just tell Maven where your JSP is located and configure it as follows:OK plus the above configuration, and then execute the install command, to be packaged, you will find that the WebContent files are all included in the war package. You can now copy the beaten war package to Tomcat and run it.You might think that you'll have
First, Introduction
A software project management tool that manages project construction, reporting, and documentation with a small section of descriptive information.
Second, why should use Mave
1, project construction automation.We find that in addition to writing the
GitHub address : Https://github.com/zwjlpeng/Maven_DetailThe biggest benefit of maven is its strong dependency management system, which specifies the coordinates of the Jar packages required for the project in the Pom configuration file,maven can automatically help us to download from the central warehouse or from the
After a normal Web project is introduced into the Maven subproject, the start web does not appear to be abnormal, the login Web page exception prompt:HTTP Status 500-java.lang.nosuchmethoderror:org.eclipse.jdt.internal.compiler.compilationresult.getproblems () [ Lorg/eclipse/jdt/core/compiler/iproblem;dealt with in a subprojectIt's still not working.Web project i
practices:In the parent, write the following, where the line identified by "*" can form a path through which the Pom file can be found in the MAVEN repository! In this example, Path is M2_path/com/sang/main/parent-moduel/1.0.2/xxxx-1.0.2.pom. So these three tags are required!!!** The parent Pom is written, and the child Pom inherits the dependency of the parent pom through the sang.mainIt is important to note that the After the introduction of the
The Maven management project has been used frequently recently, so summarize the used Maven Pom.xml configuration. The version of Maven I use locally is apache-maven-3.0.3. Engineering for the ordinary Java application into a jar
By a year without blogging, a year ago wrote a small team development management tool: Gitlab+redmine+testlink+jenkins, which was found to be problematic in this year's practice, including company-focused teams and individual distributed teams. For example: Because using Git as a code base management tool, the control
It turns out that I should have used Maven last year. I didn't catch a cold with Maven at that time (please don't bother). Why should I use Maven for management, I managed the jar by myself. At that time, I felt that it was also convenient to manage the jar by myself. I also listed the following disadvantages for
Root10. This will see that the Java directory has become blue, meaning that the Java directory is already set to the root path.11. Click "Triangle" in the upper right corner and select "Edit configurations ..."In the top left corner, click +Choose Tomcat Service-->localThen configure Tomcat: Modify the name and select the JRE versionThen click the deployment Directory bar, add artifact, and select War Exploded,ok.Run Tomcat:localhost:8080 Output Hello world!At this point, building a simple Java
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.