From dee6b2cd36b46c8dda7da055873bca166a9a536b Mon Sep 17 00:00:00 2001 From: John Mayfield Date: Wed, 22 Dec 2021 13:22:10 +0000 Subject: [PATCH] Cleanup dependencies in CDK tool modules. --- tool/builder3d/pom.xml | 53 ++----------------------------------- tool/builder3dtools/pom.xml | 29 -------------------- tool/charges/pom.xml | 19 +++---------- tool/forcefield/pom.xml | 39 ++++----------------------- tool/formula/pom.xml | 23 ++-------------- tool/fragment/pom.xml | 46 ++------------------------------ tool/group/pom.xml | 8 +++++- tool/hash/pom.xml | 11 ++------ tool/model/pom.xml | 2 +- tool/pcore/pom.xml | 36 +------------------------ tool/sdg/pom.xml | 10 +------ tool/smarts/pom.xml | 39 +-------------------------- tool/structgen/pom.xml | 34 ------------------------ tool/tautomer/pom.xml | 27 +------------------ 14 files changed, 28 insertions(+), 348 deletions(-) diff --git a/tool/builder3d/pom.xml b/tool/builder3d/pom.xml index 71698c99a14..8231d96ea8d 100644 --- a/tool/builder3d/pom.xml +++ b/tool/builder3d/pom.xml @@ -14,36 +14,15 @@ cdk-builder3d - - gov.nist.math - jama - javax.vecmath vecmath - - com.google.guava - guava - - - uk.ac.ebi.beam - beam-core - - - uk.ac.ebi.beam - beam-func - junit junit test - - org.hamcrest - hamcrest - test - ${project.groupId} cdk-core @@ -66,7 +45,7 @@ ${project.groupId} - cdk-io + cdk-ctab ${project.parent.version} @@ -74,21 +53,11 @@ cdk-standard ${project.parent.version} - - ${project.groupId} - cdk-charges - ${project.parent.version} - ${project.groupId} cdk-forcefield ${project.parent.version} - - ${project.groupId} - cdk-valencycheck - ${project.parent.version} - ${project.groupId} cdk-sdg @@ -99,30 +68,12 @@ cdk-isomorphism ${project.parent.version} - - ${project.groupId} - cdk-diff - ${project.parent.version} - test - - - ${project.groupId} - cdk-ioformats - ${project.parent.version} - test - ${project.groupId} cdk-smiles ${project.parent.version} test - - ${project.groupId} - cdk-extra - ${project.parent.version} - test - ${project.groupId} cdk-test @@ -142,7 +93,7 @@ cdk-testdata ${project.parent.version} test-jar - test + test ${project.groupId} diff --git a/tool/builder3dtools/pom.xml b/tool/builder3dtools/pom.xml index ea053a397b6..cdac9135d4c 100644 --- a/tool/builder3dtools/pom.xml +++ b/tool/builder3dtools/pom.xml @@ -14,20 +14,11 @@ cdk-builder3dtools - - javax.vecmath - vecmath - ${project.groupId} cdk-core ${project.parent.version} - - ${project.groupId} - cdk-data - ${project.parent.version} - ${project.groupId} cdk-silent @@ -38,11 +29,6 @@ cdk-interfaces ${project.parent.version} - - ${project.groupId} - cdk-io - ${project.parent.version} - ${project.groupId} cdk-ctab @@ -53,21 +39,6 @@ cdk-standard ${project.parent.version} - - ${project.groupId} - cdk-charges - ${project.parent.version} - - - ${project.groupId} - cdk-forcefield - ${project.parent.version} - - - ${project.groupId} - cdk-valencycheck - ${project.parent.version} - ${project.groupId} cdk-smiles diff --git a/tool/charges/pom.xml b/tool/charges/pom.xml index 4b7b1961f9c..8659bf85ebb 100644 --- a/tool/charges/pom.xml +++ b/tool/charges/pom.xml @@ -18,14 +18,6 @@ javax.vecmath vecmath - - uk.ac.ebi.beam - beam-core - - - uk.ac.ebi.beam - beam-func - junit junit @@ -36,11 +28,6 @@ hamcrest test - - com.google.guava - guava - test - ${project.groupId} cdk-core @@ -53,7 +40,7 @@ ${project.groupId} - cdk-io + cdk-ctab ${project.parent.version} @@ -85,7 +72,7 @@ ${project.groupId} - cdk-extra + cdk-atomtype ${project.parent.version} test @@ -107,7 +94,7 @@ cdk-testdata ${project.parent.version} test-jar - test + test diff --git a/tool/forcefield/pom.xml b/tool/forcefield/pom.xml index 597706603cd..71f9a46206c 100644 --- a/tool/forcefield/pom.xml +++ b/tool/forcefield/pom.xml @@ -14,23 +14,6 @@ cdk-forcefield - - gov.nist.math - jama - test - - - javax.vecmath - vecmath - - - uk.ac.ebi.beam - beam-core - - - uk.ac.ebi.beam - beam-func - junit junit @@ -62,17 +45,17 @@ ${project.groupId} - cdk-io + cdk-standard ${project.parent.version} ${project.groupId} - cdk-standard + cdk-charges ${project.parent.version} - ${project.groupId} - cdk-charges + org.openscience.cdk + cdk-atomtype ${project.parent.version} @@ -94,19 +77,7 @@ ${project.groupId} - cdk-extra - ${project.parent.version} - test - - - ${project.groupId} - cdk-pdb - ${project.parent.version} - test - - - ${project.groupId} - cdk-valencycheck + cdk-isomorphism ${project.parent.version} test diff --git a/tool/formula/pom.xml b/tool/formula/pom.xml index 2403f5a0229..fa9804da6e5 100644 --- a/tool/formula/pom.xml +++ b/tool/formula/pom.xml @@ -14,10 +14,6 @@ cdk-formula - - javax.vecmath - vecmath - junit junit @@ -28,21 +24,6 @@ hamcrest test - - gov.nist.math - jama - test - - - xom - xom - test - - - com.google.guava - guava - test - ${project.groupId} cdk-core @@ -79,13 +60,13 @@ ${project.groupId} - cdk-valencycheck + cdk-atomtype ${project.parent.version} test ${project.groupId} - cdk-io + cdk-valencycheck ${project.parent.version} test diff --git a/tool/fragment/pom.xml b/tool/fragment/pom.xml index 1b75ac6ac30..2c5b9b53f0d 100644 --- a/tool/fragment/pom.xml +++ b/tool/fragment/pom.xml @@ -14,31 +14,14 @@ cdk-fragment - - com.google.guava - guava - - - uk.ac.ebi.beam - beam-core - - - uk.ac.ebi.beam - beam-func - - - junit - junit - test - org.hamcrest hamcrest test - javax.vecmath - vecmath + junit + junit test @@ -77,12 +60,6 @@ ${project.parent.version} test - - ${project.groupId} - cdk-extra - ${project.parent.version} - test - ${project.groupId} cdk-test @@ -97,37 +74,18 @@ test-jar test - - ${project.groupId} - cdk-io - ${project.parent.version} - test - ${project.groupId} cdk-silent ${project.parent.version} test - - ${project.groupId} - cdk-testdata - ${project.parent.version} - test-jar - test - ${project.groupId} cdk-atomtype ${project.parent.version} test - - ${project.groupId} - cdk-pdb - ${project.parent.version} - test - diff --git a/tool/group/pom.xml b/tool/group/pom.xml index 6ad4f0767f4..897679fde4f 100644 --- a/tool/group/pom.xml +++ b/tool/group/pom.xml @@ -61,9 +61,15 @@ ${project.parent.version} test + + org.openscience.cdk + cdk-atomtype + ${project.parent.version} + test + ${project.groupId} - cdk-io + cdk-core ${project.parent.version} test diff --git a/tool/hash/pom.xml b/tool/hash/pom.xml index efd112091ac..1cde66ad2e1 100644 --- a/tool/hash/pom.xml +++ b/tool/hash/pom.xml @@ -44,10 +44,9 @@ ${project.parent.version} - ${project.groupId} - cdk-test + org.openscience.cdk + cdk-io ${project.parent.version} - test-jar test @@ -56,12 +55,6 @@ ${project.parent.version} test - - ${project.groupId} - cdk-io - ${project.parent.version} - test - ${project.groupId} cdk-ctab diff --git a/tool/model/pom.xml b/tool/model/pom.xml index 841d854e502..469338e4536 100644 --- a/tool/model/pom.xml +++ b/tool/model/pom.xml @@ -25,7 +25,7 @@ org.openscience.cdk - cdk-io + cdk-interfaces ${project.version} test diff --git a/tool/pcore/pom.xml b/tool/pcore/pom.xml index 0078ed23613..057064b757f 100644 --- a/tool/pcore/pom.xml +++ b/tool/pcore/pom.xml @@ -31,11 +31,6 @@ junit test - - org.hamcrest - hamcrest - test - ${project.groupId} cdk-data @@ -57,11 +52,6 @@ cdk-interfaces ${project.parent.version} - - ${project.groupId} - cdk-io - ${project.parent.version} - ${project.groupId} cdk-ctab @@ -72,11 +62,6 @@ cdk-standard ${project.parent.version} - - ${project.groupId} - cdk-valencycheck - ${project.parent.version} - ${project.groupId} cdk-smarts @@ -87,37 +72,18 @@ cdk-isomorphism ${project.parent.version} - - ${project.groupId} - cdk-ioformats - ${project.parent.version} - test - ${project.groupId} cdk-extra ${project.parent.version} test - - ${project.groupId} - cdk-smiles - ${project.parent.version} - test - - - ${project.groupId} - cdk-test - ${project.parent.version} - test-jar - test - ${project.groupId} cdk-testdata ${project.parent.version} test-jar - test + test diff --git a/tool/sdg/pom.xml b/tool/sdg/pom.xml index ba40c136a73..88fba0048bb 100644 --- a/tool/sdg/pom.xml +++ b/tool/sdg/pom.xml @@ -27,14 +27,6 @@ com.google.guava guava - - uk.ac.ebi.beam - beam-core - - - uk.ac.ebi.beam - beam-func - org.hamcrest hamcrest @@ -67,7 +59,7 @@ ${project.groupId} - cdk-valencycheck + cdk-isomorphism ${project.parent.version} diff --git a/tool/smarts/pom.xml b/tool/smarts/pom.xml index ff6731ef67d..7573114718c 100644 --- a/tool/smarts/pom.xml +++ b/tool/smarts/pom.xml @@ -13,22 +13,10 @@ cdk-smarts cdk-smarts - - javax.vecmath - vecmath - com.google.guava guava - - uk.ac.ebi.beam - beam-core - - - uk.ac.ebi.beam - beam-func - org.hamcrest hamcrest @@ -61,7 +49,7 @@ ${project.groupId} - cdk-valencycheck + cdk-ctab ${project.parent.version} @@ -69,30 +57,12 @@ cdk-isomorphism ${project.parent.version} - - ${project.groupId} - cdk-data - ${project.parent.version} - test - ${project.groupId} cdk-silent ${project.parent.version} test - - ${project.groupId} - cdk-io - ${project.parent.version} - test - - - ${project.groupId} - cdk-extra - ${project.parent.version} - test - ${project.groupId} cdk-smiles @@ -106,12 +76,5 @@ test-jar test - - ${project.groupId} - cdk-data - ${project.parent.version} - test-jar - test - diff --git a/tool/structgen/pom.xml b/tool/structgen/pom.xml index 746b2471fdd..fdf8f6ab8a1 100644 --- a/tool/structgen/pom.xml +++ b/tool/structgen/pom.xml @@ -19,26 +19,11 @@ junit test - - org.hamcrest - hamcrest - test - javax.vecmath vecmath test - - uk.ac.ebi.beam - beam-core - test - - - uk.ac.ebi.beam - beam-func - test - ${project.groupId} cdk-interfaces @@ -82,12 +67,6 @@ ${project.parent.version} test - - ${project.groupId} - cdk-extra - ${project.parent.version} - test - ${project.groupId} cdk-test @@ -109,25 +88,12 @@ test-jar test - - ${project.groupId} - cdk-io - ${project.parent.version} - test - ${project.groupId} cdk-sdg ${project.parent.version} test - - ${project.groupId} - cdk-testdata - ${project.parent.version} - test-jar - test - diff --git a/tool/tautomer/pom.xml b/tool/tautomer/pom.xml index d7e2cf746e1..7a4a851b90e 100644 --- a/tool/tautomer/pom.xml +++ b/tool/tautomer/pom.xml @@ -19,31 +19,6 @@ junit test - - org.hamcrest - hamcrest - test - - - javax.vecmath - vecmath - test - - - uk.ac.ebi.beam - beam-core - test - - - uk.ac.ebi.beam - beam-func - test - - - com.google.guava - guava - test - ${project.groupId} cdk-interfaces @@ -82,7 +57,7 @@ ${project.groupId} - cdk-io + cdk-atomtype ${project.parent.version} test