Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Jetty/Howto/Develop with Eclipse



Introduction

Warning2.png
Some or all of this content remains to be ported to Jetty 9 Documentation.
If you are interested in migrating this content see our contribution guide or contact us.


Jetty is a Maven project. To develop Jetty in Eclipse, follow these directions:

Install the m2e plugin

  1. From the Eclipse menu at the top of the screen, select Help > Eclipse Marketplace.
  2. Search for m2e.
  3. Install Maven Integration for Eclipse.

Download the Jetty Source Code

Download the source code for Jetty to your disk, or just unpack the source zip file.

Import the Maven projects

  1. From the Eclipse menu, select File > Import.
  2. From the Maven folder, select Existing Maven Projects.
  3. Click Next.
  4. In the Import Maven projects pane, click Browse and select the top folder of the jetty source tree.
  5. Click Next/Finish to import all of jetty into Eclipse.
  6. Wait for Eclipse and m2e to compilie and set up the project.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.