If you make use of the Maven build tool for your Java project, you can set the Maven Central Repository in your pom.xml file by simply adding the repository tag with URL https://repo.maven.apache.org/maven2/
Example:
<project>
...
...
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2/</url>
</repository>
</repositories>
...
...
</project>

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to HowTos,
- How to replace with space
- Create Duplicate Line Visual Studio Code (above or below) Example
- Health Status Page for OpenAI ChatGPT or GPT 4
- How to add password to pdf file for opening, editing, printing, copying
- Turn off Focus Mode on Mac
- How to enter Rockstar Activation Code?
- How to Whitelist IP Address on GoDaddy Hosting?
- [Error] zsh: command not found: mvn
- Accept Only 0-9 Numbers RegEx Example
- Add X days from today in Command Line
- Installing Visual Studio Code on Raspberry Pi
- How to get an embed code from Vimeo?
- [fix] Editor could not be opened unexpected error: File is a directory (VS Code)
- How to remove JetBrains Toolbox from Mac Startup
- Setting up RSS feeds notifications within Outlook
- Understanding grep command and its usage [Unix/Linux/macOS/Windows-Bash]
- SQL: Check if table exists
- How to Search Maven Central Repository
- The default username and password for RabbitMQ
- How to install Postman natively on a Mac
- How to remove password from pdf file
- Fix NVIDIA GeForce Experience ERROR CODE 0x0003
- [Fix] Steam Friends Network Unreachable Error
- How to install node on macOS Ventura/Sonoma
- CentOS Cannot find a valid baseurl for repo base7x86_64 yum
More Posts:
- Java 8 Predicate default and() function Example - Java
- StringJoiner Example with Java Collections - Java
- Java 8: Steam map with Code Examples - Java
- Get Current time in GMT/UTC using JavaScript - JavaScript
- How to display hidden files in Eclipse (dot prefixed files) - Eclipse
- Installing MongoDB on Linux/Unix/macOS/Ubuntu - MacOS
- How to Change AWS Default Region using CLI - AWS
- Android SecurityException: Need BLUETOOTH ADMIN permissicacheNameAndAddresson: Neither user 10123 nor current process has android.permission.BLUETOOTH_ADMIN - Android