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

Difference between revisions of "Jetty/Contributor/Releasing"

Line 22: Line 22:
 
> <tt>mvn -N site:deploy</tt>
 
> <tt>mvn -N site:deploy</tt>
  
This will generate the aggregate docs and deploy them to the ''/home/www/jetty/<project version>/jetty-project'' directory on ''download.eclipse.org''.  The last step is to ssh to that machine and adjust the placement of the apidocs and xref directories to remove the jetty-project folder from the url so that maintain a clean and consistent api url scheme.
+
This will generate the aggregate docs and deploy them to the ''/home/www/jetty/<project version>/jetty-project'' directory on ''download.eclipse.org''.  The last step is to ssh to that machine and adjust the placement of the apidocs and xref directories to remove the jetty-project folder from the url so that we maintain a clean and consistent api url scheme.
  
 
End result should be api documents accessible from ''<nowiki>http://download.eclipse.org/jetty/<project version>/api-docs</nowiki>'' and ''<nowiki>http://download.eclipse.org/jetty/<project version>/xref</nowiki>''
 
End result should be api documents accessible from ''<nowiki>http://download.eclipse.org/jetty/<project version>/api-docs</nowiki>'' and ''<nowiki>http://download.eclipse.org/jetty/<project version>/xref</nowiki>''

Revision as of 15:34, 10 April 2009

The Jetty project uses Apache Maven to build and release its software artifacts. This terminology is oft confused with the release process of projects within eclipse so we are endeavoring to bridge these differences. We are still working out the process for releasing jetty in the eclipse definition of the work and will be documented once we are there.

Maven Related Instructions

Releasing Artifacts

> mvn -Dusername=<committer id> -DautoVersionSubmodules=true release:prepare

> mvn release:perform

The released artifacts will be staged to oss.sonatype.org where they await promotion when they will be released to the maven central repository. More on this later.


Building and Deploying Aggregate Docs

Define the jetty.eclipse.website server entry in your .m2/settings.xml file. You'll need to have access to the dev.eclipse.org machine to perform these actions. If you don't know if you have access to this then you probably don't and will need to ask a project leader for help.

To build and deploy the aggregate javadoc and jxr bits:

> mvn -Paggregate-site javadoc:aggregate jxr:jxr

> mvn -N site:deploy

This will generate the aggregate docs and deploy them to the /home/www/jetty/<project version>/jetty-project directory on download.eclipse.org. The last step is to ssh to that machine and adjust the placement of the apidocs and xref directories to remove the jetty-project folder from the url so that we maintain a clean and consistent api url scheme.

End result should be api documents accessible from http://download.eclipse.org/jetty/<project version>/api-docs and http://download.eclipse.org/jetty/<project version>/xref

Back to the top