[xwiki/xwiki-dev-llm] cbc689: [Misc] Build with the JDK the branch targets, pref...
Branch: refs/heads/xmvn-when-available Home: https://github.com/xwiki/xwiki-dev-llm Commit: cbc689ba8bfbaa339da2888fffefbaada3b36c75 https://github.com/xwiki/xwiki-dev-llm/commit/cbc689ba8bfbaa339da2888fffefba... Author: Thomas Mortagne <[email protected]> Date: 2026-08-19 (Wed, 19 Aug 2026) Changed paths: M .claude-plugin/marketplace.json M kimi.plugin.json M opencode.jsonc M xwiki/.claude-plugin/plugin.json M xwiki/instructions/xwiki-org.md M xwiki/skills/xwiki-build/SKILL.md M xwiki/skills/xwiki-increase-test-coverage/SKILL.md Log Message: ----------- [Misc] Build with the JDK the branch targets, preferring xmvn * Add the rule to the org-wide instructions: whenever `xmvn` (from xwiki-dev-tools) is on the PATH, use it in place of `mvn` — it reads the target Java version from the pom and runs Maven with the matching JDK, which is one command instead of a version lookup plus an explicit JAVA_HOME. Without it, read `xwiki.java.version` from the root pom and set JAVA_HOME by hand. * Document in the xwiki-build skill what xmvn actually does, why it is preferred over selecting the JDK manually, and the failures a too-new JDK produces: JaCoCo aborting with "Unsupported class file major version" (which breaks every -Pquality build) and the Spoon plugin failing to add a URL to the system classloader. Both read as code or configuration problems and are neither. * Record that `sonar:sonar` has a JDK floor of its own, higher than the branch's Java level on the older lines, and that xmvn raises the version for it — so this is one more reason to prefer xmvn over a hand-picked JDK. Point at xmvn and xwiki-jenkins-pipeline's vars/configureJavaTool.groovy for the current floor rather than baking in a number that moves with the pinned sonar-maven-plugin version. * Point the xwiki-increase-test-coverage skill at xmvn too, since that is where the JaCoCo agent failure bites: on a too-new JDK it produces no coverage at all. * Bump the plugin version to 1.0.32 across all host manifests. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-dev-llm/settings/notifications
participants (1)
-
XWiki Notifications