Skip to content

Commit a0ce40f

Browse files
authored
Merge pull request #8 from quickfix-j/copilot/create-readme-file
Add comprehensive README with preserved version note
2 parents bfd7c73 + 3c36ce9 commit a0ce40f

1 file changed

Lines changed: 81 additions & 1 deletion

File tree

README.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
# QuickFIX/J Code Generator Maven Plugin
12

3+
A Maven plugin that generates Java source files for FIX (Financial Information eXchange) messages from QuickFIX XML dictionaries.
24

3-
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.
5+
## Overview
6+
7+
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.
8+
9+
## Requirements
10+
11+
- Maven 3.9.12 or higher
12+
- Java 8 or higher
13+
14+
## Installation
15+
16+
Add the plugin to your project's `pom.xml`:
17+
18+
```xml
19+
<build>
20+
<plugins>
21+
<plugin>
22+
<groupId>org.quickfixj</groupId>
23+
<artifactId>quickfixj-codegenerator</artifactId>
24+
<version>3.0.2</version>
25+
<executions>
26+
<execution>
27+
<goals>
28+
<goal>generate</goal>
29+
</goals>
30+
</execution>
31+
</executions>
32+
<configuration>
33+
<!-- Configuration options here -->
34+
</configuration>
35+
</plugin>
36+
</plugins>
37+
</build>
38+
```
39+
40+
## Usage
41+
42+
The plugin will automatically generate Java sources during the Maven build lifecycle. Configure the plugin to specify:
43+
44+
- The location of your QuickFIX XML dictionary file
45+
- The output directory for generated sources
46+
- Package names for generated classes
47+
- Other generation options as needed
48+
49+
### Running the Generator
50+
51+
Execute the plugin as part of your Maven build:
52+
53+
```bash
54+
mvn clean install
55+
```
56+
57+
Or run the plugin goal directly:
58+
59+
```bash
60+
mvn quickfixj-codegenerator:generate
61+
```
62+
63+
## Configuration
64+
65+
Detailed configuration options can be specified in the `<configuration>` section of the plugin declaration. Refer to the plugin documentation for available parameters.
66+
67+
## Version Information
68+
69+
> **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.
70+
71+
## License
72+
73+
This project is licensed under [The QuickFIX Software License, Version 1.0](http://www.quickfixj.org/documentation/license.html).
74+
75+
## Links
76+
77+
- **Website:** [http://www.quickfixj.org](http://www.quickfixj.org)
78+
- **GitHub Repository:** [https://github.com/quickfix-j/quickfixj-codegenerator](https://github.com/quickfix-j/quickfixj-codegenerator)
79+
- **Issue Tracker:** [https://github.com/quickfix-j/quickfixj-codegenerator/issues](https://github.com/quickfix-j/quickfixj-codegenerator/issues)
80+
81+
## Contributing
82+
83+
Contributions are welcome! Please feel free to submit issues or pull requests on GitHub.

0 commit comments

Comments
 (0)