Remove all Java code and de-mavenize — monex is now pure XQuery#367
Open
joewiz wants to merge 1 commit intoeXist-db:masterfrom
Open
Remove all Java code and de-mavenize — monex is now pure XQuery#367joewiz wants to merge 1 commit intoeXist-db:masterfrom
joewiz wants to merge 1 commit intoeXist-db:masterfrom
Conversation
66688ef to
dfff072
Compare
dfff072 to
b9fedd1
Compare
BREAKING CHANGE: Requires eXist-db 7.0+ with WebSocket support. Build system migrated from Apache Maven to Node.js/Gulp, following the pattern established in eXist-db/semver.xq#69. Java removal (requires eXist-db/exist#6145 WebSocket module): - Removed all Java source (6 files, ~630 LOC) - WebSocket/Console functions now provided by exist-core - JMXToken reimplemented as pure XQuery monex:jmx-token() - JS clients updated: /rconsole → /ws - Cypress tests updated to match De-mavenization (modeled on eXist-db/semver.xq#69): - Replaced pom.xml + xar-assembly.xml with package.json + gulpfile.js - XAR built via gulp: template substitution → copy → zip - expath-pkg.xml.tmpl and repo.xml.tmpl with @variable@ placeholders - build.xml Ant wrapper for backward compatibility - New GitHub Actions CI workflow (Node.js-based) - npm run build / npm run deploy / npm test Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c4075b7 to
ee104a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes all Java code from monex and replaces the Maven build system with Node.js/Gulp, following the pattern established in eXist-db/semver.xq#69. Monex becomes a pure XQuery/XAR application with fully automated releases.
Depends on: eXist-db/exist#6145 (WebSocket module), which depends on eXist-db/exist#6144 (Jetty 12).
Java Removal
Removed: entire
src/main/java/tree (6 files)RemoteConsoleEndpointWebSocketEndpoint(/ws)RemoteConsoleAdapterWebSocketAdapterConsoleAdapterConsoleAdapterinterfaceConsoleModuleConsoleCompatModuleLogConsoleCompatFunctionsJMXTokenmonex:jmx-token()De-mavenization (modeled on semver.xq#69)
Build system: Maven → Node.js/Gulp
pom.xmlpackage.json(version, metadata, scripts, deps)xar-assembly.xmlgulpfile.js(template → copy → zip pipeline)xquery-license-style.xmlexpath-pkg.xml.tmpl+repo.xml.tmplAutomated releases: semantic-release
.releasercscripts/update-repo-changelog.js<change>intorepo.xml.tmplcommitlint.config.js.husky/commit-msg.github/workflows/commitlint.ymlRelease flow
On merge to
master:@semantic-release/commit-analyzerdetermines version bump from conventional commits@semantic-release/execupdatespackage.jsonversion + inserts changelog entry@semantic-release/gitcommitspackage.json+repo.xml.tmpl@semantic-release/githubcreates GitHub release with XAR attachedBuild commands
Test Results (local, against eXist 7.0-SNAPSHOT with eXist-db/exist#6145)
🤖 Generated with Claude Code