Skip to content

build: remove unnecessary shaded coat-libs.jar dependencies - #1481

Merged
c-dilks merged 1 commit into
developmentfrom
mvn-clean-shade
Oct 7, 2026
Merged

c-dilks merged 1 commit into
developmentfrom
mvn-clean-shade

Conversation

@c-dilks

@c-dilks c-dilks commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Remove the following dependencies from the shaded JAR (coat-libs.jar):

Dependency Notes
org.freehep:jminuit calcode may be consuming this, or the (newer) one provided by groot; in any case, calcode should depend explicitly on this, not transitively, so let's remove it here; note that here in coatjava, only the reconstruction/rich module uses jminuit
org.jama:jampack we don't use its Jampack classes anywhere here or downstream, but this dependency also includes some Jama classes such as Jama.Matrix; however, we also consume gov.nist.math:jama which has all the Jama classes we actually use; Jama classes are not used downstream
org.jlab.plugins:jMath completely unused
de.erichseifert:vectorgraphics2d unused here or anywhere downstream
net.objecthunter:exp4j unused here or anywhere downstream; however, it needs to be pinned in the parent POM's dependencyManagement in order to resolve a convergence conflict between jnp-hipo4 and jnp-hipo (and if we can be rid of jnp-hipo, we can remove this pin)

Remove the following dependencies from the shaded JAR (`coat-libs.jar`):

| Dependency | Notes |
| --- | --- |
| `org.freehep:jminuit` | `calcode` may be consuming this, or the (newer) one provided by `groot`; in any case, `calcode` should depend _explicitly on this, not transitively, so let's remove it here |
| `org.jama:jampack` | we don't use its `Jampack` classes anywhere here or downstream, but this dependency also includes some `Jama` classes such as `Jama.Matrix`; however, we also consume `gov.nist.math:jama` which has all the `Jama` classes we actually use |
| `org.jlab.plugins:jMath` | completely unused |
| `de.erichseifert:vectorgraphics2d` | unused here or anywhere downstream |
| `net.objecthunter:exp4j` | unused here or anywhere downstream; however, it needs to be pinned in the parent POM's `dependencyManagement` in order to resolve a convergence conflict between `jnp-hipo4` and `jnp-hipo` (and if we can be rid of `jnp-hipo`, we can remove this pin) |
@c-dilks
c-dilks merged commit 114ac09 into development Oct 7, 2026
25 checks passed
@c-dilks
c-dilks deleted the mvn-clean-shade branch October 7, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants