Skip to content

remove rogue clara jar#1146

Closed
baltzell wants to merge 9 commits intodevelopmentfrom
rogue-clara-jar
Closed

remove rogue clara jar#1146
baltzell wants to merge 9 commits intodevelopmentfrom
rogue-clara-jar

Conversation

@baltzell
Copy link
Collaborator

@baltzell baltzell commented Mar 13, 2026

There's a jclara-4.3.jar in this repo, which gets installed via COATJAVA's build script into coatjava/lib/utils. That "rogue" jar serves (only) as a runtime dependency for the components of COATJAVA that extend CLARA, when run from outside CLARA, e.g. recon-util. Meanwhile, a normal CLARA installation also includes its own jclara jar, which CLARA runtime uses while explicitly ignoring coatjava/lib/utils. COATJAVA's maven build also ignores this rogue jar.

This pull request takes a small step in cleaning this up by:

  1. Removing the rogue jclara jar from coatjava's source repository.
  2. Instead using maven to retrieve and install a remote copy of that jar in coatjava/lib/utils
  3. Updating the maven build to use a new, non-SNAPSHOT jclara 4.3 maven repository

Also, as a prerequisite, a non-SNAPSHOT 4.3 maven repo was manually created on clasweb (by copying 4.3-SNAPSHOT).

  • Note, by construction, the resulting coatjava/lib/utils/jclara-4.3.jar is identical in filesize and jar tf output.
  • Note, this also facilitates moving away from this legacy jclara 4.3 dependency towards a maintained maven repo based on https://code.jlab.org/hallb/clas12/coatjava/clara-java.
  • Note, CLARA versions after 4.3 only change CLARA runtime.

@baltzell baltzell marked this pull request as ready for review March 16, 2026 23:06
@baltzell baltzell closed this Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant