Visitar URL original
Added jarRepositories.xml as an optional ignore by davidkron · Pull Request #3254 · github/gitignore · GitHub
The Wayback Machine - https://web.archive.org/web/20201224082733/https://github.com/github/gitignore/pull/3254
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added jarRepositories.xml as an optional ignore #3254

Merged
merged 1 commit into from Dec 6, 2019

Conversation

@davidkron
Copy link
Contributor

@davidkron davidkron commented Dec 4, 2019

Since IntelliJ 2019.3 this file appeared automatically in our git changes. It seems these are just cached information about remote repositories that are defined in Maven/Gradle.

Reasons for making this change:
In a Maven/Gradle build, automatically generated files should should not be commited.

Links to documentation supporting these rule changes:
I haven't found a documentation or article about this file, but I'm basing my assumption on the following steps:

  • in IntelliJ the "Remote Jar Repositories" can be managed in the Settings menu
  • I deleted every entry in the list -> file disappeared
  • I re-imported the Maven/Gradle project again
  • the file appeared again with the same entries present as before
Since IntelliJ 2019.3 this file appeared in our git changes. It seems these are just cached information about remote repositories that are defined in Maven/Gradle.
Copy link
Member

@shiftkey shiftkey left a comment

@davidkron thanks!

@shiftkey shiftkey merged commit 21e9f06 into github:master Dec 6, 2019
@davidkron davidkron deleted the davidkron:patch-1 branch Dec 6, 2019
tokuhira added a commit to tokuhira/gitignore that referenced this pull request Dec 16, 2019
Since IntelliJ 2019.3 this file appeared in our git changes. It seems these are just cached information about remote repositories that are defined in Maven/Gradle.
HillelCoates added a commit to FIRST1778/freezylib that referenced this pull request Dec 29, 2019
EffingFancy added a commit to EffingFancy/gitignore that referenced this pull request Feb 23, 2020
Since IntelliJ 2019.3 this file appeared in our git changes. It seems these are just cached information about remote repositories that are defined in Maven/Gradle.
r2pgl added a commit to r2pgl/gitignore that referenced this pull request Mar 15, 2020
Since IntelliJ 2019.3 this file appeared in our git changes. It seems these are just cached information about remote repositories that are defined in Maven/Gradle.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.