Link

Add as a Maven dependency

In order to use JDeli in a Maven project, you will need to add the jar to the project as a dependency. This can be done in two ways.

Manually

  1. Download the JDeli jar from here
  2. Install jar into your local maven repository
    mvn install:install-file -Dfile=<path-to-JDeli-jar> -DgroupId=com.idrsolutions -Dpackaging=jar -DartifactId=jdeli -Dversion=1.0  
    
  3. Once done this can be added to your project by adding the following to your pom file dependencies.
    <dependencies>
        <dependency>
            <groupId>com.idrsolutions</groupId>
            <artifactId>jdeli</artifactId>
            <version>1.0</version>
        </dependency>
    </dependencies>
    

    The example above is using the values from step 2, if you used custom values you will need to update these.

Using Our Remote Repository

  1. In order to use our remote repository, you need to add your login information to your user settings.xml, this can be found in your .m2 directory (usually in %userprofile%\.m2\ for windows, and ~/.m2/ for linux/mac). If settings.xml does not already exist, you can create it yourself (A reference for the file can be found here).

    Once in your settings.xml, add the following to your servers:

    <servers>
        <server>
            <id>IDRsolutions</id>
            <username>{Your Username}</username>
            <password>{Your Password}</password>
        </server>
    </servers>
    
  2. Then, in your project’s pom file, you can add our remote repository with:
    <repositories>
       <repository>
           <id>IDRsolutions</id>
           <name>IDR Solutions</name>
           <url>https://maven.idrsolutions.com</url>
       </repository>
    </repositories>
    
  3. Finally, also in your project’s pom file, you need to add JDeli as a dependency:

    For Full Releases:

    <dependencies>
        <dependency>
            <groupId>com.idrsolutions</groupId>
            <artifactId>jdeli</artifactId>
            <version>{version}</version>
        </dependency>
    </dependencies>
    

    Where version is one of the releases in the format YYYY.MM (please note that only versions after 2021.11 are available, and we will only provide support for the most recent version of JDeli)

    For Daily Builds:

    <dependencies>
        <dependency>
            <groupId>com.idrsolutions</groupId>
            <artifactId>jdeli-daily</artifactId>
            <version>{version}</version>
        </dependency>
    </dependencies>
    

    Where version is one of the releases in the format YYYY.MM.DD (please note that we only store the most recent daily build)

Still need help? Send us your questions.