In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "use of maven agent warehouse", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "the use of maven agent warehouse" bar!
Agent's warehouse list warehouse name the agent source address uses the address central https://repo1.maven.org/maven2/https://maven.aliyun.com/repository/central or https://maven.aliyun.com/nexus/content/repositories/centraljcenterhttp://jcenter.bintray.com/https://maven.aliyun.com/repository/jcenter or the aggregate warehouse https://maven.aliyun.com of https://maven.aliyun.com/nexus/content/repositories/jcenterpubliccentral and jcenter positions / repository/public or https://maven.aliyun.com/nexus/content/groups/publicgooglehttps://maven.google.com/https://maven.aliyun.com/repository/google or https://maven.aliyun.com/nexus/content/repositories/googlegradle-pluginhttps://plugins.gradle.org/m2/https://maven.aliyun.com/repository/gradle-plugin or https://maven.aliyun.com/nexus/content/repositories/gradle-pluginspringhttp://repo.spring.io/libs -milestone/ https://maven.aliyun.com/repository/spring or https://maven.aliyun.com/nexus/content/repositories/springspring-pluginhttp://repo.spring.io/plugins-release/https://maven.aliyun.com/repository/spring-plugin or https://maven.aliyun.com/nexus/content/repositories/spring-plugingrails-corehttps://repo.grails.org/grails/corehttps://maven.aliyun.com/repository/grails-core or https://maven.aliyun .com/nexus/content/repositories/grails-coreapache snapshots https://repository.apache.org/snapshots/https://maven.aliyun.com/repository/apache-snapshots or https://maven.aliyun.com/nexus/content/repositories/apache-snapshots configuration guide maven configuration guide
Open the configuration file of maven (the windows machine is usually located in the conf/settings.xml of the maven installation directory), and add the mirror child node to the label:
Aliyunmaven * Aliyun Public Warehouse https://maven.aliyun.com/repository/public
If you want to use other proxy repositories, you can add the corresponding warehouse usage address in the node. Take the use of spring proxy warehouse as an example:
Spring https://maven.aliyun.com/repository/spring true true gradle configuration Guid
Add the following code to the build.gradle file:
Allprojects {repositories {maven {url 'https://maven.aliyun.com/repository/public/'} mavenLocal () mavenCentral ()}
If you want to use other proxy repositories provided by maven.aliyun.com, take spring repositories as an example, the code is as follows:
AllProjects {repositories {url 'https://maven.aliyun.com/repository/public/'} maven {url' https://maven.aliyun.com/repository/spring/'} mavenLocal () mavenCentral ()}} Thank you for reading. This is the content of "how to use maven Agent Warehouse". After studying this article, I believe that you have a deeper understanding of the use of maven agent warehouse, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.