maven 配置阿里云仓库与公司私服

maven 配置阿里云仓库与公司私服简述 maven 公司私服与阿里云的配置 profiles profile id maven release id repositories 公司私服 repositories profile profile id maven snapshot id profile profiles

简述

maven公司私服与阿里云的配置。

 <profiles> <profile> <id>maven-release</id> <repositories> <!-- 公司私服 --> </repositories> </profile> <profile> <id>maven-snapshot</id> <repositories> <!-- 公司私服 --> </repositories> </profile> <profile> <id>aliyun</id> <repositories> <!-- 外网仓库,用国内阿里仓库 --> <repository> <id>central</id> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>central</id> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> </pluginRepository> </pluginRepositories> </profile> <profile> <id>jdk-1.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> </profile> </profiles> <!-- activeProfiles | List of profiles that are active for all builds. | --> <activeProfiles> <activeProfile>maven-release</activeProfile> <activeProfile>maven-snapshot</activeProfile> <activeProfile>aliyun</activeProfile> </activeProfiles> 
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/213347.html原文链接:https://javaforall.net

(0)
上一篇 2026年3月18日 下午6:02
下一篇 2026年3月18日 下午6:02


相关推荐

  • 安全且高效!360推出国内首个“安全龙虾”智能体

    安全且高效!360推出国内首个“安全龙虾”智能体

    2026年3月16日
    3
  • libiconv移植

    libiconv移植简介 iconv 命令可以将一种已知的字符集文件转换成另一种已知的字符集文件 它的作用是在多种国际编码格式之间进行文本内码的转换 移植 libiconv 下载地址 解压并进入目录 tarxzflibico 1 16 tar gzcdlibiconv 1 16 配置 mkdirout dir configurepre pwd out dirhost arm linux gnueabihfmak amp amp makeinstall 将 ou

    2026年3月17日
    2
  • 整除的尾数_整除数

    整除的尾数_整除数整除的尾数时间限制:1000 ms | 内存限制:65535 KB难度:0描述一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那么该数的末二位该是什么呢?输入输入数据有若干组,每组数据包含二个整数a,b(0输出对应每组数据,将满足条件的所有尾数在一行内输出,格式见样本输出。同组数据的输出,其每个尾数之间空一格,行末没有空格。样例输入

    2025年5月24日
    3
  • kali linux 云服务器,云服务器安装kali linux

    kali linux 云服务器,云服务器安装kali linux前言在网上可以搜索到2种在腾讯云服务器上安装kali系统的方法:第一种方法:通过挂载云硬盘到云服务器上,将kali镜像刻录到挂载的云硬盘中,利用VNC可视化安装kali系统;查看详情第二种方法:在本地搭建好kali虚拟机环境,然后通过制作符合腾讯云的kali镜像上传到腾讯云对象存储桶,利用重置系统自定义镜像功能进行安装kali;查看详情以上两中方法博主都尝试过,第一种方法安装成功过一次,而…

    2022年5月10日
    47
  • 设计模式之享元(flyweight)模式

    现在在大力推行节约型社会,“浪费可耻,节俭光荣”。在软件系统中,有时候也会存在资源浪费的情况,例如,在计算机内存中存储了多个完全相同或者非常相似的对象,如果这些对象的数量太多将导致系统运行代价过高。那

    2021年12月28日
    53
  • 国外优秀JAVA技术网站推荐[通俗易懂]

    国外优秀JAVA技术网站推荐[通俗易懂]1.http://blog.adam-bien.com/AdamBien的个人博客,主要是Java&amp;JavaEE相关。2.http://techblog.bozho.net/Java,Android,WEB相关3.http://www.captaindebug.com/Java,Spring,Weblogic,Oracle,MySQL等。4.http…

    2022年8月23日
    6

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号