Skip to content

chore(build): exclude gradle artifacts and eclipse workspace data#1

Closed
harangu wants to merge 0 commit intomainfrom
kilocode/cleanup
Closed

chore(build): exclude gradle artifacts and eclipse workspace data#1
harangu wants to merge 0 commit intomainfrom
kilocode/cleanup

Conversation

@harangu
Copy link
Copy Markdown
Owner

@harangu harangu commented Mar 7, 2026

Introduce ignores for .gradle/ paths and **/.metadata/ to avoid committing transient build outputs and IDE workspace files, promoting a cleaner project repository

Summary by CodeRabbit

  • Chores
    • Updated Gradle wrapper to version 2.3 for improved build performance and reliability.
    • Refreshed build dependencies and Maven package metadata to ensure all libraries are up-to-date and properly cached.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 7, 2026

📝 Walkthrough

Walkthrough

Gradle build cache initialization adding Maven POMs, Ivy module descriptors, and Gradle wrapper files. Includes dependency metadata for libraries like HttpComponents, Guava, Commons projects, and Minecraft-related tools. Also reformats .gitignore to use escaped newlines in a single line.

Changes

Cohort / File(s) Summary
Git Configuration
.gitignore
Reformatted from multi-line to single-line format with escaped newlines, preserving same ignored paths.
Gradle Script Caches
.gradle/caches/2.3/scripts/build_dqdlz9jwt867x7yghevel9t24/.../*, .gradle/caches/2.3/scripts/settings_97r8proido0vlfqeiy1zcq9gz/.../*
Added cache.properties metadata files tracking source hashes and build/settings script locations for Gradle caching mechanism.
Minecraft Mappings
.gradle/caches/minecraft/McpMappings.json
Added JSON mapping file with Minecraft versions and MCP snapshot/stable date collections.
Maven POMs - Apache & OSS Parents
.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/.../*.pom, .gradle/caches/modules-2/files-2.1/org.apache/apache/.../*.pom, .gradle/caches/modules-2/files-2.1/org.sonatype.oss/oss-parent/.../*.pom
Added parent POM files defining centralized Maven plugin configurations, release workflows, and build management for multi-module projects.
Maven POMs - HTTP & Core Libraries
.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/.../*.pom, .gradle/caches/modules-2/files-2.1/commons-codec/.../*.pom, .gradle/caches/modules-2/files-2.1/commons-io/.../*.pom, .gradle/caches/modules-2/files-2.1/commons-logging/.../*.pom
Added POM files for Apache HttpComponents, Commons codecs and utilities with dependencies, plugins, and reporting configurations.
Maven POMs - Google & Build Tools
.gradle/caches/modules-2/files-2.1/com.google.guava/.../*.pom, .gradle/caches/modules-2/files-2.1/com.google.code.gson/.../*.pom, .gradle/caches/modules-2/files-2.1/net.md-5/SpecialSource/.../*.pom, .gradle/caches/modules-2/files-2.1/de.oceanlabs.mcp/.../*.pom
Added POM files for Guava, Gson, SpecialSource, RetroGuard, and mcinjector with build configurations and plugin management.
Maven POMs - Utility Libraries
.gradle/caches/modules-2/files-2.1/com.nothome/javaxdelta/.../*.pom, .gradle/caches/modules-2/files-2.1/com.github.*/.../*.pom, .gradle/caches/modules-2/files-2.1/net.sf.*/.../*.pom, .gradle/caches/modules-2/files-2.1/trove/trove/.../*.pom, .gradle/caches/modules-2/files-2.1/org.jvnet.localizer/.../*.pom, .gradle/caches/modules-2/files-2.1/org.ow2.asm/.../*.pom
Added POM files for LZMA, jAstyle, diff4j, named-regexp, opencsv, jopt-simple, Trove, localizer, and ASM libraries with dependencies and Maven configurations.
Maven POMs - Gradle Integration
.gradle/caches/modules-2/files-2.1/net.minecraftforge.gradle/ForgeGradle/.../*.pom, .gradle/caches/modules-2/files-2.1/com.cloudbees/.../*.pom
Added POM files for ForgeGradle and CloudBees artifacts defining gradle plugin dependencies and configurations.
Ivy Descriptors
.gradle/caches/modules-2/metadata-2.14/descriptors/.../ivy.xml (60+ files)
Added Ivy module descriptors for all cached dependencies, defining configurations (compile, runtime, test, etc.), dependency mappings, and publication metadata.
Gradle Wrapper
.gradle/wrapper/dists/gradle-2.3-bin/.../LICENSE, .gradle/wrapper/dists/gradle-2.3-bin/.../NOTICE, .gradle/wrapper/dists/gradle-2.3-bin/.../bin/gradle, .gradle/wrapper/dists/gradle-2.3-bin/.../bin/gradle.bat, .gradle/wrapper/dists/gradle-2.3-bin/.../changelog.txt, .gradle/wrapper/dists/gradle-2.3-bin/.../init.d/readme.txt
Added Gradle 2.3 wrapper distribution files including Unix/Windows startup scripts, license documentation, and build initialization notes.

Estimated Code Review Effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 Carrots and caches, now bundled with care,
Ivy and Maven, libraries everywhere,
Gradle's wardrobe is finally here,
HttpComponents, Guava so dear,
Build tools nested, all organized tight,
A warren of dependencies, now in plain sight! 🥕

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch kilocode/cleanup

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 22

Note

Due to the large number of review comments, Critical severity comments were prioritized as inline comments.

♻️ Duplicate comments (12)
.gradle/caches/modules-2/metadata-2.14/descriptors/com.google.guava/guava/18.0/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml (1)

1-27: ⚠️ Potential issue | 🔴 Critical

Same issue: Do not commit Gradle cache files.

This is another auto-generated file in .gradle/caches/ that should not be committed. See the comment on the previous file for details.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/com.google.guava/guava/18.0/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 27, This auto-generated Gradle cache artifact (module
"com.google.guava" module="guava" revision="18.0") should not be committed;
remove it from the repository and ignore future cache files by removing the file
from the commit (git rm --cached or equivalent), add a rule to .gitignore to
exclude .gradle/ or .gradle/caches/**, and commit the updated .gitignore and the
removal so the cache file is no longer tracked.
.gradle/caches/modules-2/files-2.1/com.google.guava/guava/18.0/2ec12f8d27a64e970b8be0fbd1d52dfec51cd41c/guava-18.0.pom (1)

1-149: ⚠️ Potential issue | 🔴 Critical

Same issue: Do not commit cached dependency files.

This is a Maven POM file cached by Gradle in .gradle/caches/modules-2/files-2.1/. Gradle automatically downloads and caches these files when resolving dependencies. They should be excluded from version control, not committed.

Recommended action: Remove all .gradle/ files from this PR and ensure .gitignore contains:

.gradle/
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.google.guava/guava/18.0/2ec12f8d27a64e970b8be0fbd1d52dfec51cd41c/guava-18.0.pom
around lines 1 - 149, A Gradle-cached Maven POM for the Guava artifact
(groupId=com.google.guava, artifactId=guava) was committed from the Gradle
cache; remove the cached dependency files from the PR (unstage/delete the cached
files coming from the Gradle cache), add a .gradle/ ignore rule to .gitignore to
prevent re-committing, and create a follow-up commit that only removes those
cache files and updates .gitignore so future builds won’t reintroduce them.
.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpcore/4.3.2/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml (1)

1-24: ⚠️ Potential issue | 🔴 Critical

Remove this Gradle cache file from version control.

Same issue as previously noted - this httpcore Ivy descriptor is part of Gradle's transient dependency cache and should not be committed.

Remediation for all .gradle/ files:

  1. Remove all .gradle/ files from this PR
  2. Add .gradle/ to .gitignore
  3. If these files were already committed previously, run: git rm -r --cached .gradle/

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpcore/4.3.2/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 24, This file under the .gradle cache (the httpcore ivy
descriptor) must be removed from the PR and ignored going forward: delete the
committed .gradle/ cache files (including this ivy.xml), add .gradle/ to
.gitignore, and if these were previously committed run a cached remove (e.g.,
git rm -r --cached .gradle/) to stop tracking them; ensure only build artifacts
remain local and re-run the commit without the .gradle/ files.
.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpclient/4.3.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml (1)

1-26: ⚠️ Potential issue | 🔴 Critical

Remove this Gradle cache file from version control.

Same issue as previously noted - this httpclient Ivy descriptor is part of Gradle's transient dependency cache and should not be committed.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpclient/4.3.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 26, This ivy descriptor (org.apache.httpcomponents httpclient
rev="4.3.3" in the <ivy-module>) is a transient Gradle cache artifact and must
be removed from version control: delete this file from the repo (use git rm
--cached if you need to keep it locally), add the Gradle cache pattern (e.g.,
.gradle/ or similar) to .gitignore to prevent future commits, and commit the
change; also scan for other cached ivy/xml files and remove them similarly.
.gradle/caches/modules-2/metadata-2.14/descriptors/commons-logging/commons-logging/1.1.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml (1)

1-27: ⚠️ Potential issue | 🔴 Critical

Remove this Gradle cache file from version control.

Same issue as the commons-codec ivy.xml - this file is part of Gradle's transient dependency cache and should not be committed. See the comment on the first file for the full explanation.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/commons-logging/commons-logging/1.1.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 27, This file is a Gradle transient dependency cache
(ivy-module with organisation="commons-logging" and module="commons-logging")
and should be removed from version control: delete the tracked file from Git
history (git rm --cached <the-file>), add an appropriate ignore rule for Gradle
caches (e.g., ignore .gradle/** or the specific cache pattern) to .gitignore,
commit the removal and .gitignore change, and ensure other similar ivy.xml cache
files are also untracked (repeat git rm --cached for any other commons-* ivy.xml
cache entries).
.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpmime/4.3.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml (1)

1-23: ⚠️ Potential issue | 🔴 Critical

Remove this Gradle cache file from version control.

Same issue as previously noted - this httpmime Ivy descriptor is part of Gradle's transient dependency cache and should not be committed.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpmime/4.3.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 23, This ivy cache file (the ivy-module describing dependency
org.apache.httpcomponents:name="httpmime" rev="4.3.3") should not be in source
control—remove it from the repo (unstage/delete the tracked file) and commit
that removal, then add an ignore rule for Gradle cache files (e.g., ignore
.gradle/caches and Ivy descriptor patterns) to your project's ignore
configuration so transient Gradle cache files like this aren't committed again.
Ensure the commit only removes the cached artifact (the ivy-module entry) and
includes the updated ignore entry.
.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/bin/gradle.bat (1)

1-90: ⚠️ Potential issue | 🔴 Critical

Should not be committed — part of .gradle/ transient cache.

This Windows batch script is part of the auto-downloaded Gradle distribution. The static analysis warnings (Unix line endings, variable expansion issues) are secondary concerns since this file should not be in version control at all.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/bin/gradle.bat
around lines 1 - 90, This file (.gradle/.../gradle.bat) is a transient Gradle
distribution artifact and must be removed from version control: delete the
tracked file from the repository index (stop committing files under the .gradle
directory), add an entry to ignore the .gradle/ directory in the repo's ignore
file so future auto-downloaded Gradle artifacts are not tracked, and commit that
change; ensure any collaborators update by removing the file from their clones
or running a fresh checkout.
.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/bin/gradle (1)

1-164: ⚠️ Potential issue | 🔴 Critical

Should not be committed — part of .gradle/ transient cache.

This Gradle startup script is auto-extracted from the Gradle distribution archive. Remove along with all other .gradle/ contents.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/bin/gradle
around lines 1 - 164, This file (Gradle startup script containing symbols like
APP_HOME, DEFAULT_JVM_OPTS, splitJvmOpts, and the final exec "$JAVACMD" ...) is
part of the transient .gradle cache and must not be committed; remove it from
the repo and stop future commits by adding the .gradle/ directory to gitignore
(or ensure .gradle/ is listed in .git/info/exclude), then remove the tracked
file with git rm --cached and commit the change so the auto-extracted gradle
startup script is no longer tracked.
.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/NOTICE (1)

1-21: ⚠️ Potential issue | 🔴 Critical

Should not be committed — part of .gradle/ transient cache.

This NOTICE file belongs to the Gradle distribution cache. It should be excluded, not committed.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/NOTICE
around lines 1 - 21, The NOTICE file from the Gradle distribution (the committed
NOTICE under the .gradle cache) should not be in the repo; remove it from
version control and prevent recurrence by adding the .gradle directory to
gitignore. Specifically, run git rm --cached for the NOTICE file (or remove the
committed .gradle cache entries), add ".gradle/" to .gitignore, and commit the
removal and updated .gitignore so the NOTICE file (and other transient Gradle
cache files) are no longer tracked.
.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/init.d/readme.txt (1)

1-1: ⚠️ Potential issue | 🔴 Critical

Should not be committed — part of .gradle/ transient cache.

Same issue as other .gradle/ files: this contradicts the PR's stated objective to exclude .gradle/ paths.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/init.d/readme.txt
at line 1, The readme.txt under the transient .gradle init scripts directory was
accidentally committed; remove this file from the commit and ensure .gradle/ is
ignored going forward by adding/existing rule in .gitignore and
unstaging/removing any other .gradle files—e.g., remove the committed readme.txt
from the branch (git rm or git rm --cached and amend the commit) and verify the
.gitignore contains a rule to exclude .gradle/ so no .gradle init scripts or
other transient files are included in future commits.
.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/LICENSE (1)

1-977: ⚠️ Potential issue | 🔴 Critical

Should not be committed — part of .gradle/ transient cache.

This LICENSE file is part of the auto-downloaded Gradle distribution and should be excluded.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/LICENSE
around lines 1 - 977, The committed LICENSE from the Gradle distribution (the
large "Apache License ... LICENSE" file) is transient cache and must be removed
from the repo: remove the file from the commit/index (git rm --cached <file>),
delete it from the branch, and add the `.gradle/` directory to .gitignore so
future auto-downloaded Gradle files (including LICENSE) are not tracked; ensure
you amend the commit or create a follow-up commit that deletes the LICENSE and
updates .gitignore and verify no other files under `.gradle/` remain staged.
.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/28/9ff25b2866ef063a8828ba67d1e35c78f73e830a/commons-parent-28.pom (1)

1-1255: ⚠️ Potential issue | 🔴 Critical

Should not be committed — this is Gradle's dependency cache.

This Maven POM file is part of .gradle/caches/, which stores downloaded dependency metadata. Committing cache files:

  • Bloats the repository unnecessarily
  • Causes merge conflicts when different developers resolve dependencies
  • Contradicts the PR's stated objective to exclude .gradle/ paths

Remove this and all other .gradle/ contents after fixing the .gitignore format issue.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/28/9ff25b2866ef063a8828ba67d1e35c78f73e830a/commons-parent-28.pom
around lines 1 - 1255, This commit accidentally includes a dependency cache file
(commons-parent-28.pom) from the build system; remove that file and any other
cached dependency artifacts from the commit, update the repository ignore rules
to prevent committing build caches (add the appropriate Gradle cache pattern to
.gitignore), and unstage/remove cached files from git (e.g. use git rm --cached
for the offending cache files) before recommitting; ensure the artifactId/name
"commons-parent" (version 28 / commons-parent-28.pom) is not tracked and verify
no other entries under the build cache were included.
🟠 Major comments (33)
.gradle/caches/minecraft/McpMappings.json-1-1 (1)

1-1: ⚠️ Potential issue | 🟠 Major

Remove this generated Gradle cache file from the PR.

This path is under .gradle/caches/, so it is transient build metadata rather than source. Committing it contradicts the PR’s cleanup goal and will create noisy, machine-specific diffs. Please drop this file from the change set and keep the ignore rule as the durable fix.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gradle/caches/minecraft/McpMappings.json at line 1, This PR accidentally
includes a generated Gradle cache file (.gradle/caches/McpMappings.json) which
should be removed from the change set; remove the file from Git (e.g., git rm
--cached or restore and remove from the commit), commit that removal, and ensure
the repository ignores such files by adding or verifying an entry that ignores
the .gradle/ directory (or the specific caches/McpMappings.json pattern) in
.gitignore so the generated cache is not re-added.
.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/db1255f68b642cf4dc455d11e4bd29ad7d6548d9/asm-debug-all-5.0.3.pom-1-45 (1)

1-45: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache artifacts from the PR.

This file is machine-local Gradle cache content, not repository source. Checking in .gradle/caches/... defeats the PR’s stated goal of excluding transient build outputs and also vendors third-party metadata into the repo unnecessarily. Please drop this file from the change set and rely on .gitignore to keep .gradle/ out of version control.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/db1255f68b642cf4dc455d11e4bd29ad7d6548d9/asm-debug-all-5.0.3.pom
around lines 1 - 45, This change includes a machine-local Gradle cache file (the
POM for artifactId "asm-debug-all" / groupId "org.ow2.asm") that should not be
checked in; remove the committed .gradle/caches/... file from the PR (delete it
from the branch/commit history or run git rm --cached and commit the removal),
ensure the repository .gitignore excludes .gradle/ so it isn’t re-added, and
update the branch so only source files remain in the PR.
.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-parent/5.0.3/f2b915adcf47fab0e17bccf47390aa206eba7937/asm-parent-5.0.3.pom-1-163 (1)

1-163: ⚠️ Potential issue | 🟠 Major

Remove this generated Gradle cache artifact from the PR.

This POM is third-party dependency metadata under .gradle/caches/..., so it should not be versioned. Keeping it here defeats the PR’s stated goal of excluding Gradle artifacts and will pollute the repo with transient machine-local files.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-parent/5.0.3/f2b915adcf47fab0e17bccf47390aa206eba7937/asm-parent-5.0.3.pom
around lines 1 - 163, This PR accidentally includes a generated Gradle cache POM
(artifactId "asm-parent", groupId "org.ow2.asm", version "5.0.3"); remove that
file from the commit (unstage/revert the added file), run git rm --cached if
already committed, and update the repo ignore rules to exclude Gradle caches
(e.g., add a pattern to .gitignore to ignore .gradle/caches) so this transient
third-party metadata isn’t reintroduced, then commit the .gitignore change and
re-run the PR build.
.gradle/caches/modules-2/files-2.1/org.sonatype.oss/oss-parent/7/46b8a785b60a2767095b8611613b58577e96d4c9/oss-parent-7.pom-1-155 (1)

1-155: ⚠️ Potential issue | 🟠 Major

Remove this committed Gradle cache artifact from the PR.

This file is under .gradle/caches/... and is generated dependency metadata, not repository source. Including it defeats the stated goal of excluding Gradle artifacts and will create unnecessary repo churn. Please drop this file from the change set and let .gitignore prevent it from reappearing.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.sonatype.oss/oss-parent/7/46b8a785b60a2767095b8611613b58577e96d4c9/oss-parent-7.pom
around lines 1 - 155, The PR contains a generated Gradle cache artifact (POM
with artifactId "oss-parent", groupId "org.sonatype.oss", version "7") that
should not be committed; remove that file from the change set by deleting it
from the commit history or staging area (drop it from the branch / amend the
commit or create a new commit that removes it) and ensure your .gitignore
excludes generated Gradle cache files so it won't be re-added; after removal,
push the updated branch so the PR no longer includes the generated artifact.
.gradle/caches/modules-2/files-2.1/org.sonatype.oss/oss-parent/9/e5cdc4d23b86d79c436f16fed20853284e868f65/oss-parent-9.pom-1-156 (1)

1-156: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache artifacts from the PR.

This file is local Gradle dependency cache state, not repository source. Committing .gradle/caches/** directly contradicts the PR objective and will keep adding bulky, stale third-party metadata to git history. Please drop this file from the change set and rely on .gitignore to exclude the entire .gradle/ tree instead.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.sonatype.oss/oss-parent/9/e5cdc4d23b86d79c436f16fed20853284e868f65/oss-parent-9.pom
around lines 1 - 156, This change accidentally includes a local Gradle cache POM
(artifactId "oss-parent") that must be removed from the PR: remove the committed
cache file from the index (git rm --cached <the cached file>), add or ensure
".gradle/" is listed in .gitignore, commit the removal and updated .gitignore,
and force-push the branch if necessary so the PR no longer contains the Gradle
cache artifact; verify the repository only contains real source POMs (e.g., the
project <project> / <artifactId>oss-parent</artifactId> content should not live
under the Gradle cache).
.gradle/caches/modules-2/files-2.1/com.github.abrarsyed.jastyle/jAstyle/1.2/a74316d919d133a000baf0098d7c25b21165b082/jAstyle-1.2.pom-1-64 (1)

1-64: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache artifacts from the PR.

This file is a machine-local Gradle dependency cache entry, so it should not be versioned. Its presence under .gradle/caches/... directly conflicts with the PR goal of excluding Gradle artifacts and will keep transient third-party metadata in the repo.

At minimum, remove tracked .gradle/ contents from the index in addition to adding ignore rules, otherwise already-added cache files like this will continue to show up.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.github.abrarsyed.jastyle/jAstyle/1.2/a74316d919d133a000baf0098d7c25b21165b082/jAstyle-1.2.pom
around lines 1 - 64, The PR accidentally includes a Gradle dependency cache POM
(artifactId jAstyle, groupId com.github.abrarsyed.jastyle, version 1.2) that
must be removed from the repository; remove the cached file from the Git index
(git rm --cached <file>), add a rule to .gitignore to exclude .gradle/ cache
artifacts, and commit the removal and updated .gitignore so transient Gradle
files stop being tracked. Ensure you only remove the cached entry from the index
(not necessary to delete local files) and verify with git status that no other
.gradle/caches entries remain staged.
.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpmime/4.3.3/59065bb2ebb28c71ff86458db7d045e923de6377/httpmime-4.3.3.pom-1-147 (1)

1-147: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache artifacts from the PR.

This file is a local .gradle/caches/** dependency artifact, not repository-owned source. Checking it in defeats the PR’s cleanup goal and will add noisy, machine-specific churn to Git history. Please drop this file from the PR and make sure the ignore rules cover the entire .gradle/ tree so these artifacts stay untracked.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpmime/4.3.3/59065bb2ebb28c71ff86458db7d045e923de6377/httpmime-4.3.3.pom
around lines 1 - 147, This PR accidentally includes a Gradle cache artifact (the
Maven POM content with <artifactId>httpmime</artifactId> and parent
<groupId>org.apache.httpcomponents</groupId>), so remove that file from the
commit/PR (unstage/delete the tracked cache file) and update repository ignore
rules to add the entire .gradle/ tree so future cache files are not tracked;
ensure the change removes the file from history in the branch (git rm --cached
or equivalent) and add a .gitignore entry to cover .gradle/**.
.gradle/caches/modules-2/files-2.1/com.nothome/javaxdelta/2.0.1/96075165da0424e4e3c268f647cc9d618c268a5a/javaxdelta-2.0.1.pom-1-142 (1)

1-142: ⚠️ Potential issue | 🟠 Major

Remove tracked Gradle cache artifacts from the PR.

This file is a generated dependency cache entry under .gradle/caches, so it should not be versioned. Including it defeats the PR’s stated goal of excluding Gradle artifacts, and .gitignore alone will not stop already tracked .gradle files from staying in the repo.

Please drop this file from the PR and untrack any existing .gradle/** entries from Git’s index.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.nothome/javaxdelta/2.0.1/96075165da0424e4e3c268f647cc9d618c268a5a/javaxdelta-2.0.1.pom
around lines 1 - 142, This PR accidentally includes a generated Gradle cache
artifact (the javaxdelta-2.0.1.pom entry under the Gradle cache), so remove that
file from the commit and stop tracking all Gradle cache files: remove the
tracked .gradle cache entries from Git’s index (untrack them), commit that
removal, and ensure .gradle/** is present in .gitignore so future cache files
are not added; target the cached artifact named javaxdelta-2.0.1.pom (and other
entries under the Gradle cache) when cleaning the index.
.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpcomponents-client/4.3.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-20 (1)

1-20: ⚠️ Potential issue | 🟠 Major

Remove generated Gradle cache artifacts from this PR.

This file is under .gradle/caches/..., so it is transient machine-local metadata, not source. Including it contradicts the PR’s stated goal of excluding Gradle artifacts and will keep polluting history unless it is removed from the index as well as ignored.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.httpcomponents/httpcomponents-client/4.3.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 20, This PR accidentally includes a generated Gradle cache
artifact (the ivy.xml for module "httpcomponents-client")—remove it from the
commit and prevent future inclusion by untracking the file and updating ignore
rules; specifically, remove the ivy.xml entry from the index (stop tracking the
generated artifact), add an ignore rule that covers Gradle caches (e.g., a
.gradle/caches/** pattern) so files like ivy.xml are not re-added, and create a
new commit that deletes the tracked ivy.xml while leaving local cache files
intact. Ensure the commit message notes removal of the generated Gradle cache
artifact and verify the file "ivy.xml" for module "httpcomponents-client" no
longer appears in git status or the PR.
.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/2.1.0/611aa329fad5ea9d27d850255a040f58614de071/trove4j-2.1.0.pom-1-38 (1)

1-38: ⚠️ Potential issue | 🟠 Major

Remove generated Gradle cache artifacts from the PR.

This file is under .gradle/caches/... and appears to be dependency metadata generated by Gradle, not repository-owned source. Keeping it in the PR defeats the stated objective of excluding transient build artifacts and will add a lot of noisy churn to future diffs. Please drop this file and the rest of the .gradle/ cache contents from version control, then rely on .gitignore for prevention going forward.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/2.1.0/611aa329fad5ea9d27d850255a040f58614de071/trove4j-2.1.0.pom
around lines 1 - 38, Remove the generated Gradle cache artifact (the trove4j pom
with artifactId "trove4j" and version "2.1.0") from the PR and stop committing
transient build cache files: delete the cached file from the commit (remove it
from the index/commit), add a rule to ignore Gradle caches (ensure .gradle/ is
in .gitignore), and verify no other files under Gradle cache directories are
staged before committing so only repository-owned source remains.
.gradle/caches/modules-2/metadata-2.14/descriptors/commons-io/commons-io/1.4/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-22 (1)

1-22: ⚠️ Potential issue | 🟠 Major

Remove this generated Gradle cache artifact from the PR.

This file lives under .gradle/caches/... and is machine-generated dependency metadata, so committing it defeats the PR’s goal of excluding transient Gradle artifacts. Keeping it in the repo will create noisy, timestamp-driven diffs without adding source value.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/commons-io/commons-io/1.4/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 22, This PR includes a generated Gradle cache artifact (the
ivy.xml ivy-module metadata) that should not be committed: remove that file from
the commit (unstage/remove it from the index), add an ignore rule for Gradle
caches (e.g., ignore .gradle/ or the relevant cache pattern) to .gitignore, and
commit the changes so the generated metadata no longer appears in diffs; if the
file was already committed to the branch use git rm --cached to remove it from
the repo while keeping it locally before committing the .gitignore update.
.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/13ec787d4bace3aa44734f4196cb659041785339/httpcore-4.3.2.pom-1-144 (1)

1-144: ⚠️ Potential issue | 🟠 Major

This should stay ignored, not committed.

.gradle/caches content is machine-generated build state. Checking in this POM will vendor local cache data into the repo and undermine the ignore cleanup this PR is supposed to introduce. Please remove it from version control along with the rest of the tracked .gradle/ artifacts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/13ec787d4bace3aa44734f4196cb659041785339/httpcore-4.3.2.pom
around lines 1 - 144, The committed machine-generated Gradle cache POM
(artifactId "httpcore" in the pasted POM) should not be tracked; remove this
file from version control and ensure generated .gradle artifacts stay ignored:
remove the tracked .gradle/caches file from the index (git rm --cached the
offending file), commit that removal, and update the repository ignore rules so
the .gradle/ directory (and its caches) are excluded going forward before
committing.
.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/3131ca0098dff459777810577b58e18fae2ea439/httpclient-4.3.3.pom-1-164 (1)

1-164: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache artifacts from the PR.

This file is a transient dependency descriptor under .gradle/caches/..., not repository-owned source. Keeping it tracked directly contradicts the PR goal of ignoring .gradle/, and it will create noisy diffs whenever local dependency resolution changes. Please drop this file from the PR and untrack the cache directory instead.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/3131ca0098dff459777810577b58e18fae2ea439/httpclient-4.3.3.pom
around lines 1 - 164, This PR accidentally includes a transient Gradle cache
file (.gradle/caches/.../httpclient-4.3.3.pom); remove that file from the commit
and stop tracking the .gradle cache directory. Specifically, delete/unstage the
committed .gradle/caches/.../httpclient-4.3.3.pom entry from the repo, add a
rule to .gitignore to ignore .gradle/ (or the appropriate cache pattern), and
untrack the existing cached .gradle files so future local dependency resolution
won't show up in diffs; then commit the removal and updated .gitignore.
.gradle/caches/modules-2/metadata-2.14/descriptors/net.sf.jopt-simple/jopt-simple/4.7/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-30 (1)

1-30: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache metadata from this PR.

This ivy.xml lives under .gradle/caches/... and is generated dependency metadata, not repository source. Keeping it in Git adds machine-local build artifacts and directly conflicts with the PR’s cleanup goal of excluding Gradle artifacts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/net.sf.jopt-simple/jopt-simple/4.7/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 30, This diff commits generated Gradle cache metadata (the
<ivy-module> entry for module="jopt-simple" revision="4.7") which must be
removed: delete the committed file from the branch, remove it from the index
(git rm --cached or git rm) and commit the deletion, and update .gitignore to
exclude Gradle caches (e.g., .gradle/caches/) so future generated files like
this <ivy-module> are not tracked; ensure the commit only removes the generated
artifact and does not modify source files.
.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.commons/commons-parent/22/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-19 (1)

1-19: ⚠️ Potential issue | 🟠 Major

Remove generated Gradle cache metadata from the PR.

This file lives under .gradle/caches, so it is local build state, not source. Committing it defeats the PR’s stated goal of excluding transient Gradle artifacts and will cause noisy, machine-specific churn in future diffs. Please drop this file and any similar .gradle/** cache entries from the change set.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.apache.commons/commons-parent/22/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 19, A generated Gradle cache metadata file was accidentally
committed; remove it from the PR by deleting the cached file(s) from the repo
index (unstage/remove the generated cache entry), add an exclusion for Gradle
cache artifacts (e.g., the .gradle/** pattern) to the repository ignore so they
are not re-added, then amend the commit (or create a new commit) to update the
branch and push the change; also scan the PR for any other .gradle cache files
and remove them the same way.
.gradle/caches/modules-2/metadata-2.14/descriptors/org.sonatype.oss/oss-parent/7/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-19 (1)

1-19: ⚠️ Potential issue | 🟠 Major

Remove tracked Gradle cache artifacts from the PR.

This file is generated Gradle cache metadata under .gradle/caches, so it directly contradicts the PR goal of excluding .gradle/ artifacts. Keeping these files versioned will add machine-specific churn and noisy diffs without contributing source code.

Suggested cleanup
- .gradle/caches/modules-2/metadata-2.14/descriptors/org.sonatype.oss/oss-parent/7/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml

Also make sure the ignore rule is paired with untracking already-added files, e.g. remove cached .gradle/ entries from the index before merging.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.sonatype.oss/oss-parent/7/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 19, A tracked Gradle cache metadata file (the generated ivy.xml
Ivy module metadata in the Gradle cache) should be removed from the repo and
ignored: add/ensure a .gradle/ entry in .gitignore, remove the cached artifact
from the index (use git rm --cached on the tracked Gradle cache metadata file)
and commit the removal so future Gradle cache files (the ivy.xml metadata) are
not tracked and won’t produce machine-specific churn.
.gradle/caches/modules-2/metadata-2.14/descriptors/com.github.abrarsyed.jastyle/jAstyle/1.2/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-23 (1)

1-23: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache metadata.

This entire path is local .gradle/caches state, not project source. Keeping it versioned makes dependency resolution machine-specific, adds noisy churn on refresh, and directly undercuts the PR goal of excluding .gradle/ artifacts. Please drop tracked .gradle cache files from this change and keep only the ignore rules.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/com.github.abrarsyed.jastyle/jAstyle/1.2/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 23, The commit accidentally includes local Gradle cache
metadata (the ivy.xml describing module="jAstyle" rev="1.2") which must be
removed from version control; remove the tracked cache file from the index (use
git rm --cached for the .gradle cache entries), ensure the .gradle/ pattern is
present in .gitignore so it won’t be re-added, and commit the removal (then
push) so only source files remain in the PR.
.gradle/caches/modules-2/metadata-2.14/descriptors/com.github.tony19/named-regexp/0.2.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-23 (1)

1-23: ⚠️ Potential issue | 🟠 Major

Remove this generated Gradle cache file from the PR.

This XML is local dependency-cache metadata under .gradle/caches, so checking it in defeats the PR’s goal of excluding Gradle artifacts and will add machine-specific churn to the repo.

Suggested fix
-<?xml version="1.0" encoding="UTF-8"?>
-<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
-  <info organisation="com.github.tony19" module="named-regexp" revision="0.2.3" status="release" publication="20260306060717">
-    <license name="Apache License, Version 2.0" url="http://www.apache.org/licenses/LICENSE-2.0"/>
-    <description homepage="">Named capturing groups for Java 5/6</description>
-  </info>
-  <configurations>
-    <conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
-    <conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
-    <conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
-    <conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
-    <conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
-    <conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
-    <conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
-    <conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
-    <conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
-    <conf name="optional" visibility="public" description="contains all optional dependencies"/>
-  </configurations>
-  <publications/>
-  <dependencies>
-    <dependency org="junit" name="junit" rev="4.8.1" force="true" conf="test-&gt;runtime(*),master(*)"/>
-  </dependencies>
-</ivy-module>
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/com.github.tony19/named-regexp/0.2.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 23, Remove the generated Gradle cache entry (the ivy-module for
named-regexp / ivy.xml) from the commit and update repo ignore rules so
generated Gradle cache files are excluded: delete the committed ivy.xml record
(the cached dependency metadata referencing named-regexp and junit) from the PR
and add the appropriate pattern to .gitignore (or revert the accidental add) so
.gradle/caches artifacts are not tracked going forward.
.gradle/caches/modules-2/metadata-2.14/descriptors/org.sonatype.oss/oss-parent/9/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-19 (1)

1-19: ⚠️ Potential issue | 🟠 Major

Remove this generated Gradle cache artifact from the PR.

This file is under .gradle/caches/..., so it is transient resolver metadata, not source. Keeping it in the PR directly conflicts with the stated goal of excluding Gradle artifacts and will keep producing noisy, machine-specific diffs.

🧹 Suggested change
- .gradle/caches/modules-2/metadata-2.14/descriptors/org.sonatype.oss/oss-parent/9/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.sonatype.oss/oss-parent/9/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 19, The PR accidentally includes a generated Gradle cache
metadata file (the ivy-module with <info organisation="org.sonatype.oss"
module="oss-parent" revision="9">) which should be removed; delete this file
from the commit (git rm or reset it from the index), add a .gitignore rule to
exclude .gradle/caches/** (or the appropriate Gradle cache pattern) so it won't
be re-added, and commit the removal and .gitignore change so only source files
remain in the PR.
.gradle/caches/modules-2/files-2.1/net.minecraftforge.gradle/ForgeGradle/1.2-SNAPSHOT/5f13b5516a4d7c57959473b8dedfcb81613b04b3/ForgeGradle-1.2-SNAPSHOT.pom-1-135 (1)

1-135: ⚠️ Potential issue | 🟠 Major

Drop tracked Gradle cache artifacts from the PR.

This file is a generated entry from .gradle/caches, so checking it in defeats the PR’s stated goal and will add machine-specific, stale dependency metadata to the repo. Also, adding .gitignore rules alone won’t remove files that are already tracked, so this artifact still needs to be deleted from the index in this PR.

Suggested cleanup
- .gradle/caches/modules-2/files-2.1/net.minecraftforge.gradle/ForgeGradle/1.2-SNAPSHOT/5f13b5516a4d7c57959473b8dedfcb81613b04b3/ForgeGradle-1.2-SNAPSHOT.pom
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/net.minecraftforge.gradle/ForgeGradle/1.2-SNAPSHOT/5f13b5516a4d7c57959473b8dedfcb81613b04b3/ForgeGradle-1.2-SNAPSHOT.pom
around lines 1 - 135, Remove the generated Gradle cache artifact (the POM whose
<artifactId>ForgeGradle</artifactId> and
<groupId>net.minecraftforge.gradle</groupId>) from the repo index and stop
tracking cache files: delete the tracked file from the repository, add a rule to
ignore Gradle caches (e.g., .gradle/) in .gitignore if not already present,
untrack the specific cached file using git rm --cached (locate it by the
ForgeGradle POM contents), and commit the removal and .gitignore update.
.gradle/caches/modules-2/files-2.1/commons-io/commons-io/1.4/526f34cad0a113787f3eb8ee1d0fe0abebcba887/commons-io-1.4.pom-1-419 (1)

1-419: ⚠️ Potential issue | 🟠 Major

Remove committed Gradle cache artifacts from this PR.

This file is generated content under .gradle/caches/, so keeping it in the branch defeats the PR’s stated goal of excluding Gradle artifacts. Also, a new ignore rule won’t untrack files that are already committed, so this cache tree needs to be removed from the PR explicitly.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/commons-io/commons-io/1.4/526f34cad0a113787f3eb8ee1d0fe0abebcba887/commons-io-1.4.pom
around lines 1 - 419, The PR has a generated Gradle cache file
(commons-io:commons-io:1.4 POM, file named commons-io-1.4.pom) committed; remove
the tracked cache artifact and stop it from being re-added by: delete the
committed cache file(s) from version control (use git rm or git rm --cached as
appropriate for the tracked cache entries), add a .gitignore rule to exclude
Gradle cache directories (e.g., the Gradle caches tree), and commit the removal
so generated files are no longer part of the branch; locate the offending
artifact by its artifactId/groupId (commons-io / commons-io) and the
commons-io-1.4.pom filename when searching the repo to ensure all cached POMs
are removed.
.gradle/caches/2.3/scripts/build_dqdlz9jwt867x7yghevel9t24/ProjectScript/no_buildscript/cache.properties-1-3 (1)

1-3: ⚠️ Potential issue | 🟠 Major

Exclude this cache file instead of adding it.

This is disposable Gradle cache state, not project configuration. Please remove it from the change set and ensure the ignore rule covers these paths so future cache regeneration does not reappear in commits.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/2.3/scripts/build_dqdlz9jwt867x7yghevel9t24/ProjectScript/no_buildscript/cache.properties
around lines 1 - 3, The committed file
".gradle/caches/2.3/scripts/build_dqdlz9jwt867x7yghevel9t24/ProjectScript/no_buildscript/cache.properties"
is a disposable Gradle cache (see
source.filename=/workspace/baritone-1.7.10/build.gradle) and must be removed
from the change set and ignored; remove the file from the commit (git rm
--cached or undo the add), add a rule to ignore Gradle cache paths (e.g.
.gradle/ or .gradle/caches/**) in .gitignore, and re-commit so future
regenerations of cache.properties do not reappear.
.gradle/caches/2.3/scripts/build_dqdlz9jwt867x7yghevel9t24/ProjectScript/buildscript/cache.properties-1-3 (1)

1-3: ⚠️ Potential issue | 🟠 Major

Remove this generated Gradle cache file from version control.

This is machine-specific .gradle output, not source-of-truth. Committing it adds churn and leaks the local /workspace/baritone-1.7.10/... path. Please delete it from the PR and keep .gradle/ ignored so this change only contains the ignore-rule update.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/2.3/scripts/build_dqdlz9jwt867x7yghevel9t24/ProjectScript/buildscript/cache.properties
around lines 1 - 3, The commit includes a generated Gradle cache file
(cache.properties) that should not be versioned; remove the added
.gradle-generated file from the PR (delete the cache.properties entry) and
update the commit so only the .gitignore change remains (ensure .gradle/ is
listed in .gitignore); confirm no other .gradle cache files are staged before
committing.
.gradle/caches/2.3/scripts/settings_97r8proido0vlfqeiy1zcq9gz/SettingsScript/buildscript/cache.properties-1-3 (1)

1-3: ⚠️ Potential issue | 🟠 Major

Do not commit generated .gradle cache metadata.

This file is transient build output and includes a local absolute path. It should be deleted from the PR; otherwise the repository will keep accumulating machine-specific cache noise.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/2.3/scripts/settings_97r8proido0vlfqeiy1zcq9gz/SettingsScript/buildscript/cache.properties
around lines 1 - 3, Remove the committed generated Gradle cache metadata file
named cache.properties (the transient file under .gradle caches), delete it from
the commit (git rm --cached or remove and recommit) and add a .gitignore entry
to exclude .gradle/ cache metadata so these transient files aren’t tracked in
future; ensure you commit the updated .gitignore and the removal only (do not
modify tracked source files).
.gradle/caches/2.3/scripts/settings_97r8proido0vlfqeiy1zcq9gz/SettingsScript/no_buildscript/cache.properties-1-3 (1)

1-3: ⚠️ Potential issue | 🟠 Major

Drop this transient settings cache artifact from the PR.

cache.properties under .gradle/caches is generated state, and the embedded absolute workspace path makes it especially non-portable. This should be removed rather than committed.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/2.3/scripts/settings_97r8proido0vlfqeiy1zcq9gz/SettingsScript/no_buildscript/cache.properties
around lines 1 - 3, Remove the generated cache.properties file from the PR
(unstage and delete the tracked file named cache.properties), ensure the
embedded source.filename and source.hash entries are not committed, and add a
rule to ignore Gradle cache artifacts (e.g., add .gradle/ or .gradle/caches/ to
.gitignore) so future transient files aren’t committed; then commit the
.gitignore change and the removal so only source-controlled settings.gradle
remains.
.gradle/caches/modules-2/files-2.1/com.github.jponge/lzma-java/1.3/ca20493d6b7aa8d1fd1bdf1f0e2cac4f638ef518/lzma-java-1.3.pom-1-160 (1)

1-160: ⚠️ Potential issue | 🟠 Major

Remove tracked Gradle cache artifacts from this PR.

This file is generated repository-local metadata under .gradle/caches, not project source. Keeping it in git directly conflicts with the PR objective of excluding Gradle artifacts, and .gitignore alone will not remove files that are already tracked. Please drop the committed .gradle/ entries from the index and keep only the ignore-rule change.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.github.jponge/lzma-java/1.3/ca20493d6b7aa8d1fd1bdf1f0e2cac4f638ef518/lzma-java-1.3.pom
around lines 1 - 160, The PR accidentally includes a generated Gradle cache POM
(artifactId "lzma-java", file "lzma-java-1.3.pom") that should not be tracked;
untrack the cached Gradle artifacts from the index (without deleting local
files) by running git rm --cached for the offending files or the .gradle cache
entries, commit that removal, ensure the existing .gitignore entry for Gradle
caches is present, and push the commit so only the ignore-rule change remains in
the PR.
.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/22/e895fa7ed472b3b2081ef77e2d5ece78c139d54/commons-parent-22.pom-1-1053 (1)

1-1053: ⚠️ Potential issue | 🟠 Major

Remove tracked .gradle cache artifacts from this PR.

This file is generated Gradle cache metadata, not repository source. Keeping it in the diff defeats the stated goal of excluding transient .gradle/ outputs, and the new ignore rules will not untrack files that are already added. Please drop the committed .gradle/ contents from the PR and keep only the ignore changes.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/22/e895fa7ed472b3b2081ef77e2d5ece78c139d54/commons-parent-22.pom
around lines 1 - 1053, The PR inadvertently includes generated Gradle cache
metadata (the POM with <artifactId>commons-parent</artifactId> and
<version>22</version> inside a .gradle cache) — remove it from the commit
history by running git rm --cached for the tracked cache file(s), commit the
removal, and push; ensure your branch’s .gitignore contains ".gradle/" so the
file stays untracked going forward and re-run the build to verify no needed
source files are removed.
.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.6/9499f0c87ab43a74c456b9847acbcb5e67fe9f32/commons-codec-1.6.pom-1-337 (1)

1-337: ⚠️ Potential issue | 🟠 Major

Remove this committed Gradle cache artifact from the PR.

This file is under .gradle/caches/..., so it is local dependency-cache state rather than project source. Checking it in adds repo noise, machine-specific artifacts, and unnecessary third-party metadata/contact info, and it directly conflicts with this PR’s goal of excluding .gradle outputs. Please drop this file and any similar cached artifacts from the patch and let the ignore rules handle them instead.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.6/9499f0c87ab43a74c456b9847acbcb5e67fe9f32/commons-codec-1.6.pom
around lines 1 - 337, This PR accidentally includes a local Gradle cache file
(.gradle/caches/.../commons-codec-1.6.pom); remove that cached artifact from the
commit and any other .gradle/caches files, untrack them from git, and rely on
the repo ignore rules instead. Specifically, delete the committed
commons-codec-1.6.pom entry from the patch (the file shown in the diff), run the
appropriate git untrack/remove operation so it is no longer in the index, ensure
.gitignore covers the .gradle/ directory, and create a follow-up commit that
only removes these cache artifacts from the repository.
.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/7/95db361d9db1474346b2bde93e5402281909144c/commons-parent-7.pom-1-455 (1)

1-455: ⚠️ Potential issue | 🟠 Major

Drop this cached Gradle artifact from the PR.

This file lives under .gradle/caches, so it is local dependency-cache state rather than project-owned source or build configuration. That directly conflicts with the PR goal of ignoring .gradle/, and ignore rules alone will not remove already tracked cache entries. Please remove this file, and any other tracked .gradle/** artifacts, from the PR/index before merging.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-parent/7/95db361d9db1474346b2bde93e5402281909144c/commons-parent-7.pom
around lines 1 - 455, This PR accidentally includes a local Gradle cache POM
(artifactId commons-parent, groupId org.apache.commons) that should be removed
from source control; remove the tracked .gradle/caches entry from the Git index
(e.g., git rm --cached for the file and any other .gradle/** entries), commit
that removal, ensure .gitignore contains .gradle/ so cached artifacts are not
re-added, and verify no other files under .gradle/ are staged before pushing.
.gradle/caches/modules-2/files-2.1/com.cloudbees/cloudbees-oss-parent/1/93cdeda37b3cc76b7c299d793a8873dcab0f70fc/cloudbees-oss-parent-1.pom-1-183 (1)

1-183: ⚠️ Potential issue | 🟠 Major

Remove tracked Gradle cache contents from this PR.

This file lives under .gradle/caches/..., so it's local dependency-cache state rather than project source. Ignoring .gradle/ won't untrack files already added to Git, so leaving this here defeats the PR's cleanup goal; please remove the tracked .gradle artifacts from the index as part of this change. If the intent was reproducible dependency resolution, use Gradle dependency locking/verification metadata instead.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.cloudbees/cloudbees-oss-parent/1/93cdeda37b3cc76b7c299d793a8873dcab0f70fc/cloudbees-oss-parent-1.pom
around lines 1 - 183, The PR contains tracked Gradle cache artifacts (the XML
<project> for artifactId "cloudbees-oss-parent" under .gradle/caches); remove
these from the Git index and prevent re-adding by adding .gradle/ to .gitignore,
then commit the removal: remove the tracked files from the index (unstage from
Git) while keeping them locally, add a .gitignore entry for .gradle/, and commit
the change so only source files remain in the PR; for reproducible dependency
resolution use Gradle dependency locking/verification metadata instead of
committing cache files.
.gradle/caches/modules-2/files-2.1/net.sf.opencsv/opencsv/2.3/7fde35c41dfa8c216048d2de44b476d092c68d1c/opencsv-2.3.pom-1-195 (1)

1-195: ⚠️ Potential issue | 🟠 Major

Drop this cached Gradle artifact from the PR.

This file is under .gradle/caches/..., so it's transient local dependency metadata rather than repository source. Committing it undermines the cleanup goal, creates cache churn in git, and pulls third-party maintainer contact data into the repo. Please remove it from the PR and ensure the ignore rule prevents it from being re-added.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/net.sf.opencsv/opencsv/2.3/7fde35c41dfa8c216048d2de44b476d092c68d1c/opencsv-2.3.pom
around lines 1 - 195, Remove the committed Gradle cache POM (opencsv-2.3.pom)
from the PR, stop tracking it, and add an ignore rule so it won't be re-added:
git rm --cached the file (and any other files under .gradle/caches), commit that
removal, and add a .gitignore entry for .gradle/caches/** (or at least
.gradle/caches/modules-2/**) so cached dependency metadata like the opencsv
artifactId "opencsv" version "2.3" is not checked in again; ensure the commit
removes the file contents from the repo history in this branch and re-run the PR
to confirm only source files remain.
.gradle/caches/modules-2/files-2.1/org.apache/apache/4/602b647986c1d24301bc3d70e5923696bc7f1401/apache-4.pom-1-112 (1)

1-112: ⚠️ Potential issue | 🟠 Major

Untrack the existing .gradle cache artifacts; the ignore rule alone will not remove them.

This file is already in the diff, and it is downloaded dependency metadata under .gradle/caches/, so adding .gradle/ to .gitignore will not stop it from being committed. Please remove tracked .gradle/caches/** files from the index and keep only the ignore change in this PR.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache/apache/4/602b647986c1d24301bc3d70e5923696bc7f1401/apache-4.pom
around lines 1 - 112, Remove the tracked Gradle cache artifacts from the repo
while preserving the .gitignore change: specifically untrack all files under
.gradle/caches/** (including the apache-4.pom shown in the diff) so they are
removed from the index but not deleted from the working tree, commit that
removal, and ensure the .gitignore entry for .gradle/ prevents them from being
re-added; verify the index no longer contains .gradle/caches/** before
finalizing the PR.
.gradle/caches/modules-2/metadata-2.14/descriptors/com.google.code.gson/gson/2.2.4/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml-1-23 (1)

1-23: ⚠️ Potential issue | 🟠 Major

Remove the tracked Gradle cache payload from this PR.

This file is generated dependency-cache metadata under .gradle/caches, so committing it works against the cleanup objective and introduces unstable timestamp/hash-based churn. .gitignore will not retroactively stop already tracked entries, so these cache files need to be removed from the index in this PR instead of added here (git rm --cached -r .gradle, plus any tracked .metadata/ directories). This applies to the other .gradle/caches/** additions in this PR as well.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/com.google.code.gson/gson/2.2.4/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 23, Remove the tracked Gradle cache files from the PR by
removing them from git's index (do not reintroduce them in the tree); run git rm
--cached -r .gradle and git rm --cached -r any tracked .metadata directories,
then commit that removal and update the PR so the generated cache files (like
the ivy.xml under the Gradle cache) are no longer included; ensure your
.gitignore contains the .gradle/ and .gradle/caches/ patterns so future cache
files aren’t re-added.

.gitignore Outdated
libs/java-objc-bridge-1.1.jar

mapping
.DS_Store\n**/*.swp\n\nrun/\nautotest/\ndist/\nvolderyarn/\n\n# Gradle\nbuild/\n.gradle/\nclasses/\n*.class\n\n/out\n\n# IntelliJ Files\n.idea/\n*.iml\n*.ipr\n*.iws\n/logs/\n\ntweaker/logs/\ncommon/logs/\n\n# Eclipse Files\n.classpath\n.project\n.settings/\nbaritone_Client.launch\n\n# Copyright Files\n!/.idea/copyright/Baritone.xml\n!/.idea/copyright/profiles_settings.xml\n\n.vscode/launch.json\n.architectury-transformer\n\n\nmapping\n\nlibs/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar\nlibs/java-objc-bridge-1.1.jar\n\nmapping\n**/.metadata/
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Critical: .gitignore is malformed — all content is on a single line with literal \n characters.

