Some recent projects need to be managed by MAVEN, one of which is to add the previous Eclipse Java Project Project and Web project to MAVEN management, and another scenario is to pull the MAVEN project on SVN locally, Some of the tricky issues encountered in using eclipse, the problem process, and the solution are as follows:1. When you start eclipse after instal
I. Pre-conditionsThe system environment is:[Email protected] application]# cat/etc/redhat-releaseCentOS Release 6.7 (Final)[Email protected] application]# uname-r2.6.32-573.el6.x86_64The installation package that needs to be prepared is:Subversion-1.6.1.tar.gzSubversion-deps-1.6.1.tar.gzApache-maven-3.3.3-bin.tar.gzSecond, SVN part[Email protected] application]# pwd/application#上传subversion -1.6.1.tar.gz and subversion-deps-1.6.1.tar.gz to this direct
Requirements:
When Maven compiles the project, the amount of code, that is, the number of files in the project, the number of lines of code, including the Java files and configuration files Two, where the configuration file (SQL, XML, properties) lines/4 processing.
To Create a project:
First make sure that the M2eclipse plugin is installed: http://eclipse.org/m2e/
Eclipse-new-maven Project, select archety
maven builds Javaweb projectCreate a new MAVEN projectDefaultDefaultTo a Web project, right-click Project PropertiesAfter the turn over the folder WebContent, the webcontent under the Web-inf, Meta-inf folder copy to the Src/main/webapp directory (no directory new folder), and delete the WebContent directoryRight-click Project PropertiesRemove/webcontent, add new paths and dependenciesAdd dependencyYou can
First, the basic concept of Maven Maven (translated as "expert", "insider") is a cross-platform project management tool. It mainly serves the project building based on the Java platform, and relies on management and project information management .1.1. Project ConstructionThe project build process consists of "cleanup project" → "Compile project" → "Test Project" → "Generate test Report" → "Package Project
refuse to practice continuous integration for various reasons and cannot appreciate the benefits.From these 10 practices we can find a lot of popular open source tools shadow. such as version number Control tool CVS, SVN, git, self-motivated build tools maven, Ant. Self-motivated testing framework JUnit, TestNG, and continuous integration of Servercruisecontrol and Hudson, and so on.In fact, whether or not you practice continuous integration, using a
First, the basic concept of Maven Maven (translated as "expert", "insider") is a cross-platform project management tool. It mainly serves the project building based on the Java platform, and relies on management and project information management .1.1. Project ConstructionThe project build process consists of "cleanup project" → "Compile project" → "Test Project" → "Generate test Report" → "Package Project
I found that the plug-in from the eclipse market is still quite useful and installedAfter the m2eclipse-wtp, added support for eclipse web projects, good to use.
The installation sequence should be noted:
InstallM2e, and then installM2eclipse-wtp.
First install the second m2e, and then install the m2eclipse-wtp
Otherwise, errors such as the following are continuously reported:
No plugin found for prefix 'war 'in the current project and in the plugin groups [] available from the
First, the basic concept of Maven Maven (translated as "expert", "insider") is a cross-platform project management tool. It mainly serves the project building based on the Java platform, and relies on management and project information management .1.1. Project ConstructionThe project build process consists of "cleanup project" → "Compile project" → "Test Project" → "Generate test Report" → "Package Project
As a project building tool, Maven is popular in the development process to help manage Bao dependencies in your project, and many of its features greatly reduce the difficulty of development, as described in Maven installation and integration with Eclipse.MAVEN's official website address is: http://maven.apache.org/, after opening the Web page, See the latest version is 3.3.9, from the 3.3.9 version of the
Development environment:Eclipse Jee Mars (current version eclipse4.5 as of December 1, 2015): http://www.eclipse.org/downloads/Because this version already integrates the M2E plug-in, the Mars version of Eclipse is also relatively stable, can save some unnecessary trouble.I. Building a MAVEN Project
Before we build a Maven project with Eclipse, we need to do some necessary configuration for eclipse
1. What is maven:
Maven first is a powerful Java build tool, and of course there are other tools. But Maven is a better quality. And Maven itself is also developed in Java. Understanding how MAVEN works, and the idea of Maven's software, is also good for Java learning.Of co
Start learning Today Maven,maven is a project management and construction tool, very convenient to use, with Maven we can easily compile the project, package run, etc., MAVEN can easily help us manage the project report, build the site, manage jar files, and so on.Maven DownloadFirst you need to download
Maven and Maven plugin installationBenefits of using maven :
I feel the most important is automatic download Jar Packages and the packages it relies on to ensure that multiple people develop Jar different versions of the issue.
Then the file structure is clear, Java files, resource files, and test files are all clearly divided.
One,
after reading "maven combat" this book and some other information about MAVEN construction, it is necessary to summarize several blogs, share to everyone, as soon as possible through a few blogs to learn about the build and other tools for building.What is maven?By the way, you will find that Maven has the meaning of "
1. Define archetype build a custom Maven project
Reference Document : Create a custom archetype using Maven3.
resolution ProcessI based on the above process, in the "mvn archetype:create-from-project" times wrong, the error content is as follows:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:create-from-project (DEFAULT-CLI) onProject Shiro_learn2:error Configuring command-line. Rea
Deep understanding of building and introducing Maven environments, and deep understanding of building maven
Maven is a Java tool for project management. In JavaEE, we can use Maven to conveniently manage projects in team collaboration. Now we are learning the JavaEE framework and can use
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
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.