A Maven plugin that generates Java source files for FIX (Financial Information eXchange) messages from QuickFIX XML dictionaries.
The QuickFIX/J Code Generator Maven Plugin allows you to automatically create Java sources for FIX Messages based on a QuickFIX XML dictionary. This plugin simplifies the development of FIX protocol implementations by generating the necessary message classes, field definitions, and other FIX-related Java code.
- Maven 3.9.12 or higher
- Java 8 or higher
Add the plugin to your project's pom.xml:
<build>
<plugins>
<plugin>
<groupId>org.quickfixj</groupId>
<artifactId>quickfixj-codegenerator</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Configuration options here -->
</configuration>
</plugin>
</plugins>
</build>The plugin will automatically generate Java sources during the Maven build lifecycle. Configure the plugin to specify:
- The location of your QuickFIX XML dictionary file
- The output directory for generated sources
- Package names for generated classes
- Other generation options as needed
Execute the plugin as part of your Maven build:
mvn clean installOr run the plugin goal directly:
mvn quickfixj-codegenerator:generateFor detailed usage instructions, configuration options, and examples, please refer to the comprehensive documentation:
-
Message Code Generation Guide - Complete guide covering:
- Maven and Gradle project setup examples
- Detailed configuration properties
- Advanced customization with MessageCodeGenerator
- Custom field and message definitions
- XSLT template customization
-
Customizing QuickFIX/J - Advanced topics including:
- BigDecimal usage for FIX decimal types
- Managing incompatible data types across FIX versions
- Custom Rules of Engagement
- FIX Orchestra integration
-
QuickFIX/J Messages Module - Build organization and custom build recommendations
Detailed configuration options can be specified in the <configuration> section of the plugin declaration. See the Message Code Generation Guide for a complete list of available parameters and examples.
NB: The first released version is 3.0.2 so that it does not conflict with the released 3.0.0 version (which still was part of the full QuickFIX/J release). From now on the plugin will be separate from QFJ.
This project is licensed under The QuickFIX Software License, Version 1.0.
- Website: http://www.quickfixj.org
- GitHub Repository: https://github.com/quickfix-j/quickfixj-codegenerator
- Issue Tracker: https://github.com/quickfix-j/quickfixj-codegenerator/issues
Contributions are welcome! Please feel free to submit issues or pull requests on GitHub.