The file contains literal \n escape sequences instead of actual newlines. Git interprets this as a single pattern, making all ignore rules ineffective. This is why .gradle/ files are being committed despite .gradle/ appearing in the content.

The file must use actual newlines to separate patterns:

🐛 Fix: Convert to proper newline-separated format
-.DS_Store\n**/*.swp\n\nrun/\nautotest/\ndist/\nvolderyarn/\n\n# Gradle\nbuild/\n.gradle/\nclasses/\n*.class\n\n/out\n\n# IntelliJ Files\n.idea/\n*.iml\n*.ipr\n*.iws\n/logs/\n\ntweaker/logs/\ncommon/logs/\n\n# Eclipse Files\n.classpath\n.project\n.settings/\nbaritone_Client.launch\n\n# Copyright Files\n!/.idea/copyright/Baritone.xml\n!/.idea/copyright/profiles_settings.xml\n\n.vscode/launch.json\n.architectury-transformer\n\n\nmapping\n\nlibs/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar\nlibs/java-objc-bridge-1.1.jar\n\nmapping\n**/.metadata/
+.DS_Store
+**/*.swp
+
+run/
+autotest/
+dist/
+volderyarn/
+
+# Gradle
+build/
+.gradle/
+classes/
+*.class
+
+/out
+
+# IntelliJ Files
+.idea/
+*.iml
+*.ipr
+*.iws
+/logs/
+
+tweaker/logs/
+common/logs/
+
+# Eclipse Files
+.classpath
+.project
+.settings/
+baritone_Client.launch
+
+# Copyright Files
+!/.idea/copyright/Baritone.xml
+!/.idea/copyright/profiles_settings.xml
+
+.vscode/launch.json
+.architectury-transformer
+
+mapping
+
+libs/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar
+libs/java-objc-bridge-1.1.jar
+
+**/.metadata/

After fixing the .gitignore, remove all .gradle/ files from the repository:

git rm -r --cached .gradle/
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.gitignore at line 1, The .gitignore file is malformed because it contains
literal "\n" characters instead of real newlines; open the .gitignore and
replace the single-line string with real newline-separated patterns (e.g.,
separate entries like .DS_Store, **/*.swp, .gradle/, build/, /out, .idea/,
.vscode/launch.json, mapping, **/.metadata/ onto their own lines) so Git will
honor entries such as .gradle/; after fixing the file, remove already-tracked
Gradle artifacts from the index (clear cached .gradle files) so they are no
longer committed.

Comment on lines +1 to +223
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<groupId>com.github.tony19</groupId>
<artifactId>named-regexp</artifactId>
<packaging>jar</packaging>
<name>named-regexp</name>
<description>Named capturing groups for Java 5/6</description>
<version>0.2.3</version>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<connection>scm:git:git@github.com:tony19/named-regexp.git</connection>
<developerConnection>scm:git:git@github.com:tony19/named-regexp.git</developerConnection>
<url>git@github.com:tony19/named-regexp.git</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/tony19/named-regexp/issues</url>
</issueManagement>

<developers>
<developer>
<id>tony19</id>
<name>Tony Trinh</name>
<email>tony19@gmail.com</email>
<url>http://tony19.github.com</url>
</developer>
</developers>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>release</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!--
To disable debug compilation, debug must be "true" AND
debuglevel must be "none".
http://jira.codehaus.org/browse/MCOMPILER-114
-->
<maven.compiler.debug>true</maven.compiler.debug>
<maven.compiler.debuglevel>none</maven.compiler.debuglevel>
</properties>
</profile>
<profile>
<id>debug</id>
<properties>
<maven.compiler.debug>true</maven.compiler.debug>
<maven.compiler.debuglevel>lines,vars,source</maven.compiler.debuglevel>
</properties>
</profile>

