Building GeoServer source project under Eclipse

Source: Internet
Author: User

1, http://geoserver.org/download/download source code

Example: Http://sourceforge.net/projects/geoserver/files/GeoServer/2.5.2/geoserver-2.5.2-src.zip

2. Download maven (http://maven.apache.org/download.cgi) Select Apache-maven-3.21-bin.zip,maven is the command line program, unzip the downloaded compressed package, temporarily specify the path variable when using.

3. Open cmd and jump to the src file in the directory where the GeoServer source code is located.

Execute command: Set path = "Maven_dir/bin";%PATH% temporarily adds Maven's path to the environment variable.

Execute command:

MVN clean Install

Mvn-dskiptests clean Install
Note: The first command executes the test case test class file while the project is being built, and errors may occur during the execution of the command; The second command, when building the project, does not test, and there are no exceptions to test for failure.

Building projects with Maven

4.

Create Eclipse project files from maven

Execute command: MVN eclipse:eclipse

5, open eclipse,import-"Existing Projects into Workspace, import can

Building GeoServer source project under Eclipse

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.