Install Apache Maven

Overview

Maven is the build tool that Cytoscape 3 project uses to build the Cytoscape application. To develop Cytoscape apps, developers should install Maven on their computer if it is not already installed.

Maven can be downloaded from this page http://maven.apache.org/download.cgi Make sure you download Maven version 3.0 or higher.

Process

Windows

Follow the above download link to download the ZIP file, 'apache-maven-x.x.x-bin.zip'.

* unzip the zip file, put it somewhere you like * put the Maven 'bin' directory in your Path. Open Explorer, right click Computer, choose Properties --> Advanced System Settings --> Environment Variables. Edit the path variable, and add the path to maven bin directory there.

Open a command prompt and type the command "mvn -v" - you should get the version number of Maven.

Mac

Maven may already been installed with your system. To check if Maven has been installed, open a Terminal and type the command "mvn -v". If this shows that Apache Maven version 3.0 or higher is installed, you're good to go. If not, you can download it from the above download link. The file you should download is apache-maven-x.x.x-bin.tar.gz.

After you get the file, open a terminal and type the following command

After all the files are extracted, you will find the executable mvn in the bin directory. Add this directory to your PATH (in .profile and/or .bashrc in your home directory).

Homebrew

To keep your maven version up-to-date, you can use Homebrew instead of pre-installed version.

* Install

    brew install maven

* Update

    brew update
    brew upgrade maven

Linux

Cytoscape_3/AppDeveloper/Cytoscape_App_Ladder/Install_Apache_Maven (last edited 2015-02-18 17:12:54 by KeiichiroOno)

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