Hi Christoph,
I recalled seeing that there are actually 2 versions of several of the fix specs. See here for instance. https://github.com/quickfix-j/quickfixj/tree/master/quickfixj-messages/quickfixj-messages-fix50sp2/src/main/resources
If you diff the files, you can see the following lines are changed in FIX50SP2.modified.xml<https://github.com/quickfix-j/quickfixj/blob/master/quickfixj-messages/quickfixj-messages-fix50sp2/src/main/resources/FIX50SP2.modified.xml> to avoid the issue. The pom file you mentioned is referring to this file, which is why it works and mine doesn't. I don't know how to make this work another way.
FIX50SP2.modified.xml
<!-- MODIFIED: renamed SecurityXML field to SecurityXMLData to avoid duplicate field -->
<field name="SecurityXMLData" required="N"/>
Geoff
________________________________
From: Christoph John via Quickfixj-users <qui...@li...>
Sent: Friday, December 9, 2022 3:08 PM
To: qui...@li... <qui...@li...>
Cc: Christoph John <chr...@ma...>
Subject: Re: [Quickfixj-users] Source generated by maven plugin does not compile
QFJ Documentation: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.quickfixj.org%2Fdocumentation%2F&data=05%7C01%7C%7C9f4e56c2b0294748390008dada2156c7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638062135041152004%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=et3uJmAgxMp5dR13D%2FBbGjvkvnuZ5lqnyJX5JGwjkdE%3D&reserved=0
QFJ Support: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.quickfixj.org%2Fsupport%2F&data=05%7C01%7C%7C9f4e56c2b0294748390008dada2156c7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638062135041152004%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7PodMTrjDpLCdaHU6NjQWiwBBKUQNbiPtulgeS1x5Dk%3D&reserved=0
|