From 3f25108e44abc1491bbb54a0feaaa74034c1deb8 Mon Sep 17 00:00:00 2001 From: Christoph John Date: Mon, 4 May 2026 18:04:14 +0200 Subject: [PATCH] Delete quickfixj-class-pruner-maven-plugin directory --- .../.github/workflows/maven.yml | 29 - .../.gitignore | 18 - quickfixj-class-pruner-maven-plugin/LICENSE | 45 - quickfixj-class-pruner-maven-plugin/pom.xml | 281 - quickfixj-class-pruner-maven-plugin/readme.md | 59 - .../java/org/quickfixj/ClassPrunerMojo.java | 205 - .../org/quickfixj/ClassPrunerMojoTest.java | 408 - .../test/resources/project-to-test/pom.xml | 36 - .../test/resources/qfj-dictionaries/FIX40.xml | 857 -- .../test/resources/qfj-dictionaries/FIX41.xml | 1268 --- .../qfj-dictionaries/FIX50SP2.modified.xml | 9942 ----------------- .../resources/qfj-dictionaries/FIXT11.xml | 383 - 12 files changed, 13531 deletions(-) delete mode 100644 quickfixj-class-pruner-maven-plugin/.github/workflows/maven.yml delete mode 100644 quickfixj-class-pruner-maven-plugin/.gitignore delete mode 100644 quickfixj-class-pruner-maven-plugin/LICENSE delete mode 100644 quickfixj-class-pruner-maven-plugin/pom.xml delete mode 100644 quickfixj-class-pruner-maven-plugin/readme.md delete mode 100644 quickfixj-class-pruner-maven-plugin/src/main/java/org/quickfixj/ClassPrunerMojo.java delete mode 100644 quickfixj-class-pruner-maven-plugin/src/test/java/org/quickfixj/ClassPrunerMojoTest.java delete mode 100644 quickfixj-class-pruner-maven-plugin/src/test/resources/project-to-test/pom.xml delete mode 100644 quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX40.xml delete mode 100644 quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX41.xml delete mode 100644 quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX50SP2.modified.xml delete mode 100644 quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIXT11.xml diff --git a/quickfixj-class-pruner-maven-plugin/.github/workflows/maven.yml b/quickfixj-class-pruner-maven-plugin/.github/workflows/maven.yml deleted file mode 100644 index 766b6d58b0..0000000000 --- a/quickfixj-class-pruner-maven-plugin/.github/workflows/maven.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Java CI - -on: - workflow_dispatch: - push: - pull_request: - types: [reopened, opened, synchronize] - -jobs: - test: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macOS-14] - java: [8, 11, 21] - fail-fast: false - max-parallel: 4 - name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} - - steps: - - uses: actions/checkout@v4 - - name: Set up JDK - uses: actions/setup-java@v4 - with: - distribution: 'corretto' - java-version: ${{ matrix.java }} - cache: 'maven' - - name: Test with Maven - run: mvn install -B -V -D"maven.javadoc.skip"="true" diff --git a/quickfixj-class-pruner-maven-plugin/.gitignore b/quickfixj-class-pruner-maven-plugin/.gitignore deleted file mode 100644 index fb838987e7..0000000000 --- a/quickfixj-class-pruner-maven-plugin/.gitignore +++ /dev/null @@ -1,18 +0,0 @@ -# ignore maven build directories -target/ -# ignore maven wrapper jar that gets built locally -.mvn/wrapper/maven-wrapper.jar -# ignore Eclipse configuration files -.project -.classpath -.settings -# ignore IntelliJ configuration files -.idea/ -*.iml -*.ipr -*.iws -# ignore NetBeans configuration -nb-configuration.xml -*.bak -# ignore vim swap files -*.swp diff --git a/quickfixj-class-pruner-maven-plugin/LICENSE b/quickfixj-class-pruner-maven-plugin/LICENSE deleted file mode 100644 index 7e5349963b..0000000000 --- a/quickfixj-class-pruner-maven-plugin/LICENSE +++ /dev/null @@ -1,45 +0,0 @@ -The QuickFIX Software License, Version 1.0 - -Copyright (c) 2001-2005 quickfixengine.org All rights -reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - -3. The end-user documentation included with the redistribution, - if any, must include the following acknowledgment: - "This product includes software developed by - quickfixengine.org (http://www.quickfixengine.org/)." - Alternately, this acknowledgment may appear in the software itself, - if and wherever such third-party acknowledgments normally appear. - -4. The names "QuickFIX" and "quickfixengine.org" must - not be used to endorse or promote products derived from this - software without prior written permission. For written - permission, please contact ask@quickfixengine.org - -5. Products derived from this software may not be called "QuickFIX", - nor may "QuickFIX" appear in their name, without prior written - permission of quickfixengine.org - -THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL QUICKFIXENGINE.ORG OR -ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. diff --git a/quickfixj-class-pruner-maven-plugin/pom.xml b/quickfixj-class-pruner-maven-plugin/pom.xml deleted file mode 100644 index 52cfe81221..0000000000 --- a/quickfixj-class-pruner-maven-plugin/pom.xml +++ /dev/null @@ -1,281 +0,0 @@ - - - - 4.0.0 - - org.quickfixj - quickfixj-class-pruner-maven-plugin - 3.0.1-SNAPSHOT - maven-plugin - - QuickFIX/J Class Pruner Maven Plugin - Maven plugin to prune Field classes and generated sources not required by specific FIX protocol versions, reducing memory and build time for Javadoc generation. - https://github.com/quickfix-j/quickfixj-class-pruner-maven-plugin - - - - The QuickFIX Software License, Version 1.0 - http://www.quickfixj.org/documentation/license.html - repo - - - - - - chrjohn - Christoph John - - - - - scm:git:git://github.com/quickfix-j/quickfixj-class-pruner-maven-plugin.git - scm:git:git@github.com:quickfix-j/quickfixj-class-pruner-maven-plugin.git - https://github.com/quickfix-j/quickfixj-class-pruner-maven-plugin - HEAD - - - - github issues - https://github.com/quickfix-j/quickfixj-class-pruner-maven-plugin/issues - - - - 3.9.12 - - - - UTF-8 - UTF-8 - 8 - 8 - 3.9.12 - 3.9.14 - 3.15.2 - 3.2.0 - 5.14.3 - 3.5.1 - 3.5.5 - 3.15.0 - 3.4.0 - 3.12.0 - 3.2.8 - 1.7.0 - - - - - - org.apache.maven - maven-plugin-api - ${maven-plugin-api-version} - provided - - - org.apache.maven - maven-core - ${maven-libs-version} - provided - - - org.apache.maven - maven-artifact - ${maven-libs-version} - provided - - - org.apache.maven - maven-compat - ${maven-libs-version} - provided - - - org.apache.maven.plugin-tools - maven-plugin-annotations - ${maven-plugin-annotations.version} - - - org.apache.maven.shared - file-management - ${file-management.version} - - - org.junit.vintage - junit-vintage-engine - ${junit.jupiter.version} - test - - - org.apache.maven.plugin-testing - maven-plugin-testing-harness - ${maven-plugin-testing-harness.version} - test - - - org.codehaus.plexus - plexus-xml - 4.0.4 - test - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin-version} - - true - - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin-version} - - - attach-sources - package - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin-version} - - - attach-javadocs - - jar - - - true - none - - - - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin-version} - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-maven-plugin-version} - true - - ossrh - https://ossrh-staging-api.central.sonatype.com - true - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin-version} - - - org.apache.maven.plugins - maven-plugin-plugin - 3.15.2 - - true - - - - mojo-descriptor - - descriptor - - - - help-goal - - helpmojo - - - - - - - - - - java-8-compilation - - [9,) - - - 8 - - - - release - - false - - - - - org.apache.maven.plugins - maven-source-plugin - - - org.apache.maven.plugins - maven-javadoc-plugin - - - org.sonatype.plugins - nexus-staging-maven-plugin - - - - - - sign - - false - - - - - org.apache.maven.plugins - maven-gpg-plugin - - - - - - - - - github - GitHub Packages - Snapshots - https://maven.pkg.github.com/quickfix-j/quickfixj-class-pruner-maven-plugin - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - diff --git a/quickfixj-class-pruner-maven-plugin/readme.md b/quickfixj-class-pruner-maven-plugin/readme.md deleted file mode 100644 index 1f865f9ce6..0000000000 --- a/quickfixj-class-pruner-maven-plugin/readme.md +++ /dev/null @@ -1,59 +0,0 @@ -# Class Pruner Maven Plugin - -This plugin has a very specialised purpose. - -The purpose is to minimise the number of Java classes and generated sources for packaging artefacts of specific FIX versions. This is needed because the introduction of FIX Latest standard results in a very large number of Fields that in turn requires excessive memory and build time for the creation of Javadoc artefacts. - -This is a result of the design of QuickFIX/J in that the Fields package is shared in common for multiple versions of the FIX Protocol. Accordingly the Component and Messages packages are compiled against the common package of Fields. The Messages, Components and Fields can be assembled together as in ```quickfixj-messages-all``` or separately as in ```quickfixj-messages-fix40``` to ```quickfixj-messages-fixlatest``` and ```quickfixj-messages-fixt11```. In each of these assemblies the requisite Fields are included. These packages can be used together at runtime without conflict if the Field classes are identical. - -Broadly speaking the later versions of FIX are super-sets of the prior versions. There are cases of Fields being deprecated but in QuickFIX/J distributions these Fields are included in subsequent distributions. - -As mentioned the FIX Latest distribution is very large and it is built in its entirety by QuickFIX/J to verify compatibility. The complete set of Fields is not required for older versions of the standard which are still in common use. - -This plugin can be used before packaging a version of the standard to prune the Java sources and classes that are not included in the FIX specification for that version. This allows Javadoc to be created and produces a more compact and concise distribution. - -The plugin parses the specified QuickFIX dictionaries to identify the required Fields and deletes redundant Java sources and classes from the specified generated sources and classes directories. - -It can be used as follows. - -``` -... - - - - org.quickfixj - class-pruner-maven-plugin - ${project.version} - - - prune - - prune - - - ${project.basedir}/../quickfixj-messages-all/target/classes/quickfix/field - ${project.basedir}/../quickfixj-messages-all/target/generated-sources/quickfix/field - - ${project.basedir}/../quickfixj-messages-all/target/classes/ - - **/*.xml - - - **/FIXLatest.xml - OrchestraFIXLatest.xml - FIX50SP2.xml - FIX50SP1.xml - FIX44.xml - - false - - - - - -... -``` -Note: -* only *later* versions of the FIX specification than the one being packaged are excluded from parsing -* FIX dictionaries not used in the code generation are excluded (redundant Dictionary files are present in the project) -* the use of this plugin depends on correct ordering of the modules with the most recent versions of the FIX protocol being packaged before packaging the older versions of the protocol. diff --git a/quickfixj-class-pruner-maven-plugin/src/main/java/org/quickfixj/ClassPrunerMojo.java b/quickfixj-class-pruner-maven-plugin/src/main/java/org/quickfixj/ClassPrunerMojo.java deleted file mode 100644 index 8a43bfc068..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/main/java/org/quickfixj/ClassPrunerMojo.java +++ /dev/null @@ -1,205 +0,0 @@ -package org.quickfixj; - - -import java.io.File; -import java.io.IOException; -import java.nio.file.Files; -import java.nio.file.Path; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Set; -import java.util.stream.Collectors; -import java.util.stream.Stream; - -import javax.xml.parsers.DocumentBuilder; -import javax.xml.parsers.DocumentBuilderFactory; -import javax.xml.parsers.ParserConfigurationException; - -import org.apache.maven.plugin.AbstractMojo; -import org.apache.maven.plugin.MojoExecutionException; -import org.apache.maven.plugins.annotations.LifecyclePhase; -import org.apache.maven.plugins.annotations.Mojo; -import org.apache.maven.plugins.annotations.Parameter; -import org.apache.maven.shared.model.fileset.FileSet; -import org.apache.maven.shared.model.fileset.util.FileSetManager; -import org.w3c.dom.Document; -import org.w3c.dom.Element; -import org.w3c.dom.NodeList; -import org.xml.sax.SAXException; - -/** - * Goal that prunes specified classes - * This is intended to be used before javadoc and packaging to reduce memory requirements and build time - */ -@Mojo( name = "prune", defaultPhase = LifecyclePhase.INSTALL ) -public class ClassPrunerMojo extends AbstractMojo { - - /** - * fileSet defining the QFJ Dictionary Locations. - */ - @Parameter ( property = "fileset", required = true ) - private FileSet fileset; - - /** - * Location of classes to delete - */ - @Parameter( defaultValue = "classes", property = "classesDirectory", required = true ) - private File classesDirectory; - - /** - * Location of the generated source to delete - */ - @Parameter( defaultValue = "generated-sources", property = "generatedSourcesDirectory", required = true ) - private File generatedSourcesDirectory; - - - public void execute() - throws MojoExecutionException - { - this.getLog().info("executing mojo."); - - if ( !classesDirectory.exists() || !classesDirectory.isDirectory() ) - { - String errorMsg = new StringBuilder(classesDirectory.getAbsolutePath()).append(" must exist and be a directory.").toString(); - this.getLog().error(errorMsg.toString()); - throw new MojoExecutionException( errorMsg.toString() ); - } else { - this.getLog().info(new StringBuilder("Classes Directory : ").append(classesDirectory.getAbsolutePath()).toString()); - } - - if ( !generatedSourcesDirectory.exists() || !generatedSourcesDirectory.isDirectory() ) - { - String errorMsg = new StringBuilder(generatedSourcesDirectory.getAbsolutePath()).append(" must exist and be a directory.").toString(); - this.getLog().error(errorMsg.toString()); - throw new MojoExecutionException( errorMsg.toString() ); - } else { - this.getLog().info(new StringBuilder("Generated Sources Directory : ").append(generatedSourcesDirectory.getAbsolutePath()).toString()); - } - - if (null == fileset) { - String errorMsg = "fileset must not be null."; - this.getLog().error(errorMsg); - throw new MojoExecutionException( errorMsg ); - } - - Set fieldNames = new HashSet(); - - collectFieldNames(fieldNames); - - try { - pruneGeneratedSources(fieldNames); - pruneClasses(fieldNames); - } catch (IOException e) { - String errorMsg = "Exception pruning directories."; - this.getLog().error(errorMsg, e); - throw new MojoExecutionException( errorMsg, e); - } - } - - private void pruneClasses(Set fieldNames) throws IOException { - prune(fieldNames, this.classesDirectory, ".class", "Java class"); - } - - private void pruneGeneratedSources(Set fieldNames) throws IOException { - prune(fieldNames, this.generatedSourcesDirectory, ".java", "Java source"); - } - - private void prune(Set fieldNames, File targetDirectory, String fileSuffix, String descriptor) throws IOException { - Set files = listFiles(targetDirectory); - Set namesOfFilesToKeep = fieldNames.stream().map(file -> new StringBuilder(file).append(fileSuffix).toString()).collect(Collectors.toSet()); - files.removeAll(namesOfFilesToKeep); - List fileList = new ArrayList(files); - Collections.sort(fileList); - this.getLog().info(descriptor + "s to delete : " + fileList.size()); - for (String fileName : fileList) { - this.getLog().debug("Deleting " + descriptor + " : " + fileName); - File file = new File( targetDirectory, fileName ); - Files.delete(file.toPath()); - } - } - - private static Set listFiles(File directory) throws IOException { - try (Stream stream = Files.list(directory.toPath())) { - return stream - .filter(file -> !Files.isDirectory(file)) - .map(Path::getFileName) - .map(Path::toString) - .filter(fileName -> !fileName.matches(".*\\.xml")) - .collect(Collectors.toSet()); - } - } - - private void collectFieldNames(Set fieldNames) throws MojoExecutionException { - Set fileNamesToParse = collectFileNameToParse(); - - DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); - DocumentBuilder db; - try { - db = dbf.newDocumentBuilder(); - } catch (ParserConfigurationException e) { - String msg = "ParserConfigurationException creating Document Builder"; - this.getLog().error(msg, e); - throw new MojoExecutionException(msg, e); - } - - for (String fileName: fileNamesToParse) { - Document document; - try { - document = db.parse(new File(fileName)); - // optional, but recommended - // http://stackoverflow.com/questions/13786607/normalization-in-dom-parsing-with-java-how-does-it-work - document.getDocumentElement().normalize(); - addNames(document.getDocumentElement(), "fields/field", fieldNames); - } catch (SAXException | IOException e) { - String msg = "Exception parsing file " + fileName; - this.getLog().error(msg, e); - throw new MojoExecutionException(msg, e); - } - } - - List fieldList = new ArrayList(fieldNames); - Collections.sort(fieldList); - for (String fieldName : fieldList) { - this.getLog().debug("Found field : " + fieldName); - } - this.getLog().info("Found field total : " + fieldList.size()); - } - - private Set collectFileNameToParse() { - FileSetManager fileSetManager = new FileSetManager(); - this.getLog().info("fileset " + fileset.toString()); - - String currentDir = System.getProperty("user.dir"); - this.getLog().info("Current working directory : " + currentDir); - - Set includedFiles = new HashSet(Arrays.asList(fileSetManager.getIncludedFiles( fileset ))); - Set fileNamesToParse = new HashSet(); - - String baseDirectory = fileset.getDirectory(); - for (String includedFile: includedFiles) { - this.getLog().info("will parse file : " + includedFile); - String fileName = new StringBuilder(baseDirectory).append(File.separator).append(includedFile).toString(); - fileNamesToParse.add(fileName); - } - return fileNamesToParse; - } - - private static void addNames(Element element, String path, Set fieldNames) { - int separatorOffset = path.indexOf("/"); - if (separatorOffset == -1) { - NodeList fieldNodeList = element.getElementsByTagName(path); - for (int i = 0; i < fieldNodeList.getLength(); i++) { - fieldNames.add(((Element) fieldNodeList.item(i)).getAttribute("name")); - } - } else { - String tag = path.substring(0, separatorOffset); - NodeList subnodes = element.getElementsByTagName(tag); - for (int i = 0; i < subnodes.getLength(); i++) { - addNames((Element) subnodes.item(i), path.substring(separatorOffset + 1), fieldNames); - } - } - } -} diff --git a/quickfixj-class-pruner-maven-plugin/src/test/java/org/quickfixj/ClassPrunerMojoTest.java b/quickfixj-class-pruner-maven-plugin/src/test/java/org/quickfixj/ClassPrunerMojoTest.java deleted file mode 100644 index cf94698f3c..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/test/java/org/quickfixj/ClassPrunerMojoTest.java +++ /dev/null @@ -1,408 +0,0 @@ -package org.quickfixj; - - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertTrue; - -import java.io.File; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.function.Consumer; - -import org.apache.commons.io.FileUtils; -import org.apache.maven.plugin.testing.MojoRule; -import org.apache.maven.shared.model.fileset.FileSet; -import org.junit.After; -import org.junit.Rule; -import org.junit.Test; - -import com.google.common.io.Files; - -public class ClassPrunerMojoTest -{ - private List classesList = new ArrayList(Arrays.asList( - "Account" - ,"AccruedInterestAmt" - ,"AccruedInterestRate" - ,"AdvId" - ,"AdvRefID" - ,"AdvSide" - ,"AdvTransType" - ,"AllocAccount" - ,"AllocAvgPx" - ,"AllocHandlInst" - ,"AllocID" - ,"AllocLinkID" - ,"AllocLinkType" - ,"AllocNetMoney" - ,"AllocRejCode" - ,"AllocShares" - ,"AllocStatus" - ,"AllocText" - ,"AllocTransType" - ,"AvgPrxPrecision" - ,"AvgPx" - ,"BeginSeqNo" - ,"BeginString" - ,"BidForwardPoints" - ,"BidPx" - ,"BidSize" - ,"BidSpotRate" - ,"BodyLength" - ,"BrokerOfCredit" - ,"CashOrderQty" - ,"CashSettlAgentAcctName" - ,"CashSettlAgentAcctNum" - ,"CashSettlAgentCode" - ,"CashSettlAgentContactName" - ,"CashSettlAgentContactPhone" - ,"CashSettlAgentName" - ,"CheckSum" - ,"ClientID" - ,"ClOrdID" - ,"Commission" - ,"CommType" - ,"CoveredOrUncovered" - ,"CumQty" - ,"Currency" - ,"CustomerOrFirm" - ,"CxlQty" - ,"CxlRejReason" - ,"CxlType" - ,"DeliverToCompID" - ,"DeliverToLocationID" - ,"DeliverToSubID" - ,"DKReason" - ,"DlvyInst" - ,"EffectiveTime" - ,"EmailThreadID" - ,"EmailType" - ,"EncryptMethod" - ,"EndSeqNo" - ,"ExDestination" - ,"ExecBroker" - ,"ExecID" - ,"ExecInst" - ,"ExecRefID" - ,"ExecTransType" - ,"ExecType" - ,"ExpireTime" - ,"ForexReq" - ,"FutSettDate" - ,"FutSettDate2" - ,"GapFillFlag" - ,"HandlInst" - ,"Headline" - ,"HeartBtInt" - ,"IDSource" - ,"IOIID" - ,"IOINaturalFlag" - ,"IOIOthSvc" - ,"IOIQltyInd" - ,"IOIQualifier" - ,"IOIRefID" - ,"IOIShares" - ,"IOITransType" - ,"Issuer" - ,"LastCapacity" - ,"LastForwardPoints" - ,"LastMkt" - ,"LastPx" - ,"LastShares" - ,"LastSpotRate" - ,"LeavesQty" - ,"LinesOfText" - ,"ListExecInst" - ,"ListID" - ,"ListNoOrds" - ,"ListSeqNo" - ,"LocateReqd" - ,"MaturityDay" - ,"MaturityMonthYear" - ,"MaxFloor" - ,"MaxShow" - ,"MinQty" - ,"MiscFeeAmt" - ,"MiscFeeCurr" - ,"MiscFeeType" - ,"MsgSeqNum" - ,"MsgType" - ,"NetMoney" - ,"NewSeqNo" - ,"NoAllocs" - ,"NoDlvyInst" - ,"NoExecs" - ,"NoIOIQualifiers" - ,"NoMiscFees" - ,"NoOrders" - ,"NoRelatedSym" - ,"NoRpts" - ,"NotifyBrokerOfCredit" - ,"NumDaysInterest" - ,"OfferForwardPoints" - ,"OfferPx" - ,"OfferSize" - ,"OfferSpotRate" - ,"OnBehalfOfCompID" - ,"OnBehalfOfLocationID" - ,"OnBehalfOfSubID" - ,"OpenClose" - ,"OptAttribute" - ,"OrderID" - ,"OrderQty" - ,"OrderQty2" - ,"OrdRejReason" - ,"OrdStatus" - ,"OrdType" - ,"OrigClOrdID" - ,"OrigSendingTime" - ,"OrigTime" - ,"PegDifference" - ,"PossDupFlag" - ,"PossResend" - ,"PrevClosePx" - ,"Price" - ,"ProcessCode" - ,"PutOrCall" - ,"QuoteID" - ,"QuoteReqID" - ,"RawData" - ,"RawDataLength" - ,"RefAllocID" - ,"RefSeqNum" - ,"RelatdSym" - ,"ReportToExch" - ,"ResetSeqNumFlag" - ,"RptSeq" - ,"Rule80A" - ,"SecondaryOrderID" - ,"SecureData" - ,"SecureDataLen" - ,"SecurityDesc" - ,"SecurityExchange" - ,"SecurityID" - ,"SecuritySettlAgentAcctName" - ,"SecuritySettlAgentAcctNum" - ,"SecuritySettlAgentCode" - ,"SecuritySettlAgentContactName" - ,"SecuritySettlAgentContactPhone" - ,"SecuritySettlAgentName" - ,"SecurityType" - ,"SenderCompID" - ,"SenderLocationID" - ,"SenderSubID" - ,"SendingTime" - ,"SettlBrkrCode" - ,"SettlCurrAmt" - ,"SettlCurrency" - ,"SettlCurrFxRate" - ,"SettlCurrFxRateCalc" - ,"SettlDeliveryType" - ,"SettlDepositoryCode" - ,"SettlInstCode" - ,"SettlInstID" - ,"SettlInstMode" - ,"SettlInstSource" - ,"SettlInstTransType" - ,"SettlLocation" - ,"SettlmntTyp" - ,"Shares" - ,"Side" - ,"Signature" - ,"SignatureLength" - ,"StandInstDbID" - ,"StandInstDbName" - ,"StandInstDbType" - ,"StopPx" - ,"StrikePrice" - ,"Subject" - ,"Symbol" - ,"SymbolSfx" - ,"TargetCompID" - ,"TargetLocationID" - ,"TargetSubID" - ,"TestReqID" - ,"Text" - ,"TimeInForce" - ,"TradeDate" - ,"TransactTime" - ,"Urgency" - ,"URLLink" - ,"ValidUntilTime" - ,"ValuationBusinessCenter" - ,"ValuationDate" - ,"ValuationMethod" - ,"ValuationReferenceModel" - ,"ValuationSource" - ,"ValuationTime" - ,"ValueCheckAction" - ,"ValueCheckType" - ,"ValueOfFutures" - ,"VegaMultiplier" - ,"VenueType" - ,"VerificationMethod" - ,"VersusPurchaseDate" - ,"VersusPurchasePrice" - ,"Volatility" - ,"VoluntaryRegulatoryReport" - ,"WarningText" - ,"WaveNo" - ,"WireReference" - ,"WorkingIndicator" - ,"WtAverageLiquidity" - ,"Yield" - ,"YieldCalcDate" - ,"YieldRedemptionDate" - ,"YieldRedemptionPrice" - ,"YieldRedemptionPriceType" - ,"YieldType")); - - List someFieldNamesThatShouldBePruned = - new ArrayList<>(Arrays.asList("ValuationBusinessCenter", - "ValuationDate", - "ValuationMethod", - "ValuationReferenceModel", - "ValuationSource", - "ValuationTime", - "ValueCheckAction", - "ValueCheckType", - "ValueOfFutures", - "VegaMultiplier", - "VenueType", - "VerificationMethod", - "VersusPurchaseDate", - "VersusPurchasePrice", - "Volatility", - "VoluntaryRegulatoryReport", - "WarningText", - "WireReference", - "WorkingIndicator", - "WtAverageLiquidity", - "Yield", - "YieldCalcDate", - "YieldRedemptionDate", - "YieldRedemptionPrice", - "YieldRedemptionPriceType", - "YieldType")); - private File classesDirectory; - private File generatedSourcesDirectory; - - @Rule - public MojoRule rule = new MojoRule() - { - @Override - protected void before() throws Throwable - { - } - - @Override - protected void after() - { - } - }; - - @After - public void clearDown() throws Exception { - ClassPrunerMojoTest.clearDownDirectory(generatedSourcesDirectory); - ClassPrunerMojoTest.clearDownDirectory(classesDirectory); - } - - private static void clearDownDirectory(File directory) throws Exception { - if (null != directory && directory.exists()) { - FileUtils.cleanDirectory(directory); - } - directory.delete(); - } - - /** - * This test represents pruning Field classes that do not exist if FIX 5.0sp2 and earlier. - * The inputs are QFJ dictionaries for FIX 5.0sp2 (and some earlier versions) and - * directories that contain files with the names of Fields found in FIX Latest. - * The files for Fields found in FIX 5.0sp2 and earlier are retained, the excess files are pruned. - * @throws Exception if any - */ - @Test - public void testPrune() - throws Exception - { - File pom = new File("target/test-classes/project-to-test/"); - assertNotNull( pom ); - assertTrue( pom.exists() ); - - ClassPrunerMojo myMojo = ( ClassPrunerMojo ) rule.lookupConfiguredMojo( pom, "prune" ); - assertNotNull( myMojo ); - - classesDirectory = ( File ) rule.getVariableValueFromObject( myMojo, "classesDirectory" ); - assertNotNull( classesDirectory ); - if (!classesDirectory.exists()) { - classesDirectory.mkdirs(); - } - //TODO create directory, populate with test files - myMojo.getLog().info("classesDirectory : " + classesDirectory.getAbsolutePath() ); - createFilesForTest(classesList, classesDirectory, ".class"); - createFilesForTest(someFieldNamesThatShouldBePruned, classesDirectory, ".class"); - - generatedSourcesDirectory = ( File ) rule.getVariableValueFromObject( myMojo, "generatedSourcesDirectory" ); - assertNotNull( generatedSourcesDirectory ); - if (!generatedSourcesDirectory.exists()) { - generatedSourcesDirectory.mkdirs(); - } - myMojo.getLog().info("generatedSourcesDirectory : " + generatedSourcesDirectory.getAbsolutePath() ); - createFilesForTest(classesList, generatedSourcesDirectory, ".java"); - createFilesForTest(someFieldNamesThatShouldBePruned, generatedSourcesDirectory, ".java"); - - myMojo.execute(); - - Object variableValueFromObject = rule.getVariableValueFromObject( myMojo, "fileset" ); - FileSet dictionaryFileSet = ( FileSet ) variableValueFromObject; - assertNotNull( dictionaryFileSet ); - - // The following are based on files created above - List someFieldNamesThatShouldStillExist = new ArrayList<>(Arrays.asList("WaveNo", "ValidUntilTime", "Account")); - - for (String fieldName : someFieldNamesThatShouldStillExist) { - File source = new File( generatedSourcesDirectory, fieldName.concat(".java") ); - assertTrue( source.exists() ); - File clazz = new File( classesDirectory, fieldName.concat(".class") ); - assertTrue( clazz.exists() ); - } - - for (String fieldName : someFieldNamesThatShouldBePruned) { - File source = new File( generatedSourcesDirectory, fieldName.concat(".java") ); - assertFalse( source.exists() ); - File clazz = new File( classesDirectory, fieldName.concat(".class") ); - assertFalse( clazz.exists() ); - } - - int numberOfFieldsFromTheCombinedDictionaries = 209; - assertEquals(classesDirectory.list().length, numberOfFieldsFromTheCombinedDictionaries); - assertEquals(generatedSourcesDirectory.list().length, numberOfFieldsFromTheCombinedDictionaries); - } - - private static void createFilesForTest(List classesList, File classesDirectory, String extension) throws IOException { - classesList.stream().forEach(throwingConsumerWrapper(f -> {File file = new File(classesDirectory, f.concat(extension)); Files.touch(file);})); - } - - @FunctionalInterface - public interface ThrowingConsumer { - void accept(T t) throws E; - } - - //https://www.baeldung.com/java-lambda-exceptions - static Consumer throwingConsumerWrapper( - ThrowingConsumer throwingConsumer) { - return i -> { - try { - throwingConsumer.accept(i); - } catch (Exception e) { - throw new RuntimeException(e); - } - }; - } - -} - diff --git a/quickfixj-class-pruner-maven-plugin/src/test/resources/project-to-test/pom.xml b/quickfixj-class-pruner-maven-plugin/src/test/resources/project-to-test/pom.xml deleted file mode 100644 index 96513ba048..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/test/resources/project-to-test/pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - 4.0.0 - - org.quickfixj - project-to-test - 1.0-SNAPSHOT - jar - Test MyMojo - - - - - org.quickfixj - quickfixj-class-pruner-maven-plugin - - not-really-classes - not-really-generated-sources - - target/test-classes/qfj-dictionaries - - **/*.xml - - - **/FIX50SP2.modified.xml - **/FIXT11.xml - - false - - - - - - diff --git a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX40.xml b/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX40.xml deleted file mode 100644 index 514a89d65f..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX40.xml +++ /dev/null @@ -1,857 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX41.xml b/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX41.xml deleted file mode 100644 index 458497c537..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX41.xml +++ /dev/null @@ -1,1268 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX50SP2.modified.xml b/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX50SP2.modified.xml deleted file mode 100644 index 069cf4837b..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIX50SP2.modified.xml +++ /dev/null @@ -1,9942 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIXT11.xml b/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIXT11.xml deleted file mode 100644 index d763b29641..0000000000 --- a/quickfixj-class-pruner-maven-plugin/src/test/resources/qfj-dictionaries/FIXT11.xml +++ /dev/null @@ -1,383 +0,0 @@ - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -