Repository navigation
Conversation
The plugin was declared with "latest.release", so Gradle asks the Plugin Portal for its newest version on every build. When that lookup fails, the build stops before any task runs, as in the Grammar Choice Conflicts job of JSQLParser#2973 ("Plugin [id: 'org.javacc.javacc', version: 'latest.release'] was not found"), while the other jobs of the same run resolved the plugin. 4.0.3 is the version that latest.release resolves to today, so the build does not change. The JavaCC engine, manticore-projects' javacc-core and javacc-java, is not affected. The Maven build already pins its JavaCC plugin. Signed-off-by: minleejae <mmj9808@gmail.com>
This branch has not been deployed
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.
The JavaCC Gradle plugin was declared with
latest.release, so every build asks the Gradle Plugin Portal for its newest version. When that lookup fails, the build stops before any task runs. This happened in the Grammar Choice Conflicts job of #2973, while the other jobs of the same run resolved the plugin:What changes
org.javacc.javaccis pinned to 4.0.3, the versionlatest.releaseresolves to today, so the build does not change.javacc-coreandjavacc-javafrom manticore-projects, is not affected. The other plugins keeplatest.release.The Maven build already pins its JavaCC plugin (
javacc-maven-plugin3.8.0).Validation
./gradlew buildEnvironmentresolvesorg.javacc.plugin:javacc-gradle-plugin:4.0.3before and after the change.gradle checkandcheckGrammarAmbiguitycompleted with 18,788 tests, 0 failures, 25 skipped, and no grammar choice conflicts.spotlessJavaCheckandspotlessMiscCheckreportCCJSqlParserTest.javaandCHANGELOG.md, which fail the same way on master.Prepared with Claude Code.