Differences between revisions 10 and 11
Revision 10 as of 2008-07-22 19:21:32
Size: 1797
Editor: KeiichiroOno
Comment:
Revision 11 as of 2009-02-12 01:03:02
Size: 1826
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Before trying this tutorial, please learn maven basics [:MavenInfo:here]. Before trying this tutorial, please learn maven basics [[MavenInfo|here]].
Line 9: Line 9:
You can checkout source code from source code management system (SCM) as maven projects. In Cytoscape, source code management system is Subversion and Eclipse has client plugin called [http://subclipse.tigris.org/ Subclipse]. You can directly checkout maven projects from the '''''SVN Repository''''' view. You can checkout source code from source code management system (SCM) as maven projects. In Cytoscape, source code management system is Subversion and Eclipse has client plugin called [[http://subclipse.tigris.org/|Subclipse]]. You can directly checkout maven projects from the '''''SVN Repository''''' view.
Line 11: Line 11:
 attachment:m2eclipse1.png  {{attachment:m2eclipse1.png}}
Line 13: Line 13:
 attachment:m2eclipse2.png  {{attachment:m2eclipse2.png}}
Line 16: Line 16:
 attachment:m2eclipse3.png  {{attachment:m2eclipse3.png}}
Line 21: Line 21:
 attachment:m2eclipse4.png  {{attachment:m2eclipse4.png}}
Line 27: Line 27:
 attachment:m2eclipse5.png  {{attachment:m2eclipse5.png}}
Line 29: Line 29:
 attachment:m2eclipse6.png  {{attachment:m2eclipse6.png}}
Line 34: Line 34:
 * [http://docs.codehaus.org/display/M2ECLIPSE/Home Maven Integration for Eclipse Documentation]
 * [http://maven.apache.org/articles.html Books on Maven]
 * [[http://docs.codehaus.org/display/M2ECLIPSE/Home|Maven Integration for Eclipse Documentation]]
 * [[http://maven.apache.org/articles.html|Books on Maven]]
Line 38: Line 38:
This document is written by KeiichiroOno [[DateTime()]] This document is written by KeiichiroOno <<DateTime>>

Maven integration for Eclipse

Introduction

The new version of Maven Plugin (or m2eclipse plugin) has a lot of new features to use Maven from Eclipse. In this document, you will learn how to use those new features.

Before trying this tutorial, please learn maven basics here.

Features

SCM Manager

You can checkout source code from source code management system (SCM) as maven projects. In Cytoscape, source code management system is Subversion and Eclipse has client plugin called Subclipse. You can directly checkout maven projects from the SVN Repository view.

  • m2eclipse1.png

    m2eclipse2.png

Pom Editor

  • m2eclipse3.png

Instead of editing XML file directly, you can edit the pom file visually with the new POM editor. You can edit most of the entries by typing parametrs in the text fields. Once you edit them, just CTR-s to actually modify and save the pom.xml.

Dependency Management

  • m2eclipse4.png

You can view and edit project dependencies from Dependencies view. If you want to add new dependency to the project, select Add and m2eclipse plugin helps you to choose library file from the remote repository.

Dependency Visualizer

  • m2eclipse5.png

    m2eclipse6.png

You can visually see the dependency tree and graph by the visualizer.

References


This document is written by KeiichiroOno 2025-07-09 12:03:50

If you have any questions, please e-mail me (kono at ucsd dot edu)

Outdated_Cytoscape_3.0/Eclipse/M2EclipsePlugin (last edited 2011-02-24 15:41:00 by PietMolenaar)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux