Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.19 KB

Bountysource

ENSIME Maven Plugin

This maven plugin generates a .ensime file for use with an ENSIME server.

Installation

Configure your ~/.m2/settings.xml file so that maven is aware of the plugin group org.ensime.maven.plugins:

  <pluginGroups>
    <pluginGroup>org.ensime.maven.plugins</pluginGroup>
  </pluginGroups>

Generate .ensime file

(Optional) Download project sources

The ensime-maven plugin will tell ensime about the location of source jars, but won't automatically download them for you. You can get maven to do this by running:

mvn dependency:sources

Generate the .ensime file

To actually generate the .ensime file from your pom, run:

mvn ensime:generate

(Optional) Initial project compilation

To prevent some surprises when working with a new project in ensime, do a full compile before starting up ensime for the first time:

mvn compile test-compile