Helium is currently not available from a central Maven repository. However, you can still use Helium as a dependency from Maven. To do this, please follow these steps:

  1. Download Helium for Java from our download page.
  2. Unzip the downloaded file to a location on your computer. For instance, if you unzipped to C:\Tools then you should get a directory with a name similar to C:\Tools\helium-java-1.8.1.
  3. Create a new environment variable HELIUM_HOME pointing to the directory you just created (C:\Tools\helium-java-1.8.1). You may have to restart your computer for this change to take effect.
  4. You can now add Helium as a dependency in your Maven pom.xml via the following snippet:

    <dependency>
        <!-- The Helium libraries are taken from a local Helium installation -->
        <!-- being referenced by the environment variable "HELIUM_HOME" -->
        <groupId>com.heliumhq</groupId>
        <artifactId>helium-java</artifactId>
        <version>1.8.1</version>
        <scope>system</scope>
        <systemPath>${env.HELIUM_HOME}/heliumlib/helium-java-1.8.1.jar</systemPath>
    </dependency>

    (Please replace 1.8.1 in your snippet by the version of Helium you are actually using.)

This guide was kindly contributed by one of our users.