[xwiki/xwiki-commons] 263e7e: XCOMMONS-3772: Don't run javac lint checks on gene...
Branch: refs/heads/XCOMMONS-3772 Home: https://github.com/xwiki/xwiki-commons Commit: 263e7e95c2ac112d2c991df809e2cd4cafba7132 https://github.com/xwiki/xwiki-commons/commit/263e7e95c2ac112d2c991df809e2cd... Author: Vincent Massol <[email protected]> Date: 2026-09-07 (Mon, 07 Sep 2026) Changed paths: M xwiki-commons-core/xwiki-commons-repository/xwiki-commons-repository-model/pom.xml M xwiki-commons-pom/pom.xml Log Message: ----------- XCOMMONS-3772: Don't run javac lint checks on generated sources * Add a xwiki.compiler.xlint property to xwiki-commons-pom, used for javac's -Xlint option, so that a module can switch off the lint categories it cannot be clean for. Document that it is only meant for modules where that is what we mean, since -Xlint applies to a whole javac invocation and not to a source path * Stop setting the compiler plugin's showDeprecation option: it passed an unconditional -deprecation to javac, which won over any -Xlint:-deprecation set by a module. Deprecation is already part of -Xlint, so nothing else changes * Switch deprecation and dep-ann off in xwiki-commons-repository-model, which contains no hand-written source: the XSD documents 2 elements as deprecated and XJC turns that into a javadoc @deprecated tag without the matching @Deprecated annotation, then generates fluent accessors that call the deprecated getters 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-commons/settings/notifications
participants (1)
-
XWiki Notifications