当前位置: 首页 > news >正文

做网站需要哪些软件一站式海外推广平台

做网站需要哪些软件,一站式海外推广平台,一个空间怎么放两个网站吗,网站正在建设中英语怎么说文章目录 1. 配置maven的settings.xml文件1.1. 先把镜像mirror配置好1.2. 再把仓库配置好 2. 在idea中引用3. 参考资料 网上配置maven国内镜像的文章很多,为什么选择我,原因是:一次配置得永生、仓库覆盖广、仓库覆盖全面、作者自用的配置。 1…

文章目录

  • 1. 配置maven的settings.xml文件
    • 1.1. 先把镜像mirror配置好
    • 1.2. 再把仓库配置好
  • 2. 在idea中引用
  • 3. 参考资料

网上配置maven国内镜像的文章很多,为什么选择我,原因是:一次配置得永生、仓库覆盖广、仓库覆盖全面、作者自用的配置。

1. 配置maven的settings.xml文件

1.1. 先把镜像mirror配置好

复制就完事了

<mirrors><mirror><id>aliyun-central</id><!-- 一定不能用*,否则所有的都会被拦截,哪怕在这个仓库找不到依赖 --><mirrorOf>central</mirrorOf><name>aliyun central</name><url>https://maven.aliyun.com/repository/central</url></mirror><mirror><id>repo1</id><mirrorOf>central</mirrorOf><name>Human Readable Name for this Mirror.</name><url>http://repo1.maven.org/maven2/</url></mirror><mirror><id>repo2</id><mirrorOf>central</mirrorOf><name>Human Readable Name for this Mirror.</name><url>http://repo2.maven.org/maven2/</url></mirror>
</mirrors>

1.2. 再把仓库配置好

复制就完事了

    <profile><!-- 默认的项目编译环境 --><id>jdk1.8</id><activation><activeByDefault>true</activeByDefault><jdk>1.8</jdk></activation><properties><maven.compiler.source>1.8</maven.compiler.source><maven.compiler.target>1.8</maven.compiler.target><maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion></properties><!-- 所有的镜像仓库 --><repositories><repository><id>aliyun-public</id><name>aliyun public</name><url>https://maven.aliyun.com/repository/public</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-spring</id><name>aliyun spring</name><url>https://maven.aliyun.com/repository/spring</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-spring-plugin</id><name>aliyun spring-plugin</name><url>https://maven.aliyun.com/repository/spring-plugin</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-apache-snapshots</id><name>aliyun apache-snapshots</name><url>https://maven.aliyun.com/repository/apache-snapshots</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-google</id><name>aliyun google</name><url>https://maven.aliyun.com/repository/google</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-gradle-plugin</id><name>aliyun gradle-plugin</name><url>https://maven.aliyun.com/repository/gradle-plugin</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-jcenter</id><name>aliyun jcenter</name><url>https://maven.aliyun.com/repository/jcenter</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-releases</id><name>aliyun releases</name><url>https://maven.aliyun.com/repository/releases</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-snapshots</id><name>aliyun snapshots</name><url>https://maven.aliyun.com/repository/snapshots</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-grails-core</id><name>aliyun grails-core</name><url>https://maven.aliyun.com/repository/grails-core</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository><repository><id>aliyun-mapr-public</id><name>aliyun mapr-public</name><url>https://maven.aliyun.com/repository/mapr-public</url><releases><enabled>true</enabled></releases><snapshots><enabled>true</enabled></snapshots></repository></repositories></profile>

2. 在idea中引用

如下图在框框处引用你自己的maven本地地址,点击应用点击OK。然后重新刷新您的maven项目看看是不是在下载jar包。

3. 参考资料

idea不自动生成target

Maven配置国内镜像

http://www.tj-hxxt.cn/news/110821.html

相关文章:

  • 网站开发后台 amp深圳关键词推广
  • 网站后台用户名密码怎么优化标题和关键词排名
  • 建设企业网站公司机构官网怎么做网站排名
  • 智能建站设计包括哪些内容
  • php手机网站开发seo营销网站的设计标准
  • 专业的企业网站制作阿里巴巴国际站关键词推广
  • 签合网站是哪个好百度软件
  • 做别人的网站诈骗视频下载跨境电商网站开发
  • 成人高考准考证打印网站今日中国新闻
  • 基于web的新闻发布系统公司官网优化方案
  • 做推文的编辑网站网络推广有哪些常见的推广方法
  • 基层政府门户网站建设的问题网站运维
  • 怎么判断网站有没有做百度商桥关键词搜索查询
  • 成都网站制作培训网络媒体
  • 广州seo网站比百度好用的搜索引擎
  • 天津网站在哪里建设推广普通话奋进新征程
  • 网站挂马解决广东网站关键词排名
  • 做外贸一般在哪个网站宁波网站推广排名
  • 服务器重启 iis网站暂停友情链接官网
  • 微官网站怎么做百度怎么发布广告
  • 石家庄智能模板建站网络广告投放渠道有哪些
  • 网站运营管理办法免费文件外链网站
  • 做网站界面seo模板建站
  • 郑州网站推广营销seo辅助工具
  • 品牌创意型网站建设登录百度app
  • 网站首页制作教程视频西安网站制作公司
  • 长沙网站建设公司哪家好百度优化排名软件
  • 邢台企业做网站哪儿好网络营销案例分析报告
  • python做网站guthub友情链接可以随便找链接加吗
  • 企业网站建设的作用渠道网官网