MAVEN Specifies the warehouse location, specifying the remote warehouse1. Specify the warehouse location (warehouse refers to the unified management location of the jar package required by the Java project)Maven Location: D:\apache-maven-3.0.2Default Warehouse Location C:\Users\Administrator\.m2\repositoryPre-specified location: C:\Program files\java\maven\repositoryOpen the "conf" file in the Maven location and open "Settings.xml" in the text editor to findXmlns:xsi= "Http://www.w3.org/2001/XML
path of the current project, and the default file location of autoconfig is in the user. home Directory.
The configuration needs to be modified in multiple environments, so you need to configure the profiles of multiple environments in pom. xml.
In the actual compilation process, you only need mavn package-P dev or mavn package-P pro to package the packages for production or development.
After pom. xml
the User.home directory.In this case, you need to modify the configuration in a multi-environment, so you need to configure the profile of multiple environments in Pom.xml Only Mavn package-p Dev or Mavn package-p Pro can be used to package production or development packages during the actual compilation process.After the p
detailed steps will not say, to the attribute name and attribute values to match the OK.Open cmd, knock inside: mvn-versionIf you can print the information above, it means that the MAVEN3 has been installed on your PC.MVN is a mavn instruction, mvn-version is to view the version information, my operating system is 32-bit WIN7, the installation of MAVEN is 3.0.4If you can print the information above, it means that the MAVEN3 has been installed on your
=false, Name=jack, Brithday=sat Jan 10 12:3 5:03 CST, height=168.5, weight=55.2, phone=188888888, address=[beijing, TaiWan, guangzhou]]i am client.Client output:Response Status:200response:person [id=301, Gender=true, Name=tom, Brithday=sat Jan 12:35:03 CST, height=178.5, we ight=55.2, phone=188218888, Address=[shanghai, ShenZhen, chengdu]]i am server.The analysis output shows that the Hessian serialized object is transmitted over HTTP and successfully deserialized.For Hessian serial number Prot
Background: 1. What is Dubbo and how to use the Dubbo sharding service?
2: You need to know how to register the required services to Dubbo
3: You may also need to know how to use zookeeper
Topic of this chapter: describes how to call Dubbo services based on a specific example.
First, ensure that you have introduced the following JAR packages:
If your project is not an mavn project and you are calling the Dubbo service in storm. The ab
The previous article describes how to install saiku,http://www.cnblogs.com/liqiu/p/5183894.html directly. There is no source code compilation, but these days it is so used.Recently with the depth of use, not only modify the page so simple, so need source code compilation! The following describes the compilation process:One, download: first github download: Https://github.com/OSBI/saikuSecond, select version: I am using: 3.3.2, so use version:git checkout saiku-3.3.2Third, modify the Pom.xml file
mavn command. mvn-version is used to view the version information. my operating system is a 32-bit WIN7, and the installed maven is 3.0.4.
If the above information is printed, Maven3 has been installed on your computer.
Modify the maven repository storage location:
Find the settings. xml configuration file under conf in maven. My files are in D: \ Server \ maven \ conf \ settings. xml.
By default, the maven repository is stored in the repository und
final path of maven is: D: \ Server \ maven
Configure maven environment variables:
System variable: MAVEN_HOME = D: \ Server \ maven
User variable: path = % MAVEN_HOME % \ bin
I believe that everyone has been equipped with environment variables. The detailed steps are not mentioned, and the attribute name and attribute value are matched with OK.
Open cmd and press mvn-version.
If the above information is printed, Maven3 has been installed on your computer.Mvn is an
AnsjTokenizerFactory extends TokenizerFactory{ boolean pstemming; boolean isQuery; private String stopwordsDir; public Set
The pstemming parameter is required by ansj.
IsQuery is used to determine whether it is a query or an index. Generally, the word segmentation in the search index phase is relatively fine, and the word segmentation in the query is relatively rough.
2. Compile the jar package.
The code structure is as follows:
Compile the mav
/test/ Resources.The default created Pom.xml is not any dependent, if we want to add a dependency then double-click Open pom.xml file, any clicking on the "Dependencies" tab, click the Add button to add the dependency,Any Click OK adds a dependency of junit.This is what we know about GroupID and Artifactid, if we don't know?We can go to the central warehouse to find out.Where's the central warehouse?There is a pom-4.0.0.xml in the%m2_home%/lib/maven-model-builder-3.0.5.jar,Open the Pom-4.0.0.xml
Environment Preparation:JDK 1.6Maven 3.2.5myeclipse 2013Before installing Maven, you need to make sure that your JDK is installed and configured. MAVEN is a project under Apache, and the latest version is 3.2.5, and that's what I'm using.First go to download Maven (Note: Maven3.3 above version requires support of more than 1.7 version, otherwise it will be wrong.) So I downloaded 3.2.5 on the csdn. If you need to, you can leave the email to me.After the download is done, unzip it, I rename the e
Eclipse MAVEN Installation and configurationMAVEN3 Installation:Before installing Maven, you need to make sure that your JDK is installed and configured. MAVEN is a project under Apache, and the latest version is 3.0.4, and that's what I'm using.First go to the official website to download maven:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gzAfter the download is done, unzip it, I rename the extracted folder to maven and place it in the D:\Server directory, wher
extracted folder to maven and place it in the D:\Server directory, where Maven's final path is: D:\Server\mavenTo configure the MAVEN environment variable:System variable: maven_home = D:\Server\mavenUser variable: path =%maven_home%\binI believe that we all have to match the environment variables, the detailed steps will not say, to the attribute name and attribute values to match the OK.Open cmd, knock inside: mvn-versionIf you can print the information above, it means that the MAVEN3 has bee
Environment Preparation:Eclipse (Helios) 3.6Maven 3.0.4MAVEN3 Installation:before installing Maven, you need to make sure that your JDK is installed and configured. MAVEN is a project under Apache, and the latest version is 3.0.4, and that's what I'm using. First go to the official website to download maven:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gzAfter the download is done, unzip it, I rename the extracted folder to maven and place it in the D:\Server dir
Environment Preparation:JDK 1.6.45Maven 3.0.5myeclipse 8.5Before installing Maven, you need to make sure that your JDK is installed and configured. MAVEN is a project under Apache, currently the latest version is 3.3.1.First go to the official website to download maven:http://maven.apache.org/download.cgiAfter the download is done, unzip it, I rename the extracted folder to maven and place it in the D:\maven\ directory, where Maven's final path is: D:\maven\apache-maven-3.0.5To configure the MAV
MAVEN3 Installation:Before installing Maven, you need to make sure that your JDK is installed and configured. MAVEN is a project under Apache, and the latest version is 3.0.4, and that's what I'm using.First go to the official website to download maven:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gzAfter the download is done, unzip it, I rename the extracted folder to maven and place it in the D:\Server directory, where Maven's final path is: D:\Server\mavenTo c
This article transferred from: http://www.cnblogs.com/fancyzero/archive/2012/06/09/maven3.htmlEnvironment Preparation:JDK 1.6Maven 3.0.4myeclipse 8.6.1Before installing Maven, you need to make sure that your JDK is installed and configured. MAVEN is a project under Apache, and the latest version is 3.0.4, and that's what I'm using.First go to the official website to download maven:http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gzAfter the download is done, unzip i
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.