Maven Learning Summary (ii)--maven project building process ExercisesThe previous article was just a brief introduction to MAVEN's knowledge of getting started, this article is about the process of building a project with MAVEN's highly automatedI. Create a MAVEN project 1.1, build a Hello Project1. First build the Hello Project, and set up the directory structur
using Maven
3.1 using MAVEN to build your own project
(1) switch to the directory where the project is located, such as: D:\\develop\\apps
(2) Execute the following command:
MVN archetype:generate So you can create a MAVEN project based on the prompts.
Can be followed by a lot of parameters, commonly used are:
-dgroupid=com.company.app Group ID
-dartifactid=app
Install maven on Mac and maven on Mac
1. Install maven
1. Check the jdk version on the local machine first.
$ java -versionjava version "9.0.4"Java(TM) SE Runtime Environment (build 9.0.4+11)Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)$
2. Download the corresponding maven version based on the jdk vers
Maven environment configuration and maven Environment
I have studied how to build a maven project. The following describes how to build a maven project.
1. Download maven
Click to enter http://maven.apache.org/download.cgi? .
2. Deploy
Local Warehouse
One of Maven's most prominent features is Jar package management, which, once the project needs to rely on which jar packages, can be configured in Maven's Pom.xml, the jar package will automatically introduce the project catalog. For the first time, it will be amazing, so let's explore how it works.
First of all, these jar bags are certainly not the children who have no father or mother, they have come, there are places. Places where these jar packages (and plugins, etc.) ar
What Maven is, and why you should use Maven
Reference books (recommended to buy a physical book): "Maven Combat" (domestic first MAVEN works) (Maven installation, configuration and use of the introduction)
1. Overview
MAVEN is a
In the Last post we described maven download, install and configure (ii), this post we configure Eclipse, combine it with MAVEN, and we create a MAVEN project.Preparatory workBefore eclipse configures Maven, we need to be prepared to do the following:1. Installing the JDK2. MAVEN
In the Last post we described maven download, install and configure (ii), this post we configure Eclipse, combine it with MAVEN, and we create a MAVEN project.Preparatory workBefore eclipse configures Maven, we need to be prepared to do the following:1. Installing the JDK2. MAVEN
ObjectiveBefore I wrote an article on Maven, I introduced some of the basic concepts of MAVEN, and the basic knowledge of Maven for a beginner, and it seemed to me that mastering these basics was enough.With the depth of work, more and more feel for Maven's understanding is not enough, many times the use of Maven out o
Preface:today I installed the MAVEN environment in my own environment, and installing the Eclipse plug-in, I did encounter some problems in the process of finding the plug-in, but found a problem.after the plug-in is installed, creating a MAVEN project with Eclipse has two questions, summarizing some of them and making it easier for other friends to solve the problem.one, the installation of the
Installation and configuration of Maven series (II), and configuration of maven SeriesCheck the JDK Environment
Before installing Maven, make sure that you have installed JDK correctly. Maven can run on JDK 1.4 or later.
Open cmd and enter java-version.
Download Maven
1. Import Maven Project
The MAVEN project was written in 4 and is now imported. Select the menu item File, and then select Import, we will see an Import dialog box, select Maven Projects under the Maven directory in the dialog box, and then click Next, and the Import Maven P
As a highly automated build tool, MAVEN itself provides the ability to build projects, and here's how to build a project using MAVEN.First, buildJava Project1.1. CreateJava Project1. Use the MVN archetype:generate command as follows:mvn archetype:generate -darchetypeartifactid=maven-archetype-quickstart -dinteractivemode=false2. Use the MVN archetype:create command as follows:mvn archetype:create -darchet
Maven Learning Summary (iii)-building projects with MavenAs a highly automated build tool, MAVEN itself provides the ability to build projects, and here's how to build a project using MAVEN.First, buildJave Project1.1. CreateJave Project1. Use the MVN archetype:generate command as follows:mvn archetype:generate -darchetypeartifactid=maven-archetype-quickstart -di
long-term development of a company to accumulate, will be summed up a set of their own SDK or tools for their products to use. If you use Android Studio development, you will inevitably encounter the previous problem once your SDK needs to be updated. Fortunately, Android Studio, in addition to the library module, relies on this approach, providing local repositories or (server) remote warehouse dependencies, and automatically retrieving and managing the library required for the project from th
]. PackagingFor example, the pom.xml generated jar package name above is:Maventest-0.0.1-snapshot.jar.The classifier here is optional, but some projects may also need to export some attached files, such as Javadoc,source and so on, then this place will need to configure a string. It's usually jdkxxx or something like that.3 Test DriveMAVEN is a test-driven development idea, so the project was initially created with two folders, main and test. A Java f
The Spring boot maven plugin (Spring boot maven plugin) provides spring boot support for applications in Maven, which provides the possibility for the spring boot application to perform MAVEN operations.Spring Boot Maven plugin can package the spring boot app as an executabl
Converting a common Java project into a MAVEN project is not a very big task, it only takes the following steps to make the conversion successful. Here I use a simple selenium test small demon as an example.
Move all associated libraries in a project
Convert a selenium project into a MAVEN project
Add Maven dependent libraries to the project
Maven tutorials, installing, configuring, creating MAVEN ProjectsObjectiveknow maven This thing for a long time, have not studied, today take time from maven download, installation, environment variable configuration, and create MAVEN project Unified talk about, easy to lear
Transferred from: http://www.cnblogs.com/xdp-gacl/p/4240930.htmlAs a highly automated build tool, MAVEN itself provides the ability to build projects, and here's how to build a project using MAVEN.First, buildJave Project1.1. CreateJave Project1. Use the MVN archetype:generate command as follows:mvn archetype:generate -darchetypeartifactid=maven-archetype-quickstart -dinteractivemode=false2. Use the MVN arc
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.