Setting up Eclipse - 2.1.0


Hi guys,

It’s nice to find this place.

I am a freelance financial risk management consultant (and aspiring entrepreneur) for insurance companies in Asia Pacific (based in Hong Kong) and I’d like to build a cloud-based analytics platform to help clients with ALM issues particularly around strategic asset allocation. I recently learned about OpenGamma and I really like what I see.

I currently have some very basic foundations around analytics and data visualisation set up and running on Amazon Web Services and I’m moving into some market risk modelling. I’m new to web app development, but am encouraged that I’m on the right track because my development environment is similar to yours:

  • Apache Tomcat 7
  • Eclipse Java EE IDE for Web Developers
  • Version: Luna Service Release 1 (4.4.1)
  • Apache Maven 3.1
  • Spring MVC
  • Model
    • Apache Commons Math
    • Coherent (my package)
    • (Hopefully) OpenGamma
  • View
    • JSP/Servlets
    • d3.js (for data visualisation)

My OpenGamma installation difficulties may be because I am already using a “bloated” version of Eclipse (not to mention I am new to pretty much all the technologies listed above). I hope you might be able to help.

I am attempting to follow the instructions found here:

I start at Step 2 because I already have Eclipse.

#2. Start Eclipse

  • Start Eclipse, ensuring that you have a brand new workspace
  • Note that the OpenGamma Platform source code must NOT be located inside your Eclipse workspace

I didn’t have a new workspace, so I created one by going to File -> Switch Workspace -> Other…

Now I’m using og-workspace.

#3. Install the Eclipse preferences

  • Go to “File -> Import”
  • Select the “General -> Preferences” option
  • In the popup, click the “Browse…” button
  • Choose the file OG-Platform/eclipse/install/OpenGamma-Eclipse-Preferences.epf
  • Click “Finish”

Done. No noticeable issues so far.

#4. Install the Eclipse plugins

  • Go to “Help -> Install new software…”
  • Click the ‘Add…’ button in the top right
  • Type ‘OpenGamma Eclipse plugins update site’ into the Name: field
  • Type http :// into the Location: field (Note: Added a space after “http” so it doesn’t render as a link here)
  • Click ‘OK’
  • You should now see a selection of plug-ins available. Click ‘Select All’.
  • Click “Next” and accept any warnings
  • Restart Eclipse if requested to do so

I get some warnings:

Your original request has been modified.
"m2e - Maven Integration for Eclipse" will be ignored because a newer version is already installed. 
"m2e - slf4j over logback logging (Optional)" will be ignored because a newer version is already installed. 
Cannot complete the install because of a conflicting dependency.
Software being installed: Checkstyle configuration plugin for M2Eclipse (
Software currently installed: Eclipse IDE for Java EE Developers (epp.package.jee
Only one of the following can be installed at once: 
Maven Integration for Eclipse (org.eclipse.m2e.core
Maven Integration for Eclipse (org.eclipse.m2e.core
Maven Integration for Eclipse (org.eclipse.m2e.core
Cannot satisfy dependency:
From: M2Eclipse Project Configurator for Eclipse Checkstyle (com.basistech.m2e.code.quality.checkstyle
To: bundle org.eclipse.m2e.core [1.0.0,1.5.0)
Cannot satisfy dependency:
From: Checkstyle configuration plugin for M2Eclipse (
To: com.basistech.m2e.code.quality.checkstyle []
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers (epp.package.jee
To: []
Cannot satisfy dependency:
From: EPP Java EE IDE Feature (
To: 0.0.0
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) (
To: org.eclipse.m2e.core []
Cannot satisfy dependency:
From: m2e-wtp - JPA configurator for WTP (Optional) 1.1.0.e43-20140611-1648 ( 1.1.0.e43-20140611-1648)
To: 1.5.0

Now that I examine this (the first time, I merrily brushed passed this), I suspect the issues are indeed because I already have a bloated version of Eclipse installed. However, this is the version AWS recommends for building my web app and I’d like to stick with it if possible.

Can you think of some workarounds?

I don’t think I need the full functionality of OpenGamma. I could use just the asset models and maybe curves for the time being.

Any help would be appreciated. Thanks!

Best wishes,

Extracting a minimal view for standalone portfolio analytics

FYI. I had some success adding OpenGamma to my project.

Taking a clue from:

I added the following to my current project’s pom.xml:


It seems to have loaded the dependencies. Now the fun begins :smile:


The error messages are simply complaining about conflicting versions of Eclipse plugins around m2e and checkstyle. You will need m2e (but it seems you have a later version anyway). The checkstyle plugin is necessary only if contributing code back to OpenGamma. If you feel you want to install it, you’ll need to serach the web to find a later/compatible version of m2e checkstyle.