Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 407
mrbela Avatar asked Apr 21 '15 07:04

mrbela


Video Answer


2 Answers

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.

like image 142
Martin Vrábel Avatar answered Oct 14 '22 10:10

Martin Vrábel


You can use the Marketcetera repository. Add this to the list of repositories in your POM:

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

By the way, you could have looked up this information from the QuickFIX/J User Manual.

like image 32
Tim Biegeleisen Avatar answered Oct 14 '22 09:10

Tim Biegeleisen