<profile>
<id>analyze</id>
<build>
<plugins>

<!-- Cobertura (code coverage tool) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>cobertura</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<configuration>
<reportPlugins>
<!-- Cobertura (code coverage tool) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
</configuration>
</plugin>

<!-- JXR (source code reference generator) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>

<!-- FindBugs (static code analysis tool) -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<threshold>Low</threshold>
<effort>Max</effort>
</configuration>
</plugin>

<!-- PMD (static code analysis tool) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.7.1</version>
<configuration>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
<targetJdk>1.5</targetJdk>
</configuration>
</plugin>

<!-- Checkstyle (code-style analysis tool) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.9.1</version>
</plugin>

</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
</profile>

</profiles>
</project>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for other .gradle files that may have been accidentally committed
echo "Files under .gradle/ in this PR:"
fd . '.gradle' --type f 2>/dev/null | head -50

echo ""
echo "Checking .gitignore for .gradle exclusion:"
cat .gitignore 2>/dev/null | grep -E '\.gradle' || echo "No .gradle pattern found in .gitignore"

Repository: harangu/baritone

Length of output: 6043


Remove all .gradle/ files from this commit.

The repository's .gitignore already contains the .gradle/ pattern, yet these transient Gradle build artifacts remain committed. This specific file is a cached Maven POM that will be automatically regenerated during dependency resolution.

