Install and configure Apache Maven in Ubuntu Linux
Operating System: Linux x64/Ubuntu 14.04
Apache Maven version: 3.3.9
We recommend that you set up a Java Development Environment in advance. For details, see the previous article "setting up a Java Development Environment in Ubuntu Linux".
1. Go to the
RESTful Web services using the Apache Wink, the Eclipse IDE, and the Maven Project management tool.
REST Methods for WEB Services
The REST method of designing a WEB service restricts interaction between clients and services to a set of Create, read, update, and delete (CRUD) operations. These actions are mapped directly to the HTTP method-specifically, to POST, get, put, and DELETE. Although the RESTful
-------------------------------------------------------------------Install SVNsudo apt-get install subversion--------------------------------------------------------------------V. Installation of MAVENhttp://maven.apache.org/download.cgiExtract:
sudo tar -zxvf Apache-maven-3.2.3-bin.tar.gz
After extracting, set the environment variable again, or open the/etc/profile
1. Download the compressed maven3.0.1 file at the following address:
Http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.1-bin.zip
2. decompress the downloaded package to obtain the decompressed file apache-maven-3.0.1.
3. Put the decompressed file in a d
internal repository can be downloaded using HTTP or a file system (using File://url) and uploaded to the use of scp,ftp or a copy of the file.Set up internal repositoriesSetting up the internal repository requires only that you have a location to place it and replicate the required artifacts in the same layout as the remote repository (for example: repo.maven.apache.org).It is not recommended that you use rsync://to replicate the full library of the
Maven + Spring Batch + Apache Commons VF learning, mavencommons
Apache Commons VFS materials:Example: http://www.zihou.me/html/2011/04/12/3377.htmlExample: http://p7engqingyang.iteye.com/blog/1702429
Apache Commons VFS: a file system tool that operates files not from different file systems and can process non-local f
Apache Commons VFS Data:Example: http://www.zihou.me/html/2011/04/12/3377.htmlDetailed Example: http://p7engqingyang.iteye.com/blog/1702429Apache Commons VFS: File system Tools, do not come from the file system with different files to operate, can handle non-local files (VFS, the original FTP sometimes does not normally shut down the situation, commons-vfs2 out later, the problem has been resolved) VFS prov
following figure
Create a new variable java_home and do not make a non-mainstream configuration of the environment. When this step is complete, edit the system variable path, as shown in the following figure:
to join in;%java_home%\bin;
After all save, open the Cmd interface, enter the command: Java-version, if the following is displayed the Java environment configuration is successful.
Now let's start configuring Maven.
) {//propertyconfigurator.configure ("f:/config/log4j.properties");Logger.debug ("-----"); }}Note: It is not a good choice to put the log4j.properties file in the Src/main/java folder in the actual project. So at the very beginning of the program, you can configure the location of the log4j.properties using the log4j's own configurator propertyconfigurator. The part that is commented out in the code above. The Configurator overrides the default path and throws an exception if the Configurator pa
"Org.slf4j.impl.StaticLoggerBinder".Slf4j:defaulting to No-operation (NOP) Logger implementationSlf4j:see Http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.This is due to no dependency on adding log4j. We need to add this dependency to Maven and do the following:Opens a. pom file and joins a new dependency in dependenciesSave.Then recompile and re-execute the Exec:javaYou can see that the program is running correctly.001002The ou
First step: Download and configure Maven: http://maven.apache.org/download.cgiDownload the second item (binary Zip) after decompression.Step Two: Add environment variablesmaven_home:d:\apache-maven-3.0.2 (Modify according to your own directory)Path:%maven_home%\binAfter the configuration is complete, use the command line to type mvn-version for testing, and the f
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.