Create java-dependencies.md#545
Closed
JordtenBulte wants to merge 1 commit intomendixlabs:mainfrom
Closed
Conversation
I was working with mxcli on a test project and trying to push its boudaries. Found adding java dependencies is not (yet) supported in MDL. Therefore, I made claude write a skill to make it aware. Please review the skill thoroughly. It worked for me but I am not a good enough developer to be certain on this.
Collaborator
|
Thanks for this @JordtenBulte — you identified a real gap and the workaround skill you wrote is accurate for the current state. Good news: the feature is now implemented. The -- Add a dependency
ALTER MODULE MyModule
ADD JAR DEPENDENCY (
group = 'org.duckdb',
artifact = 'duckdb_jdbc',
version = '1.1.3',
included = true,
);
-- Update version
ALTER MODULE MyModule SET JAR DEPENDENCY 'org.duckdb:duckdb_jdbc' VERSION '1.2.0';
-- Toggle inclusion
ALTER MODULE MyModule SET JAR DEPENDENCY 'org.duckdb:duckdb_jdbc' INCLUDED false;
-- Add/drop transitive exclusion
ALTER MODULE MyModule SET JAR DEPENDENCY 'org.duckdb:duckdb_jdbc' ADD EXCLUSION 'com.example:lib';
-- Remove
ALTER MODULE MyModule DROP JAR DEPENDENCY 'org.duckdb:duckdb_jdbc';
-- List and describe
LIST JAR DEPENDENCIES IN MyModule;
DESCRIBE JAR DEPENDENCY MyModule 'org.duckdb:duckdb_jdbc';The implementation includes:
The skill in this PR correctly documented what was true at the time, but it's been superseded. I'll close this PR since the feature and documentation are now covered in the implementation. Thanks again for the report — the BSON investigation you prompted helped define the storage format correctly! |
Collaborator
|
Closing — the feature is now implemented in MDL (see comment above). The skill has been updated with correct MDL syntax in the implementation branch. |
ako
added a commit
that referenced
this pull request
May 10, 2026
Adds the user-facing documentation companion to the MDL-JARDEP implementation: - .claude/skills/mendix/java-dependencies.md — synced skill covering all MDL commands (LIST, DESCRIBE, ALTER MODULE ADD/SET/DROP), coordinate format, Jackson version gotcha, and Gradle resolution note. Supersedes the workaround-only approach proposed in PR #545. - docs-site/src/reference/jar-dependency/ — three reference pages: README.md (index), alter-module-jar-dependency.md, list-describe-jar-dependency.md - docs-site/src/SUMMARY.md — JAR Dependency Statements section added after Organization Statements Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
I was working with mxcli on a test project and trying to push its boundaries. Found adding java dependencies is not (yet) supported in MDL. Therefore, I made claude write a skill to make it aware. Please review the skill thoroughly. It worked for me but I am not a good enough developer to be certain on this.