Download jdk and maven installation from vmware to Linux, and jdk maven Installation
Preface: personal summary. If any, please point out
Operating Environment:
Operating System: Windows 7 Enterprise Edition
Processor: Intel Core i5-4200U CPU @ 1.6 GHz
Memory: 8 GB
System type: 64-bit Operating System
Files to be installed:
Ubuntu: http://mirrors.yun-idc.com/ubuntu-releases/14.10/ubuntu-14.10-desktop-amd64
When using Maven to create a project module, the directory created by default archetype template, and the default Unit test tool for JUnit 3.8.1, and some commonly used resource files directory, configuration file (for example: log4j configuration file, Web page development commonly used template file style files, etc. need to be created manually, copy, then how to customize a suitable for their own habits of the archetype?The
Requirements:
When Maven compiles a project, the amount of statistical code, that is, the number of files in the project, the number of lines of code, including Java files and configuration files Two, where the configuration file (SQL, XML, properties) code lines/4 processing.
To Create a project:
First make sure that the M2eclipse plugin is installed: http://eclipse.org/m2e/
Eclipse-new-maven Project, sel
;1.4 VerificationOpen the command line and enter: Echo%maven_home% to see if the configured Maven_home directory is correct, such as: Open the command line and enter: Mvn–version. If the output is as follows, the MAVEN installation is successful: 2. Catalogue IntroductionAs in the contents of the directory: -Bin :The directory contains scripts that are run by MVN, which are used to configure Java com
In the security and other reasons, some enterprise internal network is not allowed to access the external network, but the project is built within the MAVEN architecture, so that the enterprise in the internal network to build their own MAVEN warehouse services, Furthermore, some of the more distinct enterprise-developed components of large enterprises or in-house modular components will need to use the
1. Download maven3.3.1 http://maven.apache.org/2. Unzip and put into the specified directory D:\eclipsetools\apache-maven-3.3.13. Setting the MAVEN environment variableBefore configuring the MAVEN environment, be sure to configure the JDK environmentmaven_home=d:\eclipsetools\apache-
Maven command Download source code and JavadocsWhen using Maven in the IDE, if you want to see the source code and Javadoc of the classes in the referenced jar package need to download the source code through the MAVEN command and then introduce it, it is easy to achieve this with the MVN command:
mvn dependency:sources
mvn Dependency:resolve-dclass
1. Preface
Maven, pronunciation is [' meivin], ' expert ' means. It was a good project management tool, and it was early in my list of essential tools, but this time I did some deep learning about maven in order to completely migrate the Project1 project and apply maven. The purpose of writing this study note is to write for yourself, and two to be able to learn
Maven What are the coordinates and dependencies? How is the logical representation and physical representation of a component? 1.coordinates and dependencies are the logical representations of any component in the Maven world 2.file is the physical representation of Maven components 3,
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
Actually in the work, I used maven for a long time, but the recent development environment without MAVEN, so again. For later convenience, write down the general steps in this.1. Download the MAVEN installation packageDownload Apache-maven-3.2.3-bin.zip and unzip to the specified installation directory2. Configuring th
Maven technology sharing (I) Construction of a standard maven Project1, The directory structure is as follows:
Aggregator: Aggregates various maven projects;
SDS_BASEDATA: A web sub-project that will be merged into the SDS_PLATFORM web project.
SDS_PLATFORM: collects various web sub-projects and is to be released to tomcat for running.
How to deploy a Maven Project (below) and deploy a maven Project
How to deploy a Maven Project (below) and install Maven on Eclipse (Luna)
Preface:
Currently, Java developers love three Editors:1. Eclipse (various plug-ins need to be assembled by themselves)
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
Errors frequently encountered in maven and maven
1. eclipse cocould not resolve archetype. This occurs when you select archetype when creating a project in eclipse:
An error occurred when creating a maven project:
Cocould not resolve archetype org. apache. maven. archetypes: maven
First spit, I stepped on a lot of pits, tears, ah, because not familiar with Maven, there are eclipse bugs, online article information asymmetry ... Well, back to the point, we need to be like this: A project is made up of multiple projects. Because the project is complex and large, it is better to divide it into multiple subprojects (or engineering). So the question is, how do the dependencies of the parent and child engineering work? What to do wit
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.