Search code examples
mavenfix-protocolquickfixj

Maven repository for QuickFIX/J library


I am using QuickFIX/J in the newest version (1.6.0) and want you to ask if you know any Maven repositories to integrate in my pom file? I could manually add the jar files to my local repository but maybe there is a nicer and quicker way.


Solution

  • QuickFIX/J version 1.6 and newer can now be found in Marketcetera repository.

    Add repository to your Maven pom file:

    <repositories>
       <repository>
          <id>marketcetera</id>
             <url>http://repo.marketcetera.org/maven</url>
          <snapshots>
             <enabled>true</enabled>
          </snapshots>
       </repository>
    </repositories>
    

    And then the artifact:

    <dependency>
       <groupId>quickfixj</groupId>
       <artifactId>quickfixj-all</artifactId>
       <version>${quickfix.version}</version>
    </dependency>
    

    ${quickfix.version} can be 1.6.0, 1.6.1, or 1.7.0-SNAPSHOT, but also older version are available there. They host both floating point-based and BigDecimal-based versions. The default is floating point. To use BigDecimal versions, append '-bd' to the version.


    EDIT (13th August '15):

    Unfortunately this QuickFIX/J bundle does NOT contain dependent Apache Mina library for network transportation, you have to add also this to your Maven pom file:

    <dependency>
        <groupId>org.apache.mina</groupId>
        <artifactId>mina-core</artifactId>
        <version>${apache.mina.version}</version>
    </dependency>
    

    where ${apache.mina.version} is actual version of library (these days it's 2.0.9).

    Without that you will be getting NoClassDefFound exceptions.


    UPDATE (22.7.2016):

    Good news!

    Since the release of new QuickFIX/J version 1.6.2 the library is now available from official Maven repository so the only thing you need is following artifact in your pom.xml file:

    <dependency>
       <groupId>org.quickfixj</groupId>
       <artifactId>quickfixj-core</artifactId>
       <version>1.6.2</version>
    </dependency>
    

    More info at official pages.