Difference between revisions of "Jetty/Contributor/Building"

From Eclipsepedia

Jump to: navigation, search
(Build)
Line 25: Line 25:
 
== Build  ==
 
== Build  ==
  
Jetty uses [http://maven.apache.org Apache Maven 2.x] for managing its build and primary project metadata.  
+
Jetty uses [http://maven.apache.org Apache Maven 3.x] for managing its build and primary project metadata.  
  
 
Building Jetty should simply be a matter of changing into the relevant directory and executing the following commands:  
 
Building Jetty should simply be a matter of changing into the relevant directory and executing the following commands:  
  
   svn co svn://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk /my_work_dir/jetty
+
   git clone <scm url>
   cd /my_work_dir/jetty
+
   cd <new directory>
 
   mvn install
 
   mvn install
  
All relevant dependencies will be downloaded into your local repository automatically.  
+
All relevant dependencies will be downloaded into your local repository automatically.
  
 
== Building with Eclipse  ==
 
== Building with Eclipse  ==
  
 
This section remains to be written, but is basically a matter of installing m2eclipse for an equivalent eclipse plugin and importing the maven project.
 
This section remains to be written, but is basically a matter of installing m2eclipse for an equivalent eclipse plugin and importing the maven project.

Revision as of 20:06, 11 July 2011


Contents

Source Control

Jetty uses a few of different development trunks for its artifacts.

Primary Interest SCMURLs

These are the URLs to the GIT repositories for the Jetty code. For people who are working on the Jetty project, as well as for people who are interested in examining or modifying the Jetty code for their own projects.

Build and Project Infrastructure SCMURLs

These are the URLs for Jetty-related code and metadata. These are not needed to use Jetty; these are primarily of use for people who are working with Jetty-the-project (as opposed to using Jetty-the-server in their own projects).


Build

Jetty uses Apache Maven 3.x for managing its build and primary project metadata.

Building Jetty should simply be a matter of changing into the relevant directory and executing the following commands:

 git clone <scm url>
 cd <new directory>
 mvn install

All relevant dependencies will be downloaded into your local repository automatically.

Building with Eclipse

This section remains to be written, but is basically a matter of installing m2eclipse for an equivalent eclipse plugin and importing the maven project.