Committing .gradle/ files:

  • Bloats the repository with artifacts that differ across machines and builds
  • Contradicts the stated PR objective of excluding transient build outputs
  • May cause merge conflicts in team environments

Use git rm --cached to remove these files from the commit (or from history if already committed in prior commits). Ensure only .gradle/ files are cleaned up and the .gitignore pattern remains.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.github.tony19/named-regexp/0.2.3/73341f6235bccb4b7d83c6c6c2e97fb4cdb85f0f/named-regexp-0.2.3.pom
around lines 1 - 223, This commit includes transient Gradle cache files (e.g.,
the named-regexp-0.2.3.pom under the .gradle cache) that must be removed: run
git rm --cached on the offending .gradle entries, commit/amend the change, and
push (or rewrite history if already pushed) so these cached Maven POMs are no
longer tracked; ensure the existing .gitignore entry for .gradle/ remains
present so future .gradle files (including named-regexp-0.2.3.pom) are not
re-added.

Comment on lines +1 to +248
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<groupId>com.google.guava</groupId>
<artifactId>guava-parent</artifactId>
<version>18.0</version>
<packaging>pom</packaging>
<name>Guava Maven Parent</name>
<url>http://code.google.com/p/guava-libraries</url>
<properties>
<gpg.skip>true</gpg.skip>
<!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI -->
<test.include>**/*Test.java</test.include>
<truth.version>0.23</truth.version>
</properties>
<issueManagement>
<system>code.google.com</system>
<url>http://code.google.com/p/guava-libraries/issues</url>
</issueManagement>
<inceptionYear>2010</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<prerequisites>
<maven>3.0.3</maven>
</prerequisites>
<scm>
<connection>scm:git:https://code.google.com/p/guava-libraries/</connection>
<developerConnection>scm:git:https://code.google.com/p/guava-libraries/</developerConnection>
<url>http://code.google.com/p/guava-libraries/source/browse</url>
</scm>
<developers>
<developer>
<id>kevinb9n</id>
<name>Kevin Bourrillion</name>
<email>kevinb@google.com</email>
<organization>Google</organization>
<organizationUrl>http://www.google.com</organizationUrl>
<roles>
<role>owner</role>
<role>developer</role>
</roles>
<timezone>-8</timezone>
</developer>
</developers>
<modules>
<module>guava</module>
<module>guava-gwt</module>
<module>guava-testlib</module>
<module>guava-tests</module>
</modules>
<build>
<!-- Handle where Guava deviates from Maven defaults -->
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
<resources>
<resource>
<directory>src</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<directory>test</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
</testResources>

<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<excludes>
<exclude>**/ForceGuavaCompilation*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>post-integration-test</phase>
<goals><goal>jar</goal></goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**/ForceGuavaCompilation*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.7</version>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java16-sun</artifactId>
<version>1.0</version>
</signature>
</configuration>
<executions>
<execution>
<id>check-java16-sun</id>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<stylesheetfile>javadoc-stylesheet.css</stylesheetfile>
</configuration>
<executions>
<execution>
<id>attach-docs</id>
<phase>post-integration-test</phase>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.3</version>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.6</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
<configuration>
<includes>
<include>${test.include}</include>
</includes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<distributionManagement>
<site>
<id>guava-site</id>
<name>Guava Documentation Site</name>
<url>scp://dummy.server/dontinstall/usestaging</url>
</site>
</distributionManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>1.3.9</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<version>${truth.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<!-- use the guava we're building. -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.caliper</groupId>
<artifactId>caliper</artifactId>
<version>0.5-rc1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<!-- use the guava we're building. -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</dependencyManagement>
</project>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Do not commit Gradle cache files to the repository.

This file is located under .gradle/caches/, which is a transient build artifact directory that should never be version-controlled. Gradle automatically downloads and caches these dependency metadata files during builds—they are machine-specific and regenerated as needed.

This directly contradicts the PR objective, which states the intent is to exclude .gradle/ paths from the repository, not add files from within it.

Action required:

  1. Remove this file (and any other files under .gradle/) from the commit
  2. Add .gradle/ to .gitignore as originally intended
  3. Run git rm -r --cached .gradle/ if these files were previously tracked

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/com.google.guava/guava-parent/18.0/5398932a9ef2828eb9fc4f01e8d6cac626c219d2/guava-parent-18.0.pom
around lines 1 - 248, This commit mistakenly includes Gradle cache artifacts
(.gradle/caches/...), specifically the guava-parent-18.0.pom under
.gradle/caches/modules-2/files-2.1/com.google.guava/..., which should not be
versioned; remove this file and any other .gradle/ entries from the commit, add
a .gradle/ entry to .gitignore, and run git rm -r --cached .gradle/ (or
equivalent) to untrack previously committed cache files so they won’t be
re-committed.

Comment on lines +1 to +273
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<groupId>net.sf.jopt-simple</groupId>
<artifactId>jopt-simple</artifactId>
<version>4.5</version>
<packaging>jar</packaging>
<name>JOpt Simple</name>
<url>http://pholser.github.com/jopt-simple</url>
<description>A Java library for parsing command line options</description>
<licenses>
<license>
<name>The MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/pholser/jopt-simple.git</connection>
<developerConnection>scm:git:ssh://git@github.com/pholser/jopt-simple.git</developerConnection>
<url>http://github.com/pholser/jopt-simple</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>http://github.com/pholser/jopt-simple/issues</url>
</issueManagement>
<developers>
<developer>
<id>pholser</id>
<name>Paul Holser</name>
<email>pholser@alumni.rice.edu</email>
<url>http://www.pholser.com</url>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.infinitest</groupId>
<artifactId>continuous-testing-toolkit</artifactId>
<version>1.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.3</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.3</version>
</extension>
<extension>
<groupId>org.kathrynhuxtable.maven.wagon</groupId>
<artifactId>wagon-gitsite</artifactId>
<version>0.3.1</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<excludes>
<exclude>joptsimple/examples/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<check>
<haltOnFailure>true</haltOnFailure>
<totalBranchRate>97</totalBranchRate>
<totalLineRate>99</totalLineRate>
</check>
</configuration>
<executions>
<execution>
<goals>
<goal>clean</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<minimumTokens>40</minimumTokens>
<targetJdk>1.5</targetJdk>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>paste-examples</id>
<phase>post-site</phase>
<configuration>
<tasks>
<property name="java.io.tmpdir" value="${java.io.tmpdir}" />
<property name="example.src.dir" value="src/test/java" />
<property name="example.class.path" refid="maven.test.classpath" />
<property name="website.staging.dir" value="${project.build.directory}/site" />
<ant antfile="paste-examples.xml" target="-paste-examples" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.2</version>
</plugin>
<plugin>
<groupId>org.pitest</groupId>
<artifactId>pitest-maven</artifactId>
<version>0.23</version>
<configuration>
<inScopeClasses>
<param>joptsimple*</param>
</inScopeClasses>
<targetClasses>
<param>joptsimple*</param>
</targetClasses>
<targetTests>
<param>*Test</param>
</targetTests>
<excludedMethods>
<param>equals</param>
<param>hashCode</param>
</excludedMethods>
<excludedClasses>
<param>joptsimple.examples*</param>
<param>*EqualsHash*Test</param>
<param>*TestCase</param>
<param>*Fixture</param>
<param>*Harness</param>
<param>*Matchers</param>
<param>*Ctor</param>
<param>*Problematic</param>
<param>*ValueOfHaver</param>
</excludedClasses>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<configuration>
<source>1.5</source>
<show>public</show>
<excludePackageNames>joptsimple.examples:joptsimple.internal:joptsimple.internal.*</excludePackageNames>
<links>
<link>http://download.oracle.com/javase/1.5.0/docs/api</link>
</links>
<bottom><![CDATA[<i>&copy; Copyright 2004-2013 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu</i>]]></bottom>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
<version>2.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<formats>
<format>xml</format>
<format>html</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<threshold>Low</threshold>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<minimumTokens>40</minimumTokens>
<targetJdk>1.5</targetJdk>
</configuration>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<site>
<id>github-project-site</id>
<url>gitsite:git@github.com/pholser/jopt-simple.git</url>
</site>
</distributionManagement>
</project>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

This file should not be committed — it contradicts the PR's stated objective.

This is a Gradle dependency cache file located under .gradle/caches/. The PR objective explicitly states it introduces ignores for .gradle/ paths to "prevent committing transient build outputs." However, this file is being added to the repository, which directly contradicts that goal.

Gradle cache files:

  • Are machine-generated and transient
  • Are automatically regenerated when building
  • Should never be version-controlled
  • Bloat the repository unnecessarily

Remove this file (and any other .gradle/ contents) from the commit, and ensure .gradle/ is properly added to .gitignore before staging changes.

,

#!/bin/bash
# Description: Check how many .gradle files are being added and verify .gitignore rules

echo "=== Files under .gradle/ in this PR ==="
fd . '.gradle' --type f 2>/dev/null | head -50

echo ""
echo "=== Current .gitignore rules for .gradle ==="
cat .gitignore 2>/dev/null | grep -i gradle || echo "No .gradle rules found in .gitignore"

echo ""
echo "=== Total count of .gradle files ==="
fd . '.gradle' --type f 2>/dev/null | wc -l
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/661463fdebe6f8dfe882c2363bcf03452f65d7ea/jopt-simple-4.5.pom
around lines 1 - 273, The PR accidentally adds a Gradle cache POM
(jopt-simple-4.5.pom) under .gradle/caches — remove that file and any other
.gradle/* entries from the staged changes, add an explicit .gradle/ ignore rule
to .gitignore (e.g. ".gradle/") before re-staging, and amend the commit so no
.gradle contents remain in the repo; verify by running the provided shell checks
to confirm no .gradle files are being added and that .gitignore contains the
rule.

Comment on lines +1 to +807
<?xml version="1.0" encoding="UTF-8"?>
<!--
====================================================================
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
====================================================================

This software consists of voluntary contributions made by many
individuals on behalf of the Apache Software Foundation. For more
information on the Apache Software Foundation, please see
<http://www.apache.org/>.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>13</version>
</parent>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>project</artifactId>
<version>7</version>
<packaging>pom</packaging>
<name>HttpComponents</name>
<url>http://hc.apache.org/</url>
<description>Components to build HTTP enabled services</description>
<inceptionYear>2005</inceptionYear>


<!--
Version 7 - changes since version 6
===================================

Fixed maven.compile.* properties => maven.compiler.*
Unfortunately cannot drop the configuration of compiler plugin as the Apache POM
defines the source/target directly rather than using properties.
See: https://issues.apache.org/jira/browse/MPOM-44

Also maven.compile.deprecation => maven.compiler.showDeprecation

** N.B. Child POMs may need to be adjusted when upgrading to parent pom 7 **

Added Maven pre-requisite of 3.0.3 (minimum)
Dropped maven-3 profile as no longer needed
Added Apache parent POM 13; dropped distributionManagement/repository and snapshotRepository
apache.website now uses property ${hc.site.url}
Added optional clover profile

Assembly 2.2.1 => 2.4
Antrun 1.6 => 1.7
Buildnumber 1.0 => 1.2
Bundle 2.3.7 => 2.4.0
Clean 2.4.1 => 2.5
Clirr 2.3 => 2.5
Clover2 2.6.3 => 3.1.11
Compiler 2.3.2 => 3.1
Dokbkx 2.0.13 => 2.0.14
Install 2.3.1 => 2.4
Jar 2.3.2 => 2.4
Javadoc 2.8 => 2.9.1
Project-Info 2.4 => 2.7
Release 2.2.1 => 2.4.1
Resources 2.5 => 2.6
Site 3.0 => 3.3
Source 2.1.2 => 2.2.1
Surefire 2.9 => 2.15
Surefire-Report 2.9 => 2.15
Stylecheck = 2.9.1

Changed issueManagement url to point to JIRA group

Updated developers list

Changes since previous version (5)
==============================

Added httpasyncclient module

Buildnumber plugin changes:
- can now be disabled (-DbuildNumber.skip)
- defaults to SVN CLI, because javasvn currently fails with SVN 1.7 clients
- can revert to javasvn with -Pjavasvn

Added default manifest entries to source jars

Felix bundle plugin updated: 2.3.5 -> 2.3.7 (fixes Java 1.5 issue)
-->

<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>

<issueManagement>
<system>Jira</system>
<!-- The following URL is for the HttpComponents group -->
<url>https://issues.apache.org/jira/secure/BrowseProjects.jspa#10280</url>
</issueManagement>

<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/httpcomponents/project/tags/7</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/httpcomponents/tags/7</developerConnection>
<url>http://svn.apache.org/repos/asf/httpcomponents/tags/7</url>
</scm>

<developers>
<developer>
<name>Ortwin Glueck</name>
<id>oglueck</id>
<email>oglueck -at- apache.org</email>
<organization></organization>
<roles>
<role>Emeritus PMC</role>
</roles>
<url>http://www.odi.ch/</url>
<timezone>+1</timezone>
</developer>
<developer>
<name>Oleg Kalnichevski</name>
<id>olegk</id>
<email>olegk -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<name>Asankha C. Perera</name>
<id>asankha</id>
<email>asankha -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC Chair</role>
</roles>
<url>http://www.adroitlogic.org/</url>
<timezone>+5.5</timezone>
</developer>
<developer>
<name>Sebastian Bazley</name>
<id>sebb</id>
<email>sebb -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone></timezone>
</developer>
<developer>
<name>Erik Abele</name>
<id>erikabele</id>
<email>erikabele -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<url>http://www.codefaktor.de/</url>
<timezone>+1</timezone>
</developer>
<developer>
<name>Ant Elder</name>
<id>antelder</id>
<email>antelder -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone></timezone>
</developer>
<developer>
<name>Paul Fremantle</name>
<id>pzf</id>
<email>pzf -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone></timezone>
</developer>
<developer>
<name>Roland Weber</name>
<id>rolandw</id>
<email>rolandw -at- apache.org</email>
<roles>
<role>Emeritus PMC</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<name>Sam Berlin</name>
<id>sberlin</id>
<email>sberlin -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-4</timezone>
</developer>
<developer>
<name>Sean C. Sullivan</name>
<id>sullis</id>
<email>sullis -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-8</timezone>
</developer>
<developer>
<name>Jonathan Moore</name>
<id>jonm</id>
<email>jonm -at- apache.org</email>
<roles>
<role>Committer</role>
<role>PMC</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<name>Gary Gregory</name>
<id>ggregory</id>
<email>ggregory -at- apache.org</email>
<timezone>-5</timezone>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<name>William Speirs</name>
<id>wspeirs</id>
<email>wspeirs at apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<name>Karl Wright</name>
<id>kwright</id>
<email>kwright -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<name>Francois-Xavier Bonnet</name>
<id>fx</id>
<email>fx -at- apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>

<contributors>
<contributor>
<name>Julius Davies</name>
<email>juliusdavies -at- cucbc.com</email>
</contributor>
<contributor>
<name>Andrea Selva</name>
<email>selva.andre -at- gmail.com</email>
</contributor>
<contributor>
<name>Steffen Pingel</name>
<email>spingel -at- limewire.com</email>
</contributor>
<contributor>
<name>Quintin Beukes</name>
<email>quintin -at- last.za.net</email>
</contributor>
<contributor>
<name>Marc Beyerle</name>
<email>marc.beyerle -at- de.ibm.com</email>
</contributor>
<contributor>
<name>James Abley</name>
<email>james.abley -at- gmail.com</email>
</contributor>
<contributor>
<name>Michajlo Matijkiw</name>
<email>michajlo_matijkiw -at- comcast.com</email>
</contributor>
</contributors>
<mailingLists>
<mailingList>
<name>HttpClient User List</name>
<subscribe>httpclient-users-subscribe@hc.apache.org</subscribe>
<unsubscribe>httpclient-users-unsubscribe@hc.apache.org</unsubscribe>
<post>httpclient-users@hc.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/</archive>
<otherArchives>
<otherArchive>http://www.nabble.com/HttpClient-User-f20180.html</otherArchive>
<otherArchive>http://marc.info/?l=httpclient-users</otherArchive>
<otherArchive>http://httpclient-users.markmail.org/search/</otherArchive>
<otherArchive>http://hc.apache.org/mail/httpclient-users/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>HttpComponents Dev List</name>
<subscribe>dev-subscribe@hc.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@hc.apache.org</unsubscribe>
<post>dev@hc.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/hc-dev/</archive>
<otherArchives>
<otherArchive>http://www.nabble.com/HttpComponents-Dev-f20179.html</otherArchive>
<otherArchive>http://marc.info/?l=httpclient-commons-dev</otherArchive>
<otherArchive>http://apache-hc-dev.markmail.org/search/</otherArchive>
<otherArchive>http://hc.apache.org/mail/dev/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>HttpComponents Commits List</name>
<subscribe>commits-subscribe@hc.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@hc.apache.org</unsubscribe>
<post>(Read Only)</post>
<archive>http://mail-archives.apache.org/mod_mbox/hc-commits/</archive>
<otherArchives>
<otherArchive>http://marc.info/?l=httpcomponents-commits</otherArchive>
<otherArchive>http://hc-commits.markmail.org/search/</otherArchive>
<otherArchive>http://hc.apache.org/mail/commits/</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Apache Announce List</name>
<subscribe>announce-subscribe@apache.org</subscribe>
<unsubscribe>announce-unsubscribe@apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive>
<otherArchives>
<otherArchive>http://org-apache-announce.markmail.org/search/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>

<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache HttpComponents Website</name>
<url>${hc.site.url}</url>
</site>
</distributionManagement>

<repositories>
<!-- allow snapshot dependencies to be resolved -->
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>http://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>

<build>
<plugins>
<!--
Override the Apache POM which defines the source/target directly rather than using properties.
See: https://issues.apache.org/jira/browse/MPOM-44
-->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Specification-Title>Apache ${project.name}</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>Apache Software Foundation</Specification-Vendor>
<Implementation-Title>Apache HttpComponents ${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
<!-- from buildnumber plugin and properties -->
<Implementation-Build>${implementation.build}</Implementation-Build>
<X-Compile-Source-JDK>${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compiler.target}</X-Compile-Target-JDK>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>

<pluginManagement>
<plugins>
<!-- org.apache.maven.plugins, alpha order by artifact id -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${hc.javadoc.version}</version>
<configuration>
<!-- reduce console output. Can override with -Dquiet=false -->
<quiet>true</quiet>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>${hc.jxr.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${hc.project-info.version}</version><!-- needed for direct goal use -->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-resources</id>
<phase>pre-site</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/site/examples</outputDirectory>
<resources>
<resource>
<directory>src/examples</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.0</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>attach-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${hc.surefire.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>${hc.surefire-report.version}</version>
</plugin>
<!-- Other plugins, alpha order by groupId and artifactId -->
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.14</version>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.4.0</version>
</plugin>
<plugin>
<artifactId>maven-notice-plugin</artifactId>
<groupId>org.apache.httpcomponents</groupId>
<version>0.0.2</version>
<executions>
<execution>
<id>attach-notice-license</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<projectTitle>Apache HttpComponents</projectTitle>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${hc.clirr.version}</version>
<configuration>
<minSeverity>${minSeverity}</minSeverity>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.9.1</version>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>hc-stylecheck</artifactId>
<version>1</version>
</dependency>
</dependencies>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<configuration>
<configLocation>hc-stylecheck/default.xml</configLocation>
<headerLocation>hc-stylecheck/asl2.header</headerLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${hc.project-info.version}</version><!-- needed for mvn site -->
<!-- in particular, we don't want mailing-list to be inherited -->
<inherited>false</inherited>
<reportSets>
<reportSet>
<reports>
<report>project-team</report>
<report>issue-tracking</report>
<report>scm</report>
<report>mailing-list</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<!--
| Profile to allow testing of deploy phase
| e.g.
| mvn deploy -Ptest-deploy -Prelease -Dgpg.skip
-->
<profile>
<id>test-deploy</id>
<properties>
<altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository>
</properties>
</profile>

<!--
Automatically run the buildnumber plugin unless the buildNumber.skip property is defined as true
-->
<profile>
<id>svn-buildnumber</id>
<activation>
<property><name>!buildNumber.skip</name><value>!true</value></property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Use committed revision so it does not change every time svn update is run -->
<useLastCommittedRevision>true</useLastCommittedRevision>
<!-- default revision number if unavailable -->
<revisionOnScmFailure>??????</revisionOnScmFailure>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<!-- optional profile to use javasvn instead of the SVN CLI for the buildNumber plugin -->
<profile>
<id>javasvn</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<configuration>
<providerImplementations>
<svn>javasvn</svn>
</providerImplementations>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<!-- Optional Clover profile -->
<profile>
<id>clover</id>
<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
<version>${hc.clover2.version}</version>
<configuration>
<flushPolicy>threaded</flushPolicy>
<flushInterval>100</flushInterval>
<targetPercentage>50%</targetPercentage>
</configuration>
<executions>
<execution>
<id>site</id>
<phase>pre-site</phase>
<goals>
<goal>instrument</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<reporting>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
<version>${hc.clover2.version}</version>
<configuration>
<jdk>1.5</jdk>
</configuration>
</plugin>
</plugins>
</reporting>

</profile>

</profiles>

<prerequisites>
<maven>3.0.3</maven>
</prerequisites>

<properties>
<maven.compiler.source>1.5</maven.compiler.source>
<maven.compiler.target>1.5</maven.compiler.target>
<maven.compiler.optimize>true</maven.compiler.optimize>
<maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<hc.site.url>scp://people.apache.org/www/hc.apache.org/</hc.site.url>

<!-- Define versions of all report plugins, because they should match usage in pluginManagement and modules -->
<hc.clirr.version>2.5</hc.clirr.version>
<hc.clover2.version>3.1.11</hc.clover2.version>
<hc.javadoc.version>2.9.1</hc.javadoc.version>
<hc.jxr.version>2.3</hc.jxr.version>
<hc.surefire-report.version>2.15</hc.surefire-report.version>
<hc.surefire.version>2.15</hc.surefire.version>
<hc.project-info.version>2.7</hc.project-info.version>

<!-- build meta inf -->
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
<implementation.build>${scmBranch}@r${buildNumber}; ${maven.build.timestamp}</implementation.build>

<!-- Allow Clirr severity to be overriden by the command-line option -DminSeverity=level -->
<minSeverity>info</minSeverity>
</properties>
</project>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

This file should not be committed — it contradicts the PR objective.

This PR is described as adding .gitignore rules to exclude .gradle/ paths and IDE workspace files. However, this file is located at .gradle/caches/modules-2/files-2.1/... — exactly the type of transient Gradle cache artifact that should be excluded, not added.

Key issues:

  • Gradle cache files are auto-generated when dependencies are resolved and should never be version-controlled.
  • This is third-party metadata (Apache HttpComponents POM) downloaded by Gradle, not project source code.
  • Cache paths are machine-specific and will cause conflicts across developer environments.

Please remove this entire file and any other .gradle/ contents from the PR, then ensure .gradle/ is properly added to .gitignore.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/project/7/c486760d8e0eafe8d4932450e386c2805364f782/project-7.pom
around lines 1 - 807, The file is a Gradle cache POM (org.apache.httpcomponents
artifactId "project" version "7" under a .gradle cache) and must be removed from
the PR: delete this file and any other .gradle/ cache entries from the branch,
ensure .gradle/ is listed in .gitignore, and if already committed use git rm
--cached (or equivalent) to unstage tracked cache files and commit the removal
so only intended source changes remain.

Comment on lines +1 to +19
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="org.jvnet.localizer" module="localizer-parent" revision="1.12" status="release" publication="20260306060718">
<description homepage=""/>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications/>
</ivy-module>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Find all .gradle/ files staged or added in this PR

# Check for any .gradle directory contents in the repo
echo "=== Files under .gradle/ directory ==="
fd . '.gradle' --type f 2>/dev/null | head -50

# Check current .gitignore for .gradle exclusion
echo -e "\n=== Current .gitignore contents (if exists) ==="
cat .gitignore 2>/dev/null || echo ".gitignore not found"

Repository: harangu/baritone

Length of output: 6054


Remove all .gradle/ files from this PR.

This PR is committing Gradle cache artifacts that should be excluded from the repository. The .gradle/ directory contains auto-generated, machine-specific build cache files that:

  • Are regenerated automatically on each build
  • Bloat repository size
  • Cause merge conflicts between developers

The .gitignore already specifies .gradle/ should be ignored. These files should be removed from the PR, and developers should rely on Gradle to regenerate them locally.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.jvnet.localizer/localizer-parent/1.12/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 19, The PR accidentally includes Gradle cache artifacts (the
committed ivy.xml under the .gradle cache); remove all .gradle cache files from
the commit, ensure .gitignore contains ".gradle", unstage and remove the cached
files from git (so they are deleted from the repo but remain locally), commit
the removal with a clear message, and push the branch; verify no .gradle files
remain in the PR (e.g., the ivy.xml shown) before requesting re-review.

Comment on lines +1 to +19
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="org.ow2.asm" module="asm-debug-all" revision="5.0.3" status="release" publication="20260306060717">
<description homepage=""/>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications/>
</ivy-module>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

This file should not be committed — it contradicts the PR objectives.

The PR description states the goal is to "exclude gradle artifacts" by ignoring .gradle/ paths, yet this file is located inside .gradle/caches/. This Ivy module descriptor is auto-generated Gradle dependency metadata that:

  1. Is machine-specific and transient
  2. Gets regenerated automatically on each build
  3. Bloats repository history unnecessarily
  4. Will cause merge conflicts

Remove this file and all other .gradle/ contents from the commit. Ensure .gradle/ is properly added to .gitignore before committing.

,

#!/bin/bash
# Check what other .gradle/ files may have been accidentally staged/committed
echo "=== Files under .gradle/ in this repository ==="
fd . '.gradle' --type f 2>/dev/null | head -50

echo ""
echo "=== Current .gitignore entries for .gradle ==="
cat .gitignore 2>/dev/null | grep -i gradle || echo "No .gradle entries found in .gitignore"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.ow2.asm/asm-debug-all/5.0.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 19, The committed auto-generated Gradle metadata (the ivy.xml
under .gradle/caches, e.g. .gradle/caches/.../ivy.xml) must be removed from the
commit and .gradle/ should be ignored; unstage/remove these .gradle files from
the index (and delete them from the commit), add a .gradle/ entry to .gitignore,
and ensure no other .gradle/* artifacts remain staged before recommitting so
only source files are included.

Comment on lines +1 to +20
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="org.ow2.asm" module="asm-parent" revision="5.0.3" status="release" publication="20260306060717">
<license name="BSD" url="http://asm.objectweb.org/license.html"/>
<description homepage="http://asm.objectweb.org/">A very small and fast Java bytecode manipulation framework</description>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications/>
</ivy-module>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: List all files in the PR that are inside .gradle/ or .metadata/ directories

# Find all .gradle/ files
echo "Files in .gradle/ directory:"
fd -t f . .gradle/ 2>/dev/null || echo "No .gradle/ directory found"

echo -e "\nFiles in .metadata/ directories:"
fd -t f -H .metadata/ 2>/dev/null || echo "No .metadata/ directories found"

echo -e "\nChecking .gitignore for proper exclusions:"
if [ -f .gitignore ]; then
  echo "Current .gitignore content:"
  cat .gitignore
else
  echo ".gitignore not found"
fi

Repository: harangu/baritone

Length of output: 36237


Remove all .gradle/ cache files from this commit—they contradict the PR's stated objectives.

This file and hundreds of others from .gradle/caches/, .gradle/wrapper/, .gradle/daemon/, and other Gradle cache directories are transient build artifacts that should never be committed to version control. Despite .gitignore already containing a .gradle/ exclusion, these files are being added to the repository, which directly contradicts the PR's goal of "excluding gradle artifacts and IDE workspace data."

Required actions:

  • Remove all files under .gradle/ from this commit
  • Verify only .gitignore changes (if any) are included in this PR
  • Ensure the .gradle/ exclusion in .gitignore is present and active
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/org.ow2.asm/asm-parent/5.0.3/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 20, This commit accidentally includes transient Gradle cache
files (example: .gradle/caches/modules-2/.../ivy.xml) which must be removed;
remove all tracked files under .gradle/ from the commit (use git rm --cached or
remove and re-add), verify only intended .gitignore changes remain, ensure
.gitignore contains the ".gradle/" exclusion and is committed, and
re-stage/commit the PR so no files under .gradle/ are present in the changeset
(then push the cleaned branch).

Comment on lines +1 to +19
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven">
<info organisation="trove" module="trove" revision="1.0.2" status="release" publication="20260306060718">
<description homepage=""/>
</info>
<configurations>
<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
<conf name="provided" visibility="public" description="this is much like compile, but indicates you expect the JDK or a container to provide it. It is only available on the compilation classpath, and is not transitive."/>
<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
<conf name="system" visibility="public" description="this scope is similar to provided except that you have to provide the JAR which contains it explicitly. The artifact is always available and is not looked up in a repository."/>
<conf name="sources" visibility="public" description="this configuration contains the source artifact of this module, if any."/>
<conf name="javadoc" visibility="public" description="this configuration contains the javadoc artifact of this module, if any."/>
<conf name="optional" visibility="public" description="contains all optional dependencies"/>
</configurations>
<publications/>
</ivy-module>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

Do not commit Gradle cache files to version control.

This file is a Gradle dependency cache artifact that should never be committed. The PR description states the goal is to "exclude gradle artifacts" by adding .gradle/ to .gitignore, yet this PR is adding files inside .gradle/caches/.

These Ivy descriptors are:

  • Auto-generated during local dependency resolution
  • Contain machine-specific publication timestamps (line 3: publication="20260306060718")
  • Not portable across developer environments
  • Will cause repository bloat and merge conflicts

Action required: Remove all files under .gradle/ from this PR and ensure .gradle/ is properly listed in .gitignore.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/caches/modules-2/metadata-2.14/descriptors/trove/trove/1.0.2/4471c3b2f5ea2d40ffaa8b3948cdbacd/ivy.xml
around lines 1 - 19, This PR mistakenly includes Gradle cache artifacts (the
ivy-module under .gradle/caches/... with publication="20260306060718") which
must be removed; remove all files under .gradle/ from the commit/PR, add the
.gradle/ directory to .gitignore, and update the branch so those files are no
longer tracked (unstage/remove from git history in this branch) before pushing;
ensure no other auto-generated Ivy descriptors or cache files remain in the
diff.

Comment on lines +1 to +3
Release Notes - Gradle - Version 2.3

See http://wiki.gradle.org/display/GRADLE/Gradle+2.3+Release+Notes
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

This file contradicts the PR objective and should not be committed.

The PR description states it introduces ignores for .gradle/ paths, yet this file resides inside .gradle/. The .gradle/ directory contains transient build cache and wrapper distribution artifacts that are auto-downloaded and should never be version controlled. This file, along with all other .gradle/ contents in this PR, should be removed and properly ignored via .gitignore.

,

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In
@.gradle/wrapper/dists/gradle-2.3-bin/a48v6zq5mdp1uyn9rwlj56945/gradle-2.3/changelog.txt
around lines 1 - 3, This file under .gradle/ must be removed from the commit and
the repository and the .gradle/ directory must be added to the ignore rules:
remove changelog.txt (and any other .gradle/* entries) from the commit and
repository history (unstage/remove and delete from tree), add a .gradle/ entry
to .gitignore (or ensure it exists), and commit the updated .gitignore so future
.gradle artifacts are not tracked; check for other .gradle files in the diff
(the .gradle/ path shown) and repeat the removal for them as well.

@harangu harangu closed this Mar 7, 2026
@harangu harangu force-pushed the kilocode/cleanup branch from 0acf1a3 to d3c170a Compare March 7, 2026 06:33
@harangu harangu deleted the kilocode/cleanup branch March 7